dtn::BundleEvent Class Reference

Event base class. More...

#include <BundleEvent.h>

Inheritance diagram for dtn::BundleEvent:
dtn::BundleAcceptRequest dtn::BundleAttributesQueryRequest dtn::BundleAttributesReportEvent dtn::BundleCancelRequest dtn::BundleDeleteRequest dtn::BundleDeliveredEvent dtn::BundleDeliveryEvent dtn::BundleExpiredEvent dtn::BundleFreeEvent dtn::BundleInjectedEvent dtn::BundleInjectRequest dtn::BundleQueryRequest dtn::BundleReceivedEvent dtn::BundleReportEvent dtn::BundleSendCancelledEvent dtn::BundleSendRequest dtn::BundleTransmittedEvent dtn::CLAParamsSetEvent dtn::CLAQueryReport dtn::CLASetParamsRequest dtn::ContactEvent dtn::ContactQueryRequest dtn::ContactReportEvent dtn::CustodySignalEvent dtn::CustodyTimeoutEvent dtn::LinkCreateRequest dtn::LinkDeleteRequest dtn::LinkQueryRequest dtn::LinkReconfigureRequest dtn::LinkReportEvent dtn::NewEIDReachableEvent dtn::ReassemblyCompletedEvent dtn::RegistrationAddedEvent dtn::RegistrationDeleteRequest dtn::RegistrationExpiredEvent dtn::RegistrationRemovedEvent dtn::RouteAddEvent dtn::RouteDelEvent dtn::RouteQueryRequest dtn::RouteReportEvent dtn::SetLinkDefaultsRequest dtn::ShutdownRequest dtn::StatusRequest

List of all members.

Public Member Functions

const char * type_str ()
 Used for printing.
virtual ~BundleEvent ()
 Need a virtual destructor to make sure all the right bits are cleaned up.

Public Attributes

const event_type_t type_
 The event type code.
bool daemon_only_
 Bit indicating whether this event is for the daemon only or if it should be propagated to other components (i.e.
oasys::Notifier * processed_notifier_
 Slot for a notifier to indicate that the event was processed.
oasys::Time posted_time_
 Slot to record the time that the event was put into the queue.

Protected Member Functions

 BundleEvent (event_type_t type)
 Constructor (protected since one of the subclasses should always be that which is actually initialized.

Detailed Description

Event base class.

Definition at line 261 of file BundleEvent.h.


Constructor & Destructor Documentation

virtual dtn::BundleEvent::~BundleEvent (  )  [inline, virtual]

Need a virtual destructor to make sure all the right bits are cleaned up.

Definition at line 296 of file BundleEvent.h.

dtn::BundleEvent::BundleEvent ( event_type_t  type  )  [inline, protected]

Constructor (protected since one of the subclasses should always be that which is actually initialized.

Definition at line 303 of file BundleEvent.h.


Member Function Documentation

const char* dtn::BundleEvent::type_str (  )  [inline]

Member Data Documentation

Slot to record the time that the event was put into the queue.

Definition at line 283 of file BundleEvent.h.

Slot for a notifier to indicate that the event was processed.

Definition at line 278 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::load_registrations().

The event type code.

Definition at line 266 of file BundleEvent.h.

Referenced by dtn::BundleEventHandler::dispatch_event(), and type_str().


The documentation for this class was generated from the following file:
Generated on Sun Nov 21 11:40:57 2010 for DTN Reference Implementation by  doxygen 1.6.3