1 #ifndef CARMA_UI_RTD_COMPOSITE_MONITOR_TABLE_VISITOR_H
2 #define CARMA_UI_RTD_COMPOSITE_MONITOR_TABLE_VISITOR_H
4 #include "carma/ui/rtd/common/MonitorTableVisitor.h"
8 #include <boost/shared_ptr.hpp>
30 const std::vector<MonitorTableVisitorPtr > & visitors );
73 bool showUnits )
const;
77 typedef ::std::vector< MonitorTableVisitorPtr > VisitorVector;
79 VisitorVector visitors_;
83 typedef boost::shared_ptr<CompositeMonitorTableVisitor> CompositeMonitorTableVisitorPtr;
Composite design pattern implementation for MonitorTableVisitor interface.
virtual bool acceptMonitorPoint(const monitor::MonitorPoint &mp) const
Accept a monitor point.
CompositeMonitorTableVisitor(const std::vector< MonitorTableVisitorPtr > &visitors)
Create an instance of a CompositeMonitorTableVisitor ahdering to the MonitorTableVisitor interface...
Abstract base class for a monitor point.
virtual int calcCellWidth(const monitor::MonitorPoint &mp) const
Calculate mp cell width.
virtual ::std::string generateRowLabel(const monitor::MonitorPoint &mp, bool showUnits) const
Generate a row label for the input monitor point.
A Cell that displays the current value of a MonitorPoint, with the background color gotten from a sec...
void postprocessMonitorCell(const monitor::MonitorPoint &mp, MonitorCell &monitorCell) const
Call postprocessMonitorCell for all contained visitors.
~CompositeMonitorTableVisitor()
Destroy class instance.