|
IBR-DTNSuite 0.6
|
#include <GlobalEvent.h>


Public Types | |
| enum | Action { GLOBAL_SHUTDOWN = 0, GLOBAL_RELOAD = 1, GLOBAL_IDLE = 2, GLOBAL_BUSY = 3 } |
Public Member Functions | |
| virtual | ~GlobalEvent () |
| const std::string | getName () const |
| Action | getAction () const |
| std::string | toString () const |
Static Public Member Functions | |
| static void | raise (const Action a) |
Static Public Attributes | |
| static const std::string | className = "GlobalEvent" |
Definition at line 17 of file GlobalEvent.h.
Definition at line 20 of file GlobalEvent.h.
| dtn::core::GlobalEvent::~GlobalEvent | ( | ) | [virtual] |
Definition at line 20 of file GlobalEvent.cpp.
| GlobalEvent::Action dtn::core::GlobalEvent::getAction | ( | ) | const |
Definition at line 24 of file GlobalEvent.cpp.
Referenced by dtn::core::EventSwitch::loop(), and dtn::core::SQLiteBundleStorage::raiseEvent().
| const string dtn::core::GlobalEvent::getName | ( | ) | const [virtual] |
| void dtn::core::GlobalEvent::raise | ( | const Action | a | ) | [static] |
Definition at line 34 of file GlobalEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by __daemon_run(), and sighandler().

| string dtn::core::GlobalEvent::toString | ( | ) | const [virtual] |
const string dtn::core::GlobalEvent::className = "GlobalEvent" [static] |
Definition at line 38 of file GlobalEvent.h.
Referenced by dtn::core::SQLiteBundleStorage::componentDown(), dtn::core::SQLiteBundleStorage::componentUp(), getName(), and toString().