OverSim
PastryExtendedNode Struct Reference

struct for storing a NodeHandle together with its proximity value and an optional timestamp More...

#include <PastryTypes.h>

Public Member Functions

 PastryExtendedNode ()
 PastryExtendedNode (const NodeHandle &node, simtime_t rtt, simtime_t timestamp=0)

Public Attributes

NodeHandle node
simtime_t rtt
simtime_t timestamp

Detailed Description

struct for storing a NodeHandle together with its proximity value and an optional timestamp

Definition at line 84 of file PastryTypes.h.

Constructor & Destructor Documentation

PastryExtendedNode::PastryExtendedNode ( )
inline

Definition at line 90 of file PastryTypes.h.

: node(), rtt(-2), timestamp(0) {};
PastryExtendedNode::PastryExtendedNode ( const NodeHandle node,
simtime_t  rtt,
simtime_t  timestamp = 0 
)
inline

Definition at line 91 of file PastryTypes.h.

: node(node), rtt(rtt), timestamp(timestamp) {};

Member Data Documentation

simtime_t PastryExtendedNode::rtt

Definition at line 87 of file PastryTypes.h.

Referenced by operator<<().

simtime_t PastryExtendedNode::timestamp

Definition at line 88 of file PastryTypes.h.


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