EMANE
1.2.1
|
Implementation of the Network emulation module consisting of NEM components, OTA Adapater and network adapter. More...
#include <nemimpl.h>
Public Member Functions | |
NEMImpl (NEMId id, std::unique_ptr< NEMLayerStack > &pNEMLayerStack, bool bExternalTransport) | |
~NEMImpl () | |
void | initialize (Registrar ®istrar) override |
void | configure (const ConfigurationUpdate &update) override |
void | start () override |
void | postStart () override |
void | stop () override |
void | destroy () override throw () |
NEMId | getNEMId () const override |
BuildId | getBuildId () const |
void | setBuildId (BuildId bid) |
Implementation of the Network emulation module consisting of NEM components, OTA Adapater and network adapter.
EMANE::Application::NEMImpl::NEMImpl | ( | NEMId | id, |
std::unique_ptr< NEMLayerStack > & | pNEMLayerStack, | ||
bool | bExternalTransport | ||
) |
Constructor
id | NEMid of this NEM |
pNEMLayerStack | pointer to a NEMLayerStack to contain in this NEM |
bExternalTransport | Flag inficating use of external transport |
Definition at line 43 of file nemimpl.cc.
EMANE::Application::NEMImpl::~NEMImpl | ( | ) |
Definition at line 55 of file nemimpl.cc.
|
overridevirtual |
Configure the component.
update | Configuration update values |
ConfigureException | thrown when a unexpected configuration item is encountered or there is a problem with the specified item value |
Implements EMANE::Component.
Definition at line 86 of file nemimpl.cc.
|
overridevirtual |
|
inlineinherited |
Gets the application wide unique BuildId of this object.
Definition at line 34 of file buildable.inl.
|
overridevirtual |
Get the NEM's NEMId
Implements EMANE::Application::NEM.
Definition at line 179 of file nemimpl.cc.
|
overridevirtual |
Initialize the component.
InitializeException | thrown when an error is encountered during initialization |
Implements EMANE::Component.
Definition at line 57 of file nemimpl.cc.
|
overridevirtual |
Hook to run any post start functionaililty. Called after all the components have been started.
Reimplemented from EMANE::Component.
Definition at line 156 of file nemimpl.cc.
|
inlineinherited |
Sets the application wide unique BuildId of this object. Builders assign a BuildId to objects at instantiation.
bid | the BuildId |
Definition at line 40 of file buildable.inl.
|
overridevirtual |
Start the component.
StartException | thrown when an error is encountered during start. |
Implements EMANE::Component.
Definition at line 135 of file nemimpl.cc.
|
overridevirtual |
Stop the component.
StopException | thrown when an error is encountered during stop |
Implements EMANE::Component.
Definition at line 161 of file nemimpl.cc.