A class to house all the configuration parameters for NLSR. More...
#include <conf-parameter.hpp>
Public Member Functions | |
ConfParameter () | |
void | setNetwork (const ndn::Name &networkName) |
const ndn::Name & | getNetwork () const |
void | setRouterName (const ndn::Name &routerName) |
const ndn::Name & | getRouterName () const |
void | setSiteName (const ndn::Name &siteName) |
const ndn::Name & | getSiteName () const |
void | buildRouterPrefix () |
const ndn::Name & | getRouterPrefix () const |
const ndn::Name & | getChronosyncPrefix () const |
const ndn::Name & | getLsaPrefix () const |
void | setLsaRefreshTime (uint32_t lrt) |
uint32_t | getLsaRefreshTime () const |
void | setLsaInterestLifetime (const ndn::time::seconds &lifetime) |
const ndn::time::seconds & | getLsaInterestLifetime () const |
void | setAdjLsaBuildInterval (uint32_t interval) |
uint32_t | getAdjLsaBuildInterval () const |
void | setFirstHelloInterval (uint32_t interval) |
uint32_t | getFirstHelloInterval () const |
void | setRoutingCalcInterval (uint32_t interval) |
uint32_t | getRoutingCalcInterval () const |
void | setRouterDeadInterval (uint32_t rdt) |
uint32_t | getRouterDeadInterval () const |
void | setFaceDatasetFetchTries (uint32_t count) |
uint32_t | getFaceDatasetFetchTries () const |
void | setFaceDatasetFetchInterval (uint32_t interval) |
const ndn::time::seconds | getFaceDatasetFetchInterval () const |
void | setInterestRetryNumber (uint32_t irn) |
uint32_t | getInterestRetryNumber () const |
void | setInterestResendTime (uint32_t irt) |
uint32_t | getInterestResendTime () const |
uint32_t | getInfoInterestInterval () const |
void | setInfoInterestInterval (uint32_t iii) |
void | setHyperbolicState (int32_t ihc) |
int32_t | getHyperbolicState () const |
bool | setCorR (double cr) |
double | getCorR () const |
void | setCorTheta (const std::vector< double > &ct) |
std::vector< double > | getCorTheta () const |
void | setMaxFacesPerPrefix (uint32_t mfpp) |
uint32_t | getMaxFacesPerPrefix () const |
void | setSeqFileDir (const std::string &ssfd) |
const std::string & | getSeqFileDir () const |
void | setSyncInterestLifetime (uint32_t syncInterestLifetime) |
const ndn::time::milliseconds & | getSyncInterestLifetime () const |
void | writeLog () |
A class to house all the configuration parameters for NLSR.
This class is conceptually a singleton (but not mechanically) which is just a collection of attributes that serve as a separation-of-data for NLSR's configuration variables. NLSR refers to an instance of this class for all its configuration parameters. This object is typically populated by a ConfFileProcessor reading a configuration file.
Definition at line 127 of file conf-parameter.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 413 of file conf-parameter.hpp.
|
inline |
|
inline |
Definition at line 355 of file conf-parameter.hpp.
|
inline |
Definition at line 371 of file conf-parameter.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 343 of file conf-parameter.hpp.
|
inline |
Definition at line 337 of file conf-parameter.hpp.
|
inline |
Definition at line 319 of file conf-parameter.hpp.
|
inline |
Definition at line 307 of file conf-parameter.hpp.
|
inline |
Definition at line 223 of file conf-parameter.hpp.
|
inline |
Definition at line 211 of file conf-parameter.hpp.
|
inline |
Definition at line 383 of file conf-parameter.hpp.
void nlsr::ConfParameter::setNetwork | ( | const ndn::Name & | networkName | ) |
|
inline |
Definition at line 271 of file conf-parameter.hpp.
|
inline |
Definition at line 160 of file conf-parameter.hpp.
|
inline |
|
inline |
Definition at line 395 of file conf-parameter.hpp.
|
inline |
Definition at line 172 of file conf-parameter.hpp.
|
inline |
Definition at line 407 of file conf-parameter.hpp.
void nlsr::ConfParameter::writeLog | ( | ) |
Definition at line 35 of file conf-parameter.cpp.