CARMA C++
DisplayTimeOnlyVisitor.h
Go to the documentation of this file.
1 
10 #ifndef CARMA_UI_RTD_DISPLAYTIMEONLYVISITOR_H
11 #define CARMA_UI_RTD_DISPLAYTIMEONLYVISITOR_H
12 
13 #include "carma/ui/rtd/common/MonitorTableVisitor.h"
14 
15 #include <set>
16 
17 namespace carma {
18 namespace ui {
19 namespace rtd {
20 
21 class MonitorTableVisitor;
22 
27 class DisplayTimeOnlyVisitor : public MonitorTableVisitor {
28 public:
29 
31 
32  virtual ~DisplayTimeOnlyVisitor( );
33 
34  void addToEffectedSet( const monitor::MonitorPoint &mp );
35 
36  void postprocessMonitorCell(
37  const monitor::MonitorPoint & mp,
38  MonitorCell & monitorCell ) const;
39 
40 private:
41 
42  ::std::set< ::std::string > effected_;
43 
44 };
45 
46 typedef boost::shared_ptr<DisplayTimeOnlyVisitor> DisplayTimeOnlyVisitorPtr;
47 
48 }}} // End namespace carma::ui::rtd
49 #endif
Visitor to display time only instead of full Date and Time.
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