shawn::ListEdgeModel::NodeInfo Class Reference

#include <list_edge_model.h>

Inheritance diagram for shawn::ListEdgeModel::NodeInfo:

Inheritance graph
[legend]
Collaboration diagram for shawn::ListEdgeModel::NodeInfo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 NodeInfo (Node *node=NULL)
 Sets all values to false and node to NULL or to the given parameter.
virtual ~NodeInfo ()
bool operator== (const NodeInfo &o)
 Comparison function for std::set, uses ONLY the node pointer to compare two instances.
void update ()
 Update the CD_ANY and CD_BIDI state based on CD_IN and CD_OUT.

Public Attributes

Nodenode_
 The neighboring node.
bool comm_dir_ [CD___DO_NOT_USE_COUNT__]
 For each communication direction, one boolean value.


Detailed Description

Store the communication relation to one single other node in memory. For each communication pattern, a boolean value is stored. Whenever you change the CD_IN or CD_OUT property, invoke update() to reflect the changes to CD_ANY and CD_BIDI

Constructor & Destructor Documentation

shawn::ListEdgeModel::NodeInfo::NodeInfo ( Node node = NULL  )  [inline]

Sets all values to false and node to NULL or to the given parameter.

virtual shawn::ListEdgeModel::NodeInfo::~NodeInfo (  )  [virtual]


Member Function Documentation

bool shawn::ListEdgeModel::NodeInfo::operator== ( const NodeInfo o  )  [inline]

Comparison function for std::set, uses ONLY the node pointer to compare two instances.

void shawn::ListEdgeModel::NodeInfo::update (  )  [inline]

Update the CD_ANY and CD_BIDI state based on CD_IN and CD_OUT.


Member Data Documentation

The neighboring node.

bool shawn::ListEdgeModel::NodeInfo::comm_dir_[CD___DO_NOT_USE_COUNT__]

For each communication direction, one boolean value.


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

Generated on Tue Feb 7 00:00:55 2012 for Shawn by  doxygen 1.5.6