CARMA C++
MonitorContainerFileIO.h
1 #ifndef CARMA_MONITOR_MONITORSUBSYSTEMFILEIO_H
2 #define CARMA_MONITOR_MONITORSUBSYSTEMFILEIO_H
3 
4 #include "carma/monitor/types.h"
5 
6 #include <iosfwd>
7 #include <set>
8 #include <vector>
9 
10 namespace carma {
11 namespace monitor {
12 
13 class MonitorContainer;
14 
29  const MonitorContainer & container,
30  const std::string & filename,
31  const std::vector< std::string > & skip = std::vector< std::string >() );
32 
42 void setContainerFromFile( MonitorContainer & container,
43  const std::string & filename );
44 
54 std::set< carma::monitor::tagIDType >
55 compareContainerToFile( MonitorContainer & container,
56  const std::string & filename );
57 
58 }} // namespace carma::monitor
59 #endif
void writeContainerToFile(const MonitorContainer &container, const std::string &filename, const std::vector< std::string > &skip=std::vector< std::string >())
Write the contents of a MonitorContainer to the specified file as text.
type definitions for monitor system
void setContainerFromFile(MonitorContainer &container, const std::string &filename)
Read the contents of the specified file and populate the input monitor system with data from the file...
std::set< carma::monitor::tagIDType > compareContainerToFile(MonitorContainer &container, const std::string &filename)
Compare an input monitor container to a file containing a saved version of given monitor container...