TopicCurveHandler Class Reference

Manages and updates curves based on topic data. More...

#include <TopicCurveHandler.hh>

Public Member Functions

 TopicCurveHandler ()
 Constructor. More...
 
 ~TopicCurveHandler ()
 Destructor. More...
 
void AddCurve (const std::string &_query, PlotCurveWeakPtr _curve)
 Add a curve to be updated. More...
 
unsigned int CurveCount () const
 Get the number of curves managed by this handler. More...
 
bool HasCurve (PlotCurveWeakPtr _curve) const
 Get whether this topic data handler has the specified curve. More...
 
void RemoveCurve (PlotCurveWeakPtr _curve)
 Remove a curve from the topic data handler. More...
 

Detailed Description

Manages and updates curves based on topic data.

Constructor & Destructor Documentation

◆ TopicCurveHandler()

Constructor.

◆ ~TopicCurveHandler()

Destructor.

Member Function Documentation

◆ AddCurve()

void AddCurve ( const std::string &  _query,
PlotCurveWeakPtr  _curve 
)

Add a curve to be updated.

Parameters
[in]_queryURI query string containing the param the curve is associated with.
[in]_curvePointer to the plot curve to add.

◆ CurveCount()

unsigned int CurveCount ( ) const

Get the number of curves managed by this handler.

Returns
Number of curves

◆ HasCurve()

bool HasCurve ( PlotCurveWeakPtr  _curve) const

Get whether this topic data handler has the specified curve.

Parameters
[in]_curvePointer to the curve.
Returns
True if curve exists

◆ RemoveCurve()

void RemoveCurve ( PlotCurveWeakPtr  _curve)

Remove a curve from the topic data handler.

Parameters
[in]_curvePointer to the plot curve to remove.

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