#include <lsdb.hpp>
|
| using | LsaContainer = boost::multi_index_container< std::shared_ptr< Lsa >, bmi::indexed_by< bmi::hashed_unique< bmi::tag< byName >, bmi::composite_key< Lsa, bmi::const_mem_fun< Lsa, ndn::Name, &Lsa::getOriginRouterCopy >, bmi::const_mem_fun< Lsa, Lsa::Type, &Lsa::getType > >, bmi::composite_key_hash< name_hash, enum_class_hash > >, bmi::hashed_non_unique< bmi::tag< byType >, bmi::const_mem_fun< Lsa, Lsa::Type, &Lsa::getType >, enum_class_hash > > > |
| |
Definition at line 54 of file lsdb.hpp.
◆ LsaContainer
| using nlsr::Lsdb::LsaContainer = boost::multi_index_container< std::shared_ptr<Lsa>, bmi::indexed_by< bmi::hashed_unique< bmi::tag<byName>, bmi::composite_key< Lsa, bmi::const_mem_fun<Lsa, ndn::Name, &Lsa::getOriginRouterCopy>, bmi::const_mem_fun<Lsa, Lsa::Type, &Lsa::getType> >, bmi::composite_key_hash<name_hash, enum_class_hash> >, bmi::hashed_non_unique< bmi::tag<byType>, bmi::const_mem_fun<Lsa, Lsa::Type, &Lsa::getType>, enum_class_hash > > > |
◆ Lsdb()
◆ ~Lsdb()
◆ buildAndInstallOwnCoordinateLsa()
| void nlsr::Lsdb::buildAndInstallOwnCoordinateLsa |
( |
| ) |
|
Builds a cor. LSA for this router and installs it into the LSDB.
Definition at line 77 of file lsdb.cpp.
◆ buildAndInstallOwnNameLsa()
| void nlsr::Lsdb::buildAndInstallOwnNameLsa |
( |
| ) |
|
Builds a name LSA for this router and then installs it into the LSDB.
Definition at line 65 of file lsdb.cpp.
◆ doesLsaExist()
| bool nlsr::Lsdb::doesLsaExist |
( |
const ndn::Name & |
router, |
|
|
Lsa::Type |
lsaType |
|
) |
| |
|
inline |
Returns whether the LSDB contains some LSA.
Definition at line 70 of file lsdb.hpp.
◆ findLsa()
template<typename T >
| std::shared_ptr<T> nlsr::Lsdb::findLsa |
( |
const ndn::Name & |
router | ) |
const |
|
inline |
◆ getIsBuildAdjLsaSheduled()
| bool nlsr::Lsdb::getIsBuildAdjLsaSheduled |
( |
| ) |
const |
|
inline |
◆ getLsdbIterator()
template<typename T >
| std::pair<LsaContainer::index<Lsdb::byType>::type::iterator, LsaContainer::index<Lsdb::byType>::type::iterator> nlsr::Lsdb::getLsdbIterator |
( |
| ) |
const |
|
inline |
◆ getSync()
◆ processInterest()
| void nlsr::Lsdb::processInterest |
( |
const ndn::Name & |
name, |
|
|
const ndn::Interest & |
interest |
|
) |
| |
◆ scheduleAdjLsaBuild()
| void nlsr::Lsdb::scheduleAdjLsaBuild |
( |
| ) |
|
Schedules a build of this router's LSA.
Definition at line 94 of file lsdb.cpp.
◆ writeLog() [1/2]
template<typename T >
| void nlsr::Lsdb::writeLog |
◆ writeLog() [2/2]
| void nlsr::Lsdb::writeLog |
( |
| ) |
const |
◆ afterSegmentValidatedSignal
| ndn::util::signal::Signal<Lsdb, const ndn::Data&> nlsr::Lsdb::afterSegmentValidatedSignal |
◆ lsaIncrementSignal