NeighborNode Class Reference

#include <NeighborNode.h>

List of all members.


Detailed Description

This class represents an neighbor node It contains a gia node, a key list for this neighbor and a timestamp when the last message was received from this neighbor.


Public Member Functions

 NeighborNode ()
 NeighborNode (const GiaNode &node, simtime_t timestamp)

Public Attributes

GiaNode giaNode
simtime_t timestamp
 GiaNode of this neighbor.
KeyList keyList
 timestamp of last received message from this neighbor

Friends

std::ostream & operator<< (std::ostream &os, const NeighborNode &n)


Constructor & Destructor Documentation

NeighborNode::NeighborNode (  ) 

00026 {}

NeighborNode::NeighborNode ( const GiaNode node,
simtime_t  timestamp 
)

00028 {
00029     this->giaNode = node;
00030     this->timestamp = timestamp;
00031 }


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const NeighborNode n 
) [friend]

00034 {
00035     os << n.giaNode;
00036     return os;
00037 }


Member Data Documentation

GiaNode NeighborNode::giaNode

KeyList NeighborNode::keyList

timestamp of last received message from this neighbor

simtime_t NeighborNode::timestamp

GiaNode of this neighbor.


The documentation for this class was generated from the following files:
Generated on Wed Apr 4 13:37:06 2007 for ITM OverSim by  doxygen 1.4.7