dtn::core::EventSwitch Class Reference

#include <EventSwitch.h>

Inheritance diagram for dtn::core::EventSwitch:

dtn::daemon::IntegratedComponent dtn::daemon::Component

List of all members.

Public Member Functions

void loop ()

Static Public Member Functions

static EventSwitchgetInstance ()

Protected Member Functions

virtual void componentUp ()
virtual void componentDown ()

Static Protected Member Functions

static void registerEventReceiver (string eventName, EventReceiver *receiver)
static void unregisterEventReceiver (string eventName, EventReceiver *receiver)
static void raiseEvent (Event *evt)

Friends

class Event
class EventReceiver


Detailed Description

Definition at line 43 of file EventSwitch.h.


Member Function Documentation

void dtn::core::EventSwitch::componentUp (  )  [protected, virtual]

Implements dtn::daemon::IntegratedComponent.

Definition at line 30 of file EventSwitch.cpp.

void dtn::core::EventSwitch::componentDown (  )  [protected, virtual]

void dtn::core::EventSwitch::registerEventReceiver ( string  eventName,
EventReceiver receiver 
) [static, protected]

Definition at line 109 of file EventSwitch.cpp.

References _list, _receiverlock, and getInstance().

Referenced by dtn::core::EventReceiver::bindEvent().

void dtn::core::EventSwitch::unregisterEventReceiver ( string  eventName,
EventReceiver receiver 
) [static, protected]

Definition at line 117 of file EventSwitch.cpp.

References _list, _receiverlock, and getInstance().

Referenced by dtn::core::EventReceiver::unbindEvent().

void dtn::core::EventSwitch::raiseEvent ( Event evt  )  [static, protected]

EventSwitch & dtn::core::EventSwitch::getInstance (  )  [static]

Definition at line 131 of file EventSwitch.cpp.

Referenced by main(), raiseEvent(), registerEventReceiver(), and unregisterEventReceiver().

void dtn::core::EventSwitch::loop (  ) 


Friends And Related Function Documentation

friend class Event [friend]

Definition at line 63 of file EventSwitch.h.

friend class EventReceiver [friend]

Definition at line 64 of file EventSwitch.h.


The documentation for this class was generated from the following files:

Generated on Fri Jul 30 09:15:34 2010 for IBR-DTNSuite by  doxygen 1.5.6