|
EMANE
1.2.1
|
A stack of NEM layers. Allows ownership and connection of NEM layers in a non layer specific manner. More...
#include <nemlayerstack.h>
Public Member Functions | |
| NEMLayerStack () | |
| ~NEMLayerStack () | |
| void | connectLayers (UpstreamTransport *pUpstreamTransport, DownstreamTransport *pDownstreamTransport) |
| void | addLayer (std::unique_ptr< NEMLayer > &pNEMLayer) |
| void | initialize (Registrar ®istrar) override |
| void | configure (const ConfigurationUpdate &items) override |
| void | start () override |
| void | postStart () override |
| void | stop () override |
| void | destroy () override throw () |
A stack of NEM layers. Allows ownership and connection of NEM layers in a non layer specific manner.
Definition at line 51 of file nemlayerstack.h.
| EMANE::NEMLayerStack::NEMLayerStack | ( | ) |
Definition at line 36 of file nemlayerstack.cc.
| EMANE::NEMLayerStack::~NEMLayerStack | ( | ) |
Definition at line 38 of file nemlayerstack.cc.
| void EMANE::NEMLayerStack::addLayer | ( | std::unique_ptr< NEMLayer > & | pNEMLayer | ) |
|
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 82 of file nemlayerstack.cc.
| void EMANE::NEMLayerStack::connectLayers | ( | UpstreamTransport * | pUpstreamTransport, |
| DownstreamTransport * | pDownstreamTransport | ||
| ) |
Connect contained NEM layers
| pUpstreamTransport | Reference to upstream transport |
| pDownstreamTransport | Reference to downstream transport |
Definition at line 41 of file nemlayerstack.cc.
|
overridevirtual | |||||||||||||
Destroy the component.
Implements EMANE::Component.
Definition at line 106 of file nemlayerstack.cc.
|
overridevirtual |
Initialize the component.
| InitializeException | thrown when an error is encountered during initialization |
Implements EMANE::Component.
Definition at line 78 of file nemlayerstack.cc.
|
overridevirtual |
Hook to run any post start functionaililty. Called after all the components have been started.
Reimplemented from EMANE::Component.
Definition at line 92 of file nemlayerstack.cc.
|
overridevirtual |
Start the component.
| StartException | thrown when an error is encountered during start. |
Implements EMANE::Component.
Definition at line 85 of file nemlayerstack.cc.
|
overridevirtual |
Stop the component.
| StopException | thrown when an error is encountered during stop |
Implements EMANE::Component.
Definition at line 99 of file nemlayerstack.cc.