IBR-DTNSuite
0.12
|
#include <DTNTPWorker.h>
Public Member Functions | |
TimeSyncState () | |
virtual | ~TimeSyncState () |
Static Public Member Functions | |
static double | toDouble (const timespec &val) |
Public Attributes | |
float | sync_threshold |
double | base_rating |
double | psi |
double | sigma |
struct timespec | last_sync_time |
bool | last_sync_set |
Definition at line 99 of file DTNTPWorker.h.
dtn::daemon::DTNTPWorker::TimeSyncState::TimeSyncState | ( | ) |
Definition at line 52 of file DTNTPWorker.cpp.
References last_sync_time.
|
virtual |
Definition at line 60 of file DTNTPWorker.cpp.
|
static |
Get the time of the last sync as double
Definition at line 64 of file DTNTPWorker.cpp.
Referenced by dtn::daemon::DTNTPWorker::raiseEvent().
double dtn::daemon::DTNTPWorker::TimeSyncState::base_rating |
Definition at line 108 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker(), and dtn::daemon::DTNTPWorker::raiseEvent().
bool dtn::daemon::DTNTPWorker::TimeSyncState::last_sync_set |
Definition at line 120 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::raiseEvent().
struct timespec dtn::daemon::DTNTPWorker::TimeSyncState::last_sync_time |
Definition at line 117 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::raiseEvent(), and TimeSyncState().
double dtn::daemon::DTNTPWorker::TimeSyncState::psi |
Definition at line 111 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
double dtn::daemon::DTNTPWorker::TimeSyncState::sigma |
Definition at line 114 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker(), and dtn::daemon::DTNTPWorker::raiseEvent().
float dtn::daemon::DTNTPWorker::TimeSyncState::sync_threshold |
Definition at line 105 of file DTNTPWorker.h.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().