IBR-DTNSuite
0.10
|
#include <Configuration.h>
Public Member Functions | |
bool | hasReference () const |
bool | doSync () const |
bool | sendDiscoveryAnnouncements () 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 515 of file Configuration.h.
|
protected |
Definition at line 109 of file Configuration.cpp.
|
protectedvirtual |
Definition at line 128 of file Configuration.cpp.
bool dtn::daemon::Configuration::TimeSync::doSync | ( | ) | const |
Definition at line 1160 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getPsi | ( | ) | const |
Definition at line 1175 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getSigma | ( | ) | const |
Definition at line 1170 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
float dtn::daemon::Configuration::TimeSync::getSyncLevel | ( | ) | const |
Definition at line 1180 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
bool dtn::daemon::Configuration::TimeSync::hasReference | ( | ) | const |
Definition at line 1155 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
|
protectedvirtual |
Implements dtn::daemon::Configuration::Extension.
Definition at line 390 of file Configuration.cpp.
References ibrcommon::ConfigFile::read(), and dtn::utils::Clock::setModifyClock().
Referenced by dtn::daemon::Configuration::load().
bool dtn::daemon::Configuration::TimeSync::sendDiscoveryAnnouncements | ( | ) | const |
Definition at line 1165 of file Configuration.cpp.
Referenced by dtn::daemon::DTNTPWorker::DTNTPWorker().
|
friend |
Definition at line 517 of file Configuration.h.
|
protected |
Definition at line 525 of file Configuration.h.
|
protected |
Definition at line 527 of file Configuration.h.
|
protected |
Definition at line 523 of file Configuration.h.
|
protected |
Definition at line 526 of file Configuration.h.
|
protected |
Definition at line 524 of file Configuration.h.
|
protected |
Definition at line 528 of file Configuration.h.