IBR-DTNSuite
0.8
|
#include <StandByManager.h>
Public Member Functions | |
StandByManager () | |
virtual | ~StandByManager () |
void | adopt (Component *c) |
virtual void | raiseEvent (const dtn::core::Event *evt) |
virtual void | componentUp () |
virtual void | componentDown () |
virtual const std::string | getName () const |
Definition at line 18 of file StandByManager.h.
Definition at line 16 of file StandByManager.cpp.
dtn::daemon::StandByManager::~StandByManager | ( | ) | [virtual] |
Definition at line 21 of file StandByManager.cpp.
void dtn::daemon::StandByManager::adopt | ( | Component * | c | ) |
Definition at line 25 of file StandByManager.cpp.
References dtn::daemon::Component::getName(), IBRCOMMON_LOGGER, and IBRCOMMON_LOGGER_ENDL.
Referenced by __daemon_run(), and createConvergenceLayers().
void dtn::daemon::StandByManager::componentDown | ( | ) | [virtual] |
Implements dtn::daemon::IntegratedComponent.
Definition at line 96 of file StandByManager.cpp.
References dtn::core::GlobalEvent::className, and dtn::core::EventReceiver::unbindEvent().
void dtn::daemon::StandByManager::componentUp | ( | ) | [virtual] |
Implements dtn::daemon::IntegratedComponent.
Definition at line 90 of file StandByManager.cpp.
References dtn::core::EventReceiver::bindEvent(), and dtn::core::GlobalEvent::className.
const std::string dtn::daemon::StandByManager::getName | ( | ) | const [virtual] |
Return an identifier for this component
Implements dtn::daemon::Component.
Definition at line 102 of file StandByManager.cpp.
void dtn::daemon::StandByManager::raiseEvent | ( | const dtn::core::Event * | evt | ) | [virtual] |
Implements dtn::core::EventReceiver.
Definition at line 33 of file StandByManager.cpp.
References dtn::core::GlobalEvent::getAction(), dtn::core::GlobalEvent::GLOBAL_SUSPEND, and dtn::core::GlobalEvent::GLOBAL_WAKEUP.