|
EMANE
1.0.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 |
Definition at line 42 of file nemimpl.cc.
| EMANE::Application::NEMImpl::~NEMImpl | ( | ) |
Definition at line 54 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 76 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 152 of file nemimpl.cc.
|
overridevirtual |
Initialize the component.
| InitializeException | thrown when an error is encountered during initialization |
Implements EMANE::Component.
Definition at line 56 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 129 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 110 of file nemimpl.cc.
|
overridevirtual |
Stop the component.
| StopException | thrown when an error is encountered during stop |
Implements EMANE::Component.
Definition at line 134 of file nemimpl.cc.