IBR-DTNSuite
0.12
|
#include <TimeAdjustmentEvent.h>
Public Member Functions | |
virtual | ~TimeAdjustmentEvent () |
const std::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 timeval &offset, const double &rating) |
Public Attributes | |
timeval | offset |
double | rating |
Public Attributes inherited from dtn::core::Event | |
const int | prio |
Static Public Attributes | |
static const std::string | className = "TimeAdjustmentEvent" |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::core::Event | |
Event (int prio=0) | |
void | setLoggable (bool val) |
Definition at line 19 of file TimeAdjustmentEvent.h.
|
virtual |
Definition at line 23 of file TimeAdjustmentEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 37 of file TimeAdjustmentEvent.cpp.
References offset, rating, and dtn::utils::Clock::toDouble().
|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 32 of file TimeAdjustmentEvent.cpp.
References className.
|
static |
Definition at line 27 of file TimeAdjustmentEvent.cpp.
References dtn::core::EventDispatcher< E >::queue().
|
static |
Definition at line 30 of file TimeAdjustmentEvent.h.
Referenced by getName().
timeval dtn::core::TimeAdjustmentEvent::offset |
Definition at line 32 of file TimeAdjustmentEvent.h.
Referenced by getMessage().
double dtn::core::TimeAdjustmentEvent::rating |
Definition at line 33 of file TimeAdjustmentEvent.h.
Referenced by getMessage().