Component stopped state complete.
More...
#include <nemlayerstatedestroyed.h>
|
| ~NEMLayerStateDestroyed () |
|
virtual void | handleInitialize (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, Registrar ®istrar) |
|
virtual void | handleConfigure (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, const ConfigurationUpdate &update) |
|
virtual void | handleStart (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer) |
|
virtual void | handlePostStart (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer) |
|
virtual void | handleStop (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer) |
|
virtual void | handleDestroy (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer) throw () |
|
virtual void | processConfiguration (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, const ConfigurationUpdate &update) |
|
virtual void | processDownstreamControl (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, const ControlMessages &msgs) |
|
virtual void | processDownstreamPacket (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, DownstreamPacket &pkt, const ControlMessages &msgs) |
|
virtual void | processUpstreamPacket (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, UpstreamPacket &pkt, const ControlMessages &msgs) |
|
virtual void | processUpstreamControl (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, const ControlMessages &msgs) |
|
virtual void | processEvent (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, const EventId &id, const Serialization &serialization) |
|
virtual void | processTimedEvent (NEMStatefulLayer *pStatefulLayer, NEMLayer *pLayer, TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg) |
|
std::string | getStateName () const |
|
Component stopped state complete.
Definition at line 47 of file nemlayerstatedestroyed.h.
◆ ~NEMLayerStateDestroyed()
EMANE::NEMLayerStateDestroyed::~NEMLayerStateDestroyed |
( |
| ) |
|
◆ NEMLayerStateDestroyed()
EMANE::NEMLayerStateDestroyed::NEMLayerStateDestroyed |
( |
| ) |
|
|
protected |
◆ changeState()
◆ destroy()
Destroys the single instance of type T. Once destroyed it cannot be used or recreated. This is not a thread-safe method.
Definition at line 67 of file singleton.h.
◆ getStateName()
std::string EMANE::NEMLayerState::getStateName |
( |
| ) |
const |
|
inherited |
Get state name
- Returns
- state Name of current state
Definition at line 198 of file nemlayerstate.cc.
◆ handleConfigure()
◆ handleDestroy()
Handle destroy
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateStopped.
Definition at line 95 of file nemlayerstate.cc.
◆ handleInitialize()
Handle initialize
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
registrar | Registrar reference |
- Exceptions
-
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateUninitialized.
Definition at line 43 of file nemlayerstate.cc.
◆ handlePostStart()
Handle post start
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 75 of file nemlayerstate.cc.
◆ handleStart()
Handle start
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
- Exceptions
-
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateConfigured.
Definition at line 65 of file nemlayerstate.cc.
◆ handleStop()
Handle stop
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
- Exceptions
-
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 85 of file nemlayerstate.cc.
◆ instance()
Provides thread-safe access to a single instance of type T. It does not provide thread-safety for T methods.
- Returns
- A pointer to T
Definition at line 56 of file singleton.h.
◆ processConfiguration()
Process configuration update
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
update | Reference to the configuration update |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 106 of file nemlayerstate.cc.
◆ processDownstreamControl()
Process downstream control
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
msgs | Reference to the Control message |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 117 of file nemlayerstate.cc.
◆ processDownstreamPacket()
Process downstream packet
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
pkt | Reference to the Downstream packet |
msgs | reference to the ControlMessage |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 128 of file nemlayerstate.cc.
◆ processEvent()
Process event
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
id | Event Id |
serialization | Event object serialization |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 163 of file nemlayerstate.cc.
◆ processTimedEvent()
Process timed event
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
eventId | Identifier corresponding to the timer being processed |
expireTime | The time the timer was scheduled to expire |
scheduleTime | The Time the timer was scheduled |
fireTime | Time time The time the timer actually fired |
arg | Opaque timed event data |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 176 of file nemlayerstate.cc.
◆ processUpstreamControl()
Process upstream control
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
msgs | Reference to the Control message |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 152 of file nemlayerstate.cc.
◆ processUpstreamPacket()
Process downstream packet
- Parameters
-
pStatefulLayer | Reference to the stateful layer |
pLayer | Reference to the wrapped layer |
pkt | Reference to the Upstream packet |
msgs | reference to the ControlMessage |
- Note
- Default implementation generates a log error
Reimplemented in EMANE::NEMLayerStateRunning.
Definition at line 140 of file nemlayerstate.cc.
◆ pzStateName_
const char* EMANE::NEMLayerState::pzStateName_ |
|
protectedinherited |
The documentation for this class was generated from the following files: