CARMA C++
MonitorCellAngle.h
Go to the documentation of this file.
1 // $Id: MonitorCellAngle.h,v 1.2 2013/11/19 03:41:12 iws Exp $
2 
3 #ifndef CARMA_UI_RTD_MONITORCELLANGLE_H
4 #define CARMA_UI_RTD_MONITORCELLANGLE_H
5 
17 
18 namespace carma {
19  namespace ui {
20  namespace rtd {
21 
22  class MonitorCellAngle : public MonitorCellScaled {
23  public:
24 
28  MonitorCellAngle( int cellWidth,
29  bool setMpWidth,
30  monitor::MonitorPoint& monitorPoint,
31  int sampleNo,
32  double multiplier=1.0,
33  double offset=0.0,
34  short int precision=2,
35  angleFormatType format=FORMAT_DMS);
36 
37  MonitorCellAngle( int cellWidth,
38  monitor::MonitorPoint& monitorPoint,
39  double multiplier=1.0,
40  double offset=0.0,
41  short int precision=2,
42  angleFormatType format=FORMAT_DMS);
43 
44  static MonitorCellPtr makeCell(const int cellWidth,
45  monitor::MonitorPoint& mp,
46  double multiplier=1.0,
47  double offset=0.0,
48  short int precision=2,
49  angleFormatType format=FORMAT_DMS);
50 
54  virtual ~MonitorCellAngle();
55 
56  std::string formatValue(double dval);
57 
58  private:
59 
60  angleFormatType angleFormat_;
61 
62  }; // End class MonitorCellAngle
63 
64  } // End namespace rtd
65  } // End namespace ui
66 } // End namespace carma
67 
68 
69 
70 #endif // End #ifndef CARMA_MONITOR_UI_RTD_MONITORCELLANGLE_H
Display in sexagesimal DD:MM:SS.S.
Definition: AngleCell.h:38
Tagged: Thu Aug 26 17:19:18 PDT 2010.
Specialized Cell to display angles (e.g.