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... | |
Manages and updates curves based on topic data.
Constructor.
~TopicCurveHandler | ( | ) |
Destructor.
void AddCurve | ( | const std::string & | _query, |
PlotCurveWeakPtr | _curve | ||
) |
Add a curve to be updated.
[in] | _query | URI query string containing the param the curve is associated with. |
[in] | _curve | Pointer to the plot curve to add. |
unsigned int CurveCount | ( | ) | const |
Get the number of curves managed by this handler.
bool HasCurve | ( | PlotCurveWeakPtr | _curve | ) | const |
Get whether this topic data handler has the specified curve.
[in] | _curve | Pointer to the curve. |
void RemoveCurve | ( | PlotCurveWeakPtr | _curve | ) |
Remove a curve from the topic data handler.
[in] | _curve | Pointer to the plot curve to remove. |