#include <BundleEvent.h>
Definition at line 261 of file 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. |
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::event_handlers_completed(), dtnsim::Node::post_event(), dtn::BundleDaemon::post_event(), dtnsim::Node::process_one_bundle_event(), dtn::BundleDaemon::run(), and dtnsim::Node::run_one_event_now().
The event type code.
Definition at line 266 of file BundleEvent.h.
Referenced by dtn::BundleEventHandler::dispatch_event(), dtn::BundleDaemon::event_handlers_completed(), and type_str().
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::BundleDaemon::handle_event(), dtn::BundleDaemon::handle_link_create(), dtn::LinkCreateRequest::LinkCreateRequest(), dtn::LinkDeleteRequest::LinkDeleteRequest(), dtn::LinkQueryRequest::LinkQueryRequest(), dtn::LinkReconfigureRequest::LinkReconfigureRequest(), dtn::LinkStateChangeRequest::LinkStateChangeRequest(), dtn::RegistrationDeleteRequest::RegistrationDeleteRequest(), dtn::RouteQueryRequest::RouteQueryRequest(), dtn::SetLinkDefaultsRequest::SetLinkDefaultsRequest(), dtn::ShutdownRequest::ShutdownRequest(), and dtn::StatusRequest::StatusRequest().
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::handle_event(), and dtn::BundleDaemon::post_and_wait().
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.
Referenced by dtn::BundleDaemon::run().