IBR-DTNSuite
0.12
|
#include <BundleGeneratedEvent.h>
Public Member Functions | |
virtual | ~BundleGeneratedEvent () |
const string | getName () const |
std::string | getMessage () const |
const dtn::data::Bundle & | getBundle () const |
Public Member Functions inherited from dtn::core::Event | |
virtual | ~Event ()=0 |
virtual std::string | toString () const |
bool | isLoggable () const |
Static Public Member Functions | |
static void | raise (const dtn::data::Bundle &bundle) |
Static Public Attributes | |
static const string | className = "BundleGeneratedEvent" |
Additional Inherited Members | |
Public Attributes inherited from dtn::core::Event | |
const int | prio |
Protected Member Functions inherited from dtn::core::Event | |
Event (int prio=0) | |
void | setLoggable (bool val) |
Definition at line 32 of file BundleGeneratedEvent.h.
|
virtual |
Definition at line 38 of file BundleGeneratedEvent.cpp.
const dtn::data::Bundle & dtn::core::BundleGeneratedEvent::getBundle | ( | ) | const |
Definition at line 59 of file BundleGeneratedEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 54 of file BundleGeneratedEvent.cpp.
References dtn::data::BundleID::toString().
|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 49 of file BundleGeneratedEvent.cpp.
References className.
|
static |
Definition at line 43 of file BundleGeneratedEvent.cpp.
References dtn::core::EventDispatcher< E >::queue().
Referenced by dtn::storage::BundleStorage::acceptCustody(), dtn::storage::BundleStorage::rejectCustody(), and dtn::core::AbstractWorker::transmit().
|
static |
Definition at line 43 of file BundleGeneratedEvent.h.
Referenced by getName().