IBR-DTNSuite
0.8
|
#include <Event.h>
Public Member Functions | |
virtual | ~Event ()=0 |
virtual const std::string | getName () const =0 |
virtual std::string | toString () const =0 |
void | set_ref_count (size_t c) |
bool | decrement_ref_count () |
Public Attributes | |
const int | prio |
Protected Member Functions | |
Event (int prio=0) | |
Static Protected Member Functions | |
static void | raiseEvent (Event *evt, bool block_until_processed=false) |
dtn::core::Event::~Event | ( | ) | [pure virtual] |
dtn::core::Event::Event | ( | int | prio = 0 | ) | [protected] |
Definition at line 48 of file Event.cpp.
References ibrcommon::Conditional::signal().
Referenced by dtn::core::EventSwitch::raiseEvent().
virtual const std::string dtn::core::Event::getName | ( | ) | const [pure virtual] |
Implemented in dtn::core::BundleEvent, dtn::core::CustodyEvent, dtn::core::NodeEvent, dtn::net::TransferAbortedEvent, dtn::security::CertificateManagerInitEvent, dtn::core::GlobalEvent, dtn::net::ConnectionEvent, dtn::routing::StaticRouteChangeEvent, dtn::core::TimeEvent, dtn::routing::NodeHandshakeEvent, dtn::core::BundleExpiredEvent, dtn::routing::QueueBundleEvent, dtn::core::BundlePurgeEvent, dtn::net::BundleReceivedEvent, dtn::net::TransferCompletedEvent, dtn::routing::RequeueBundleEvent, and dtn::core::BundleGeneratedEvent.
Referenced by dtn::core::EventDebugger::raiseEvent(), dtn::security::TLSStreamComponent::raiseEvent(), and dtn::core::EventSwitch::raiseEvent().
void dtn::core::Event::raiseEvent | ( | Event * | evt, |
bool | block_until_processed = false |
||
) | [static, protected] |
Definition at line 19 of file Event.cpp.
References ibrcommon::Conditional::wait().
Referenced by dtn::core::BundleGeneratedEvent::raise(), dtn::core::BundlePurgeEvent::raise(), dtn::net::BundleReceivedEvent::raise(), dtn::net::TransferCompletedEvent::raise(), dtn::routing::RequeueBundleEvent::raise(), dtn::core::BundleExpiredEvent::raise(), dtn::core::TimeEvent::raise(), dtn::core::GlobalEvent::raise(), dtn::net::ConnectionEvent::raise(), dtn::core::CustodyEvent::raise(), dtn::net::TransferAbortedEvent::raise(), dtn::core::BundleEvent::raise(), and dtn::security::CertificateManagerInitEvent::raise().
void dtn::core::Event::set_ref_count | ( | size_t | c | ) |
Definition at line 42 of file Event.cpp.
Referenced by dtn::core::EventSwitch::raiseEvent().
virtual std::string dtn::core::Event::toString | ( | ) | const [pure virtual] |
Implemented in dtn::core::BundleEvent, dtn::core::GlobalEvent, dtn::core::CustodyEvent, dtn::core::NodeEvent, dtn::net::TransferAbortedEvent, dtn::security::CertificateManagerInitEvent, dtn::core::TimeEvent, dtn::net::ConnectionEvent, dtn::routing::StaticRouteChangeEvent, dtn::routing::NodeHandshakeEvent, dtn::core::BundleExpiredEvent, dtn::routing::QueueBundleEvent, dtn::net::BundleReceivedEvent, dtn::net::TransferCompletedEvent, dtn::routing::RequeueBundleEvent, dtn::core::BundleGeneratedEvent, and dtn::core::BundlePurgeEvent.
Referenced by dtn::core::EventDebugger::raiseEvent().
const int dtn::core::Event::prio |
Definition at line 30 of file Event.h.
Referenced by dtn::core::EventSwitch::raiseEvent().