Infiniband::Network Class Reference
[Fountain serverInfiniband network discovery and monitoring]

Implementation of the NodeData Node Network policy class to represent the Network element of an Infiniband node. More...

#include <InfinibandNetwork.h>

Collaboration diagram for Infiniband::Network:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 Network (const std::string &myid)
 Constructor.
 ~Network ()
 Protected destructor since this is a policy class.
bool supportGetElement (const std::string &getElementName) const
bool satisfiesWhereElement (const std::string &name, BambooLib::RMAP_Relation_Operator_Type op, const std::string &value) const
void update (BambooLib::XMLElement *nodeInfo)
 foo
void appendInfo (XMLElementListPtr getList, BambooLib::XMLElement *nodeXML) const
 Append this object's requested information to the named XML element.

Private Attributes

const std::string id_
 unique ID for this node

Detailed Description

Implementation of the NodeData Node Network policy class to represent the Network element of an Infiniband node.

Definition at line 85 of file InfinibandNetwork.h.


Constructor & Destructor Documentation

Infiniband::Network::Network const std::string myid  )  [inline, explicit, protected]
 

Constructor.

Parameters:
[in] myid Unique ID for this entry

Definition at line 91 of file InfinibandNetwork.h.


Member Function Documentation

void Network::appendInfo XMLElementListPtr  getList,
BambooLib::XMLElement nodeXML
const [protected]
 

Append this object's requested information to the named XML element.

Parameters:
[in] getList The list of Get XMLElements containing the information to append
[in] nodeXML The XMLElement to append this object's information to

Definition at line 299 of file InfinibandNetwork.cpp.

References ENFORCE, and id_.

bool Network::satisfiesWhereElement const std::string name,
BambooLib::RMAP_Relation_Operator_Type  op,
const std::string value
const [protected]
 

Test the named Where element using the provided operator and value to see if it matches our statistics.

Parameters:
[in] name The name of the Where element to test
[in] op The relation operator to use when c omparing our value to the passed in value
[in] value The value to test against
Return values:
bool true if the comparison passes, false otherwise

Definition at line 239 of file InfinibandNetwork.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::compare().

Here is the call graph for this function:

bool Network::supportGetElement const std::string getElementName  )  const [protected]
 

Test whether or not the named Get element is supported.

Parameters:
[in] getElementName The name of the Get element
Return values:
bool true if the get element is supported, false otherwise

Definition at line 229 of file InfinibandNetwork.cpp.

References std::basic_string< _CharT, _Traits, _Alloc >::compare().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Oct 21 22:55:07 2006 for Fountain by  doxygen 1.4.6