CARMA C++
LogDatabase.h
Go to the documentation of this file.
1 #ifndef CARMA_DBMS_LOGDATABASE_H
2 #define CARMA_DBMS_LOGDATABASE_H
3 
16 namespace carma {
17 namespace dbms {
18 
19  class DBConnection;
20 
24 class LogDatabase {
25 
26 public:
30  LogDatabase(const carma::dbms::DBConnection * const dbc);
31 
36  void populateLogPrioritiesTable() const;
37 
38  private:
39  const DBConnection *dbc_;
40 
41 };
42 }}
43 
44 #endif // CARMA_DBMS_LOGDATABASE_H
void populateLogPrioritiesTable() const
populate the LogPriorities table should only be run for database initialization
This class contains methods for accessing the log table in the database.
Definition: LogDatabase.h:24
LogDatabase(const carma::dbms::DBConnection *const dbc)
constructor
an abstract class from which database queries may be launched.
Definition: DBConnection.h:46