1 #ifndef CARMA_UI_RTD_MONITORSINGLETABLEFOLDER_H
2 #define CARMA_UI_RTD_MONITORSINGLETABLEFOLDER_H
20 #include <carma/ui/rtd/common/RtDisplay.h>
21 #include <carma/ui/rtd/common/MonitorTable.h>
23 #include <boost/shared_ptr.hpp>
29 class MonitorSingleTableFolder :
public RtFolder {
45 MonitorSingleTableFolder(
46 const ::std::string & folderName,
47 const ::std::vector< MonitorColumnInfo > & columns,
51 bool unitsInRowLabels,
52 bool switchRowsAndColumns,
53 const MonitorTableVisitorPtr visitor,
54 bool displayRowLabels=
true
71 MonitorSingleTableFolder(
72 const ::std::string & folderName,
73 const ::std::vector< MonitorColumnInfo > & columns,
75 int hierarchyDepth = 1,
77 bool unitsInRowLabels =
true,
78 const MonitorTableVisitorPtr visitor = MonitorTableVisitorPtr(),
79 bool displayRowLabels =
true
96 MonitorSingleTableFolder(
97 const ::std::string & folderName,
98 const MonitorColumnInfo & column,
100 int hierarchyDepth = 1,
102 bool unitsInRowLabels =
true,
103 const MonitorTableVisitorPtr visitor = MonitorTableVisitorPtr(),
104 bool displayRowLabels=
true
121 MonitorSingleTableFolder(
122 const ::std::string & folderName,
123 const ::std::string & heading,
124 const monitor::MonitorContainer & container,
126 int hierarchyDepth = 1,
128 bool unitsInRowLabels =
true,
129 const MonitorTableVisitorPtr visitor = MonitorTableVisitorPtr(),
130 bool displayRowLabels=
true
147 MonitorSingleTableFolder(
148 const std::string& folderName,
149 const std::vector< ::std::string >& headings,
150 const std::vector<const monitor::MonitorContainer*>& containers,
152 int hierarchyDepth = 1,
154 bool unitsInRowLabels =
true,
155 const MonitorTableVisitorPtr visitor = MonitorTableVisitorPtr(),
156 bool switchRowsAndColumns=
false,
157 bool displayRowLabels=
true
174 MonitorSingleTableFolder(
175 const std::string & folderName,
176 const std::vector< ::std::string > & headings,
177 const std::vector<monitor::MonitorContainer*>& containers,
179 int hierarchyDepth = 1,
181 bool unitsInRowLabels =
true,
182 const MonitorTableVisitorPtr visitor = MonitorTableVisitorPtr(),
183 bool switchRowsAndColumns=
false,
184 bool displayRowLabels=
true
187 virtual ~MonitorSingleTableFolder( );
190 MonitorTable& getTable()
const;
192 boost::shared_ptr<MonitorTable> table_;
195 typedef boost::shared_ptr<MonitorSingleTableFolder> MonitorSingleTableFolderPtr;
const int AUTO_SIZE
Indicate to MonitorSingleTableFolder that we want column widths to be automatically calculated with a...
A generic monitor system container base class.