EMANE  1.2.1
EMANE::PHYLayerFactory Class Reference

#include <phylayerfactory.h>

Public Member Functions

 PHYLayerFactory (const std::string &sLibraryName)
 
 ~PHYLayerFactory ()
 
PHYLayerImplementorcreateLayer (NEMId nemId, PlatformServiceProvider *pPlatformServiceProvider) const
 
void destoryLayer (PHYLayerImplementor *layer) const
 

Detailed Description

Definition at line 51 of file phylayerfactory.h.

Constructor & Destructor Documentation

◆ PHYLayerFactory()

EMANE::PHYLayerFactory::PHYLayerFactory ( const std::string &  sLibraryName)

Constructor

Parameters
sLibraryNameFilename of DLL
Exceptions
Utils::FactoryException

Definition at line 38 of file phylayerfactory.cc.

◆ ~PHYLayerFactory()

EMANE::PHYLayerFactory::~PHYLayerFactory ( )

Definition at line 63 of file phylayerfactory.cc.

Member Function Documentation

◆ createLayer()

EMANE::PHYLayerImplementor * EMANE::PHYLayerFactory::createLayer ( NEMId  nemId,
PlatformServiceProvider pPlatformServiceProvider 
) const

Create a PHYLayerImplementor layer

Parameters
nemIdNEM id
pPlatformServiceProviderplatform service
Returns
PHYLayerImplementor reference to newly created layer

Definition at line 68 of file phylayerfactory.cc.

◆ destoryLayer()

void EMANE::PHYLayerFactory::destoryLayer ( PHYLayerImplementor layer) const

Destory a PHYLayerImplementor layer

Parameters
layerLayer to destory

Definition at line 73 of file phylayerfactory.cc.


The documentation for this class was generated from the following files: