IBR-DTNSuite
0.8
|
#include <Configuration.h>
Public Member Functions | |
bool | hasReference () const |
bool | syncOnDiscovery () const |
bool | sendDiscoveryAnnouncements () const |
int | getQualityOfTimeTick () const |
float | getSigma () const |
float | getSyncLevel () const |
Protected Member Functions | |
TimeSync () | |
virtual | ~TimeSync () |
void | load (const ibrcommon::ConfigFile &conf) |
Protected Attributes | |
bool | _reference |
bool | _sync |
bool | _discovery |
int | _qot_tick |
float | _sigma |
float | _sync_level |
Friends | |
class | Configuration |
Definition at line 516 of file Configuration.h.
dtn::daemon::Configuration::TimeSync::TimeSync | ( | ) | [protected] |
Definition at line 95 of file Configuration.cpp.
dtn::daemon::Configuration::TimeSync::~TimeSync | ( | ) | [protected, virtual] |
Definition at line 111 of file Configuration.cpp.
Definition at line 1178 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::raiseEvent().
float dtn::daemon::Configuration::TimeSync::getSigma | ( | ) | const |
Definition at line 1183 of file Configuration.cpp.
float dtn::daemon::Configuration::TimeSync::getSyncLevel | ( | ) | const |
Definition at line 1188 of file Configuration.cpp.
bool dtn::daemon::Configuration::TimeSync::hasReference | ( | ) | const |
Definition at line 1163 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker(), and dtn::daemon::DTNTPWorker::raiseEvent().
void dtn::daemon::Configuration::TimeSync::load | ( | const ibrcommon::ConfigFile & | conf | ) | [protected, virtual] |
Implements dtn::daemon::Configuration::Extension.
Definition at line 361 of file Configuration.cpp.
References dtn::utils::Clock::modify_clock, and ibrcommon::ConfigFile::read().
Referenced by dtn::daemon::Configuration::load().
Definition at line 1173 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::update().
bool dtn::daemon::Configuration::TimeSync::syncOnDiscovery | ( | ) | const |
Definition at line 1168 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
friend class Configuration [friend] |
Definition at line 518 of file Configuration.h.
bool dtn::daemon::Configuration::TimeSync::_discovery [protected] |
Definition at line 526 of file Configuration.h.
int dtn::daemon::Configuration::TimeSync::_qot_tick [protected] |
Definition at line 527 of file Configuration.h.
bool dtn::daemon::Configuration::TimeSync::_reference [protected] |
Definition at line 524 of file Configuration.h.
float dtn::daemon::Configuration::TimeSync::_sigma [protected] |
Definition at line 528 of file Configuration.h.
bool dtn::daemon::Configuration::TimeSync::_sync [protected] |
Definition at line 525 of file Configuration.h.
float dtn::daemon::Configuration::TimeSync::_sync_level [protected] |
Definition at line 529 of file Configuration.h.