CARMA C++
carma::dbms::MonitorDataTableFinisherThread Class Reference

Thread class for executing commands on a monitor data table after it has been populated. More...

#include <carma/dbms/MonitorDataTableFinisherThread.h>

Public Member Functions

bool isFinished () const
 
 MonitorDataTableFinisherThread (const std::string &threadName, const carma::dbms::DBConnection *const dbc, const std::string &tableName, const carma::dbms::MonitorAverageType &averageType)
 constructor More...
 
void operator() ()
 the actions to take to finish up with the table More...
 

Protected Attributes

carma::dbms::MonitorAverageType avgType_
 
const carma::dbms::DBConnectiondbc_
 disallow default constructor More...
 
bool finished_
 
boost::mutex finishedMutex_
 
std::string tableName_
 
boost::thread thread_
 

Detailed Description

Thread class for executing commands on a monitor data table after it has been populated.

Definition at line 29 of file MonitorDataTableFinisherThread.h.

Constructor & Destructor Documentation

carma::dbms::MonitorDataTableFinisherThread::MonitorDataTableFinisherThread ( const std::string &  threadName,
const carma::dbms::DBConnection *const  dbc,
const std::string &  tableName,
const carma::dbms::MonitorAverageType averageType 
)
explicit

constructor

Parameters
dbca valid database connection
tableNamethe table to finish up with
averageTypethe tables average type

Member Function Documentation

void carma::dbms::MonitorDataTableFinisherThread::operator() ( )

the actions to take to finish up with the table

Member Data Documentation

const carma::dbms::DBConnection* carma::dbms::MonitorDataTableFinisherThread::dbc_
protected

disallow default constructor

Definition at line 59 of file MonitorDataTableFinisherThread.h.


The documentation for this class was generated from the following file: