IBR-DTNSuite
0.8
|
#include <TimeEvent.h>
Public Member Functions | |
virtual | ~TimeEvent () |
TimeEventAction | getAction () const |
size_t | getTimestamp () const |
size_t | getUnixTimestamp () const |
const std::string | getName () const |
std::string | toString () const |
Static Public Member Functions | |
static void | raise (const size_t timestamp, const size_t unixtimestamp, const TimeEventAction action) |
Static Public Attributes | |
static const std::string | className = "TimeEvent" |
Definition at line 22 of file TimeEvent.h.
dtn::core::TimeEvent::~TimeEvent | ( | ) | [virtual] |
Definition at line 20 of file TimeEvent.cpp.
Definition at line 25 of file TimeEvent.cpp.
Referenced by dtn::daemon::DTNTPWorker::raiseEvent(), dtn::net::FileConvergenceLayer::raiseEvent(), dtn::net::LOWPANConvergenceLayer::raiseEvent(), dtn::net::ConnectionManager::raiseEvent(), dtn::storage::MemoryBundleStorage::raiseEvent(), dtn::storage::SimpleBundleStorage::raiseEvent(), dtn::storage::SQLiteBundleStorage::raiseEvent(), and dtn::net::DatagramConvergenceLayer::raiseEvent().
const std::string dtn::core::TimeEvent::getName | ( | ) | const [virtual] |
size_t dtn::core::TimeEvent::getTimestamp | ( | ) | const |
Definition at line 30 of file TimeEvent.cpp.
Referenced by dtn::routing::RetransmissionExtension::notify(), dtn::daemon::DTNTPWorker::raiseEvent(), dtn::net::FileConvergenceLayer::raiseEvent(), dtn::core::FragmentManager::raiseEvent(), dtn::net::LOWPANConvergenceLayer::raiseEvent(), dtn::storage::MemoryBundleStorage::raiseEvent(), dtn::storage::SimpleBundleStorage::raiseEvent(), dtn::storage::SQLiteBundleStorage::raiseEvent(), dtn::net::DatagramConvergenceLayer::raiseEvent(), and dtn::routing::BaseRouter::raiseEvent().
size_t dtn::core::TimeEvent::getUnixTimestamp | ( | ) | const |
Definition at line 35 of file TimeEvent.cpp.
Referenced by dtn::routing::StaticRoutingExtension::notify(), dtn::routing::ProphetRoutingExtension::notify(), and dtn::daemon::DTNTPWorker::raiseEvent().
void dtn::core::TimeEvent::raise | ( | const size_t | timestamp, |
const size_t | unixtimestamp, | ||
const TimeEventAction | action | ||
) | [static] |
Definition at line 45 of file TimeEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::core::WallClock::timeout().
std::string dtn::core::TimeEvent::toString | ( | ) | const [virtual] |
const std::string dtn::core::TimeEvent::className = "TimeEvent" [static] |
Definition at line 36 of file TimeEvent.h.
Referenced by dtn::core::FragmentManager::componentDown(), dtn::net::FileConvergenceLayer::componentDown(), dtn::net::LOWPANConvergenceLayer::componentDown(), dtn::storage::MemoryBundleStorage::componentDown(), dtn::storage::SQLiteBundleStorage::componentDown(), dtn::storage::SimpleBundleStorage::componentDown(), dtn::net::DatagramConvergenceLayer::componentDown(), dtn::routing::BaseRouter::componentDown(), dtn::core::FragmentManager::componentUp(), dtn::net::FileConvergenceLayer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), dtn::storage::MemoryBundleStorage::componentUp(), dtn::storage::SQLiteBundleStorage::componentUp(), dtn::storage::SimpleBundleStorage::componentUp(), dtn::net::DatagramConvergenceLayer::componentUp(), dtn::routing::BaseRouter::componentUp(), dtn::daemon::DTNTPWorker::DTNTPWorker(), getName(), toString(), and dtn::daemon::DTNTPWorker::~DTNTPWorker().