Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes

dtn::core::GlobalEvent Class Reference

#include <GlobalEvent.h>

Inherits dtn::core::Event.

Collaboration diagram for dtn::core::GlobalEvent:
Collaboration graph
[legend]

List of all members.

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"

Detailed Description

Definition at line 17 of file GlobalEvent.h.


Member Enumeration Documentation

Enumerator:
GLOBAL_SHUTDOWN 
GLOBAL_RELOAD 
GLOBAL_IDLE 
GLOBAL_BUSY 

Definition at line 20 of file GlobalEvent.h.


Constructor & Destructor Documentation

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

Definition at line 20 of file GlobalEvent.cpp.


Member Function Documentation

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

Implements dtn::core::Event.

Definition at line 29 of file GlobalEvent.cpp.

References className.

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

Definition at line 34 of file GlobalEvent.cpp.

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

Referenced by main(), and sighandler().

Here is the call graph for this function:

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

Implements dtn::core::Event.

Definition at line 40 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: