1 #ifndef CARMA_UI_RTD_ROW_VISITOR_H
2 #define CARMA_UI_RTD_ROW_VISITOR_H
8 #include "carma/ui/rtd/common/MonitorTableVisitor.h"
9 #include "carma/ui/rtd/common/ColorVisitor.h"
11 #include "carma/ui/rtd/common/RtDisplay.h"
34 ::std::string generateRowLabel(
36 bool showUnits )
const;
40 RowVisitor::RowVisitor(
CellColor goodColor,
47 RowVisitor::~RowVisitor( )
54 RowVisitor::generateRowLabel(
const monitor::MonitorPoint & mp,
55 const bool showUnits )
const
57 ::std::string rowLabel = mp.getLongName();
60 const ::std::string units = mp.getUnits();
62 if ( units.empty( ) == false ) {
Abstract base class for all monitor points.
Cell that takes a MonitorPoint and displays its current value.
Abstract base class for a monitor point.
enum carma::ui::rtd::CellColorEnum CellColor
Cell color choices.
Visitor that uses the long monitor point names for row labels instead of the short ones...
Visitor that post processes a set of MonitorCell to have good and bad colors set to something other t...