dtn::core::GlobalEvent Class Reference

#include <GlobalEvent.h>

Inheritance diagram for dtn::core::GlobalEvent:
dtn::core::Event

List of all members.

Public Types

enum  Action { GLOBAL_SHUTDOWN = 0, GLOBAL_RELOAD = 1 }

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"

Detailed Description

Definition at line 17 of file GlobalEvent.h.


Member Enumeration Documentation

Enumerator:
GLOBAL_SHUTDOWN 
GLOBAL_RELOAD 

Definition at line 20 of file GlobalEvent.h.


Constructor & Destructor Documentation

dtn::core::GlobalEvent::~GlobalEvent (  )  [virtual]

Definition at line 21 of file GlobalEvent.cpp.


Member Function Documentation

GlobalEvent::Action dtn::core::GlobalEvent::getAction (  )  const

Definition at line 25 of file GlobalEvent.cpp.

Referenced by dtn::core::EventSwitch::loop().

const string dtn::core::GlobalEvent::getName (  )  const [virtual]

Implements dtn::core::Event.

Definition at line 30 of file GlobalEvent.cpp.

References className.

void dtn::core::GlobalEvent::raise ( const Action  a  )  [static]

Definition at line 35 of file GlobalEvent.cpp.

References dtn::core::Event::raiseEvent().

Referenced by main(), reload(), and term().

string dtn::core::GlobalEvent::toString (  )  const [virtual]

Implements dtn::core::Event.

Definition at line 41 of file GlobalEvent.cpp.

References className.


Member Data Documentation

const string dtn::core::GlobalEvent::className = "GlobalEvent" [static]

The documentation for this class was generated from the following files:
Generated on Mon Aug 23 08:12:58 2010 for IBR-DTNSuite by  doxygen 1.6.3