CARMA C++
GrayedOutVisitor.h
1 #ifndef CARMA_UI_RTD_GRAYEDOUTVISITOR_H
2 #define CARMA_UI_RTD_GRAYEDOUTVISITOR_H
3 
4 #include <set>
5 #include <string>
6 
7 #include "carma/ui/rtd/common/MonitorTableVisitor.h"
9 #include "carma/ui/rtd/common/RtDisplay.h"
10 
11 
12 namespace carma {
13 namespace ui {
14 namespace rtd {
15 
16 
19 class GrayedOutVisitor : public MonitorTableVisitor {
20  public:
22 
23  virtual ~GrayedOutVisitor( );
24 
25  void addToEffectedSet( const monitor::MonitorPoint & mp );
26 
27  void postprocessMonitorCell(
28  const monitor::MonitorPoint & mp,
29  MonitorCell & monitorCell ) const;
30 
31  private:
32  ::std::set< ::std::string > effected_;
33 };
34 
35 
36 } // namespace carma::ui::rtd
37 } // namespace carma::ui
38 } // namespace carma
39 
40 #endif
Visitor that post processes a set of MonitorCell to be grayed out.
Cell that takes a MonitorPoint and displays its current value.
Abstract base class for a monitor point.
Definition: MonitorPoint.h:68
A Cell that displays the current value of a MonitorPoint, with the background color gotten from a sec...
Definition: MonitorCell.h:55