IBR-DTNSuite
0.12
|
#include <Configuration.h>
Public Member Functions | |
bool | hasReference () const |
bool | doSync () const |
bool | sendDiscoveryBeacons () const |
float | getSigma () const |
float | getPsi () const |
float | getSyncLevel () const |
Protected Member Functions | |
TimeSync () | |
virtual | ~TimeSync () |
void | load (const ibrcommon::ConfigFile &conf) |
Protected Attributes | |
bool | _reference |
bool | _sync |
bool | _discovery |
float | _sigma |
float | _psi |
float | _sync_level |
Friends | |
class | Configuration |
Definition at line 522 of file Configuration.h.
|
protected |
Definition at line 106 of file Configuration.cpp.
|
protectedvirtual |
Definition at line 131 of file Configuration.cpp.
bool dtn::daemon::Configuration::TimeSync::doSync | ( | ) | const |
Definition at line 1293 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getPsi | ( | ) | const |
Definition at line 1308 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getSigma | ( | ) | const |
Definition at line 1303 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getSyncLevel | ( | ) | const |
Definition at line 1313 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
bool dtn::daemon::Configuration::TimeSync::hasReference | ( | ) | const |
Definition at line 1288 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
|
protectedvirtual |
Implements dtn::daemon::Configuration::Extension.
Definition at line 426 of file Configuration.cpp.
References ibrcommon::ConfigFile::read(), and dtn::utils::Clock::setModifyClock().
Referenced by dtn::daemon::Configuration::load().
bool dtn::daemon::Configuration::TimeSync::sendDiscoveryBeacons | ( | ) | const |
Definition at line 1298 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
|
friend |
Definition at line 524 of file Configuration.h.
|
protected |
Definition at line 532 of file Configuration.h.
|
protected |
Definition at line 534 of file Configuration.h.
|
protected |
Definition at line 530 of file Configuration.h.
|
protected |
Definition at line 533 of file Configuration.h.
|
protected |
Definition at line 531 of file Configuration.h.
|
protected |
Definition at line 535 of file Configuration.h.