1 #ifndef CARMA_DBMS_MONITORDATATABLEFINISHERTHREAD_H
2 #define CARMA_DBMS_MONITORDATATABLEFINISHERTHREAD_H
17 #include <boost/thread.hpp>
40 (
const std::string& threadName,
42 const std::string& tableName,
47 bool isFinished()
const;
61 std::string tableName_;
63 boost::thread thread_;
65 mutable boost::mutex finishedMutex_;
71 #endif // CARMA_DBMS_MONITORDATAFINISHERTHREAD_H
MonitorDataTableFinisherThread(const std::string &threadName, const carma::dbms::DBConnection *const dbc, const std::string &tableName, const carma::dbms::MonitorAverageType &averageType)
constructor
void operator()()
the actions to take to finish up with the table
const carma::dbms::DBConnection * dbc_
disallow default constructor
Thread class for executing commands on a monitor data table after it has been populated.
relationships between the monitor and dbms systems
MonitorAverageType
average type of the monitor[point,data file,table]
an abstract class from which database queries may be launched.