IBR-DTNSuite  0.10
dtn::core::BundleGeneratedEvent Class Reference

#include <BundleGeneratedEvent.h>

Inheritance diagram for dtn::core::BundleGeneratedEvent:
Inheritance graph
Collaboration diagram for dtn::core::BundleGeneratedEvent:
Collaboration graph

Public Member Functions

virtual ~BundleGeneratedEvent ()
 
const string getName () const
 
std::string getMessage () 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)
 

Public Attributes

const dtn::data::Bundle bundle
 
- Public Attributes inherited from dtn::core::Event
const int prio
 

Static Public Attributes

static const string className = "BundleGeneratedEvent"
 

Additional Inherited Members

- Protected Member Functions inherited from dtn::core::Event
 Event (int prio=0)
 
void setLoggable (bool val)
 

Detailed Description

Definition at line 32 of file BundleGeneratedEvent.h.

Constructor & Destructor Documentation

dtn::core::BundleGeneratedEvent::~BundleGeneratedEvent ( )
virtual

Definition at line 38 of file BundleGeneratedEvent.cpp.

Member Function Documentation

std::string dtn::core::BundleGeneratedEvent::getMessage ( ) const
virtual

Get a describing message for this event

Implements dtn::core::Event.

Definition at line 54 of file BundleGeneratedEvent.cpp.

References bundle, and dtn::data::Bundle::toString().

Here is the call graph for this function:

const std::string dtn::core::BundleGeneratedEvent::getName ( ) const
virtual

Get the name of this event.

Implements dtn::core::Event.

Definition at line 49 of file BundleGeneratedEvent.cpp.

References className.

void dtn::core::BundleGeneratedEvent::raise ( const dtn::data::Bundle bundle)
static

Member Data Documentation

const dtn::data::Bundle dtn::core::BundleGeneratedEvent::bundle

Definition at line 45 of file BundleGeneratedEvent.h.

Referenced by getMessage(), and dtn::routing::BaseRouter::raiseEvent().

const string dtn::core::BundleGeneratedEvent::className = "BundleGeneratedEvent"
static

Definition at line 41 of file BundleGeneratedEvent.h.

Referenced by getName().


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