nlsr::RoutingTablePoolEntry Class Reference

#include <routing-table-pool-entry.hpp>

Inheritance diagram for nlsr::RoutingTablePoolEntry:
[legend]
Collaboration diagram for nlsr::RoutingTablePoolEntry:
[legend]

Public Member Functions

 RoutingTablePoolEntry ()
 
 ~RoutingTablePoolEntry ()
 
 RoutingTablePoolEntry (const ndn::Name &dest)
 
 RoutingTablePoolEntry (RoutingTableEntry &rte, uint64_t useCount)
 
 RoutingTablePoolEntry (const ndn::Name &dest, uint64_t useCount)
 
uint64_t getUseCount ()
 
uint64_t incrementUseCount ()
 
uint64_t decrementUseCount ()
 
void setNexthopList (NexthopList nhl)
 
const ndn::Name & getDestination () const
 
NexthopListgetNexthopList ()
 
const NexthopListgetNexthopList () const
 
bool operator== (RoutingTableEntry &rhs)
 

Data Fields

std::unordered_map< ndn::Name, std::weak_ptr< NamePrefixTableEntry > > namePrefixTableEntries
 

Protected Attributes

ndn::Name m_destination
 
NexthopList m_nexthopList
 

Detailed Description

Definition at line 49 of file routing-table-pool-entry.hpp.

Constructor & Destructor Documentation

nlsr::RoutingTablePoolEntry::RoutingTablePoolEntry ( )
inline

Definition at line 52 of file routing-table-pool-entry.hpp.

nlsr::RoutingTablePoolEntry::~RoutingTablePoolEntry ( )
inline

Definition at line 56 of file routing-table-pool-entry.hpp.

nlsr::RoutingTablePoolEntry::RoutingTablePoolEntry ( const ndn::Name &  dest)
inline

Definition at line 60 of file routing-table-pool-entry.hpp.

nlsr::RoutingTablePoolEntry::RoutingTablePoolEntry ( RoutingTableEntry rte,
uint64_t  useCount 
)
inline

Definition at line 66 of file routing-table-pool-entry.hpp.

Here is the call graph for this function:

nlsr::RoutingTablePoolEntry::RoutingTablePoolEntry ( const ndn::Name &  dest,
uint64_t  useCount 
)
inline

Definition at line 73 of file routing-table-pool-entry.hpp.

Member Function Documentation

uint64_t nlsr::RoutingTablePoolEntry::decrementUseCount ( )
inline

Definition at line 92 of file routing-table-pool-entry.hpp.

const ndn::Name& nlsr::RoutingTableEntry::getDestination ( ) const
inlineinherited

Definition at line 49 of file routing-table-entry.hpp.

Here is the caller graph for this function:

NexthopList& nlsr::RoutingTableEntry::getNexthopList ( )
inlineinherited

Definition at line 55 of file routing-table-entry.hpp.

Here is the caller graph for this function:

const NexthopList& nlsr::RoutingTableEntry::getNexthopList ( ) const
inlineinherited

Definition at line 61 of file routing-table-entry.hpp.

uint64_t nlsr::RoutingTablePoolEntry::getUseCount ( )
inline

Definition at line 80 of file routing-table-pool-entry.hpp.

uint64_t nlsr::RoutingTablePoolEntry::incrementUseCount ( )
inline

Definition at line 86 of file routing-table-pool-entry.hpp.

bool nlsr::RoutingTableEntry::operator== ( RoutingTableEntry rhs)
inlineinherited

Definition at line 67 of file routing-table-entry.hpp.

Here is the call graph for this function:

void nlsr::RoutingTablePoolEntry::setNexthopList ( NexthopList  nhl)
inline

Definition at line 101 of file routing-table-pool-entry.hpp.

Field Documentation

ndn::Name nlsr::RoutingTableEntry::m_destination
protectedinherited

Definition at line 75 of file routing-table-entry.hpp.

NexthopList nlsr::RoutingTableEntry::m_nexthopList
protectedinherited

Definition at line 76 of file routing-table-entry.hpp.

std::unordered_map<ndn::Name, std::weak_ptr<NamePrefixTableEntry> > nlsr::RoutingTablePoolEntry::namePrefixTableEntries

Definition at line 108 of file routing-table-pool-entry.hpp.