EMANE
1.2.1
|
Factory for creating Transports. The factory manages the DLL allowing for the creation of multiple transports. It does not appear obvious why we would expaind functionality to include multiple transports for a single NEM... More...
#include <transportfactory.h>
Public Member Functions | |
TransportFactory (const std::string &sLibraryName) | |
~TransportFactory () | |
Transport * | createTransport (NEMId nemId, PlatformServiceProvider *pPlatformService) const |
void | destoryTransport (Transport *pTransport) const |
Factory for creating Transports. The factory manages the DLL allowing for the creation of multiple transports. It does not appear obvious why we would expaind functionality to include multiple transports for a single NEM...
Definition at line 53 of file transportfactory.h.
EMANE::TransportFactory::TransportFactory | ( | const std::string & | sLibraryName | ) |
Constructor
sLibraryName | Filename of DLL |
Utils::FactoryException |
Definition at line 37 of file transportfactory.cc.
EMANE::TransportFactory::~TransportFactory | ( | ) |
Definition at line 64 of file transportfactory.cc.
EMANE::Transport * EMANE::TransportFactory::createTransport | ( | NEMId | nemId, |
PlatformServiceProvider * | pPlatformService | ||
) | const |
Create an Transport
nemId | the NEMId |
pPlatformService | pointer to the PlatformServiceProvider |
Definition at line 69 of file transportfactory.cc.
void EMANE::TransportFactory::destoryTransport | ( | Transport * | pTransport | ) | const |
Destory an Transport
pTransport | Reference to Transport |
Definition at line 74 of file transportfactory.cc.