EMANE
1.2.1
|
Factory for creating T layers . The factory manages the DLL allowing for the creation of layers of the same type. More...
#include <layerfactory.h>
Public Member Functions | |
LayerFactory (const std::string &sLibraryName) | |
~LayerFactory () | |
T * | createLayer (NEMId nemId, PlatformServiceProvider *pPlatformService, RadioServiceProvider *pRadioServiceProvider) const |
void | destoryLayer (T *layer) const |
Factory for creating T layers . The factory manages the DLL allowing for the creation of layers of the same type.
Factory for creating PHYLayerImplementor layers . The factory manages the DLL allowing for the creation of layers of the same type.
Definition at line 53 of file layerfactory.h.
EMANE::LayerFactory< T >::LayerFactory | ( | const std::string & | sLibraryName | ) |
Constructor
sLibraryName | Filename of DLL |
Utils::FactoryException |
Definition at line 39 of file layerfactory.inl.
EMANE::LayerFactory< T >::~LayerFactory | ( | ) |
Definition at line 65 of file layerfactory.inl.
T * EMANE::LayerFactory< T >::createLayer | ( | NEMId | nemId, |
PlatformServiceProvider * | pPlatformService, | ||
RadioServiceProvider * | pRadioServiceProvider | ||
) | const |
Create a T layer
nemId | NEM id |
pPlatformService | platform service |
pRadioServiceProvider | radio service |
Definition at line 71 of file layerfactory.inl.
void EMANE::LayerFactory< T >::destoryLayer | ( | T * | layer | ) | const |