Event base class. More...
#include <BundleEvent.h>
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. |
Event base class.
Definition at line 261 of file BundleEvent.h.
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.
const char* dtn::BundleEvent::type_str | ( | ) | [inline] |
Used for printing.
Definition at line 288 of file BundleEvent.h.
References dtn::event_to_str(), and type_.
Referenced by dtn::BundleEventHandler::dispatch_event(), dtn::BundleDaemon::get_bundle_stats(), dtnsim::Node::post_event(), dtnsim::Node::process_one_bundle_event(), and dtnsim::Node::run_one_event_now().
Bit indicating whether this event is for the daemon only or if it should be propagated to other components (i.e.
the various routers).
Definition at line 273 of file BundleEvent.h.
Referenced by dtn::BundleCancelRequest::BundleCancelRequest(), dtn::BundleDeleteRequest::BundleDeleteRequest(), dtn::BundleFreeEvent::BundleFreeEvent(), dtn::BundleInjectRequest::BundleInjectRequest(), dtn::BundleQueryRequest::BundleQueryRequest(), dtn::BundleSendRequest::BundleSendRequest(), dtn::CLAQueryReport::CLAQueryReport(), dtn::CLASetParamsRequest::CLASetParamsRequest(), dtn::ContactQueryRequest::ContactQueryRequest(), dtn::LinkCreateRequest::LinkCreateRequest(), dtn::LinkDeleteRequest::LinkDeleteRequest(), dtn::LinkQueryRequest::LinkQueryRequest(), dtn::LinkReconfigureRequest::LinkReconfigureRequest(), dtn::LinkStateChangeRequest::LinkStateChangeRequest(), dtn::BundleDaemon::load_registrations(), dtn::RegistrationDeleteRequest::RegistrationDeleteRequest(), dtn::RouteQueryRequest::RouteQueryRequest(), dtn::SetLinkDefaultsRequest::SetLinkDefaultsRequest(), dtn::ShutdownRequest::ShutdownRequest(), and dtn::StatusRequest::StatusRequest().
oasys::Time dtn::BundleEvent::posted_time_ |
Slot to record the time that the event was put into the queue.
Definition at line 283 of file BundleEvent.h.
oasys::Notifier* dtn::BundleEvent::processed_notifier_ |
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().