USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::ControlCubeGraphNode Class Reference

Serial Number with added functionality for Control Networks. More...

#include <ControlCubeGraphNode.h>

Inherits QObject.

List of all members.

Public Member Functions

 ControlCubeGraphNode (QString sn)
 Create an empty SerialNumber object.
 ControlCubeGraphNode (const ControlCubeGraphNode &other)
virtual ~ControlCubeGraphNode ()
 Destroy a SerialNumber object.
void addMeasure (ControlMeasure *measure)
 Adds a measure.
void removeMeasure (ControlMeasure *measure)
void addConnection (ControlCubeGraphNode *, ControlPoint *)
void removeConnection (ControlCubeGraphNode *, ControlPoint *)
bool contains (ControlPoint *point) const
QString getSerialNumber () const
int getMeasureCount () const
QList< ControlMeasure * > getMeasures () const
QList< ControlMeasure * > getValidMeasures () const
QList< ControlCubeGraphNode * > getAdjacentNodes () const
bool isConnected (ControlCubeGraphNode *other) const
ControlMeasuregetMeasure (ControlPoint *point)
const ControlMeasuregetMeasure (ControlPoint *point) const
ControlMeasureoperator[] (ControlPoint *point)
const ControlMeasureoperator[] (ControlPoint *point) const
const ControlCubeGraphNodeoperator= (ControlCubeGraphNode)
QString connectionsToString () const

Detailed Description

Serial Number with added functionality for Control Networks.

This class is extends the Serial Number class in order to directly point between its associated measures in a Control Network and back.

Author:
2011-01-14 Travis Addair and Christopher Austin
See also:
ControlPoint ControlMeasure

Constructor & Destructor Documentation

Isis::ControlCubeGraphNode::ControlCubeGraphNode ( QString  sn  )  [explicit]

Create an empty SerialNumber object.

Isis::ControlCubeGraphNode::ControlCubeGraphNode ( const ControlCubeGraphNode other  ) 
Isis::ControlCubeGraphNode::~ControlCubeGraphNode (  )  [virtual]

Destroy a SerialNumber object.


Member Function Documentation

void Isis::ControlCubeGraphNode::addConnection ( ControlCubeGraphNode node,
ControlPoint point 
)

References ASSERT.

void Isis::ControlCubeGraphNode::addMeasure ( ControlMeasure measure  ) 
QString Isis::ControlCubeGraphNode::connectionsToString (  )  const

References line.

bool Isis::ControlCubeGraphNode::contains ( ControlPoint point  )  const
Parameters:
point The ControlPoint to check for
Returns:
true if the point is contained, false otherwise
QList< ControlCubeGraphNode * > Isis::ControlCubeGraphNode::getAdjacentNodes (  )  const
const ControlMeasure * Isis::ControlCubeGraphNode::getMeasure ( ControlPoint point  )  const
ControlMeasure * Isis::ControlCubeGraphNode::getMeasure ( ControlPoint point  ) 
int Isis::ControlCubeGraphNode::getMeasureCount (  )  const
QList< ControlMeasure * > Isis::ControlCubeGraphNode::getMeasures (  )  const
QString Isis::ControlCubeGraphNode::getSerialNumber (  )  const
QList< ControlMeasure * > Isis::ControlCubeGraphNode::getValidMeasures (  )  const
bool Isis::ControlCubeGraphNode::isConnected ( ControlCubeGraphNode other  )  const
const ControlCubeGraphNode & Isis::ControlCubeGraphNode::operator= ( ControlCubeGraphNode  other  ) 
const ControlMeasure * Isis::ControlCubeGraphNode::operator[] ( ControlPoint point  )  const

References getMeasure().

ControlMeasure * Isis::ControlCubeGraphNode::operator[] ( ControlPoint point  ) 

References getMeasure().

void Isis::ControlCubeGraphNode::removeConnection ( ControlCubeGraphNode node,
ControlPoint point 
)

References ASSERT, and size.

void Isis::ControlCubeGraphNode::removeMeasure ( ControlMeasure measure  ) 

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