OverSim
NeighborCache::NeighborCacheEntry Struct Reference

#include <NeighborCache.h>

Public Member Functions

 NeighborCacheEntry ()
 ~NeighborCacheEntry ()

Public Attributes

simtime_t insertTime
simtime_t rtt
NeighborCacheRttState rttState
std::deque< simtime_t > lastRtts
NodeHandle nodeRef
NodeHandle srcRoute
AbstractNcsNodeInfocoordsInfo
WaitingContexts waitingContexts

Detailed Description

Definition at line 188 of file NeighborCache.h.

Constructor & Destructor Documentation

NeighborCache::NeighborCacheEntry::NeighborCacheEntry ( )
inline

Definition at line 189 of file NeighborCache.h.

{ insertTime = simTime();
coordsInfo = NULL; };
NeighborCache::NeighborCacheEntry::~NeighborCacheEntry ( )
inline

Definition at line 194 of file NeighborCache.h.

{
delete coordsInfo;
for (uint16_t i = 0; i < waitingContexts.size(); ++i) {
delete waitingContexts[i].proxContext;
}
};

Member Data Documentation

std::deque<simtime_t> NeighborCache::NeighborCacheEntry::lastRtts

Definition at line 204 of file NeighborCache.h.

Referenced by NeighborCache::updateNode().

NodeHandle NeighborCache::NeighborCacheEntry::nodeRef

Definition at line 205 of file NeighborCache.h.

Referenced by operator<<(), and NeighborCache::updateNode().

simtime_t NeighborCache::NeighborCacheEntry::rtt
NodeHandle NeighborCache::NeighborCacheEntry::srcRoute

Definition at line 206 of file NeighborCache.h.

WaitingContexts NeighborCache::NeighborCacheEntry::waitingContexts

The documentation for this struct was generated from the following file: