Class used for configuring a DBConnection.
More...
#include <carma/dbms/DBConfigurator.h>
|
std::string | getValue (const std::string &key) const |
|
Class used for configuring a DBConnection.
Definition at line 28 of file DBConfigurator.h.
carma::dbms::DBConfigurator::DBConfigurator |
( |
const std::string & |
filename | ) |
|
constructor
- Parameters
-
- Exceptions
-
NotFoundException | if the file cannot be read |
carma::dbms::DBConfigurator::~DBConfigurator |
( |
| ) |
|
get the monitor point data directories corresponding to the specified average type and the specified
- Parameters
-
avgType | the average type of the data |
the | area of interest |
- Returns
- areas where the specified monitor point data are located
- Exceptions
-
NotFoundException | if a data area hasn't been defined |
std::map<std::string,std::string> carma::dbms::DBConfigurator::getConfiguration |
( |
| ) |
const |
get the specified data directory
std::string carma::dbms::DBConfigurator::getDataSource |
( |
| ) |
const |
std::string carma::dbms::DBConfigurator::getDBName |
( |
| ) |
const |
std::string carma::dbms::DBConfigurator::getDBUser |
( |
| ) |
const |
std::string carma::dbms::DBConfigurator::getLogBufferSharedMemoryName |
( |
| ) |
const |
- Returns
- index file that syslog2db will write
- Deprecated:
- No longer used in favor of in memory buffer
- Returns
- index file that syslog2db will write
std::string carma::dbms::DBConfigurator::getLogLoadDirectory |
( |
| ) |
const |
- Returns
- The directory to which the flat log files were symlinked, so that logDataLoader can load them into the dbms
std::string carma::dbms::DBConfigurator::getLogWriteDirectory |
( |
| ) |
const |
- Returns
- the list of all log files, including debug logs
- Deprecated:
- No longer used in favor of IPQ
- Returns
- The directory to which the flat log files were written, so that logDataDeleter can mark them for delete them.
std::string carma::dbms::DBConfigurator::getLogWriteFileBaseName |
( |
| ) |
const |
- Returns
- base file name for processed data that syslog2db; frame count is appended to this name.
get monitor point data areas as a map of monitorAreaIndices to directory names
- Returns
- monitor data areas
std::string carma::dbms::DBConfigurator::getODBCini |
( |
| ) |
const |
get the name of the odbc.ini file
std::string carma::dbms::DBConfigurator::getPasswordFile |
( |
| ) |
const |
get the password file for the dbuser this method makes no attempt to do file or existence checking
std::string carma::dbms::DBConfigurator::getPipeFileNames |
( |
| ) |
const |
- Returns
- a list of comma separated fully qualified paths to pipe files
unsigned carma::dbms::DBConfigurator::getPort |
( |
| ) |
const |
get the port for remote, native connections
std::string carma::dbms::DBConfigurator::getRDBMS |
( |
| ) |
const |
std::string carma::dbms::DBConfigurator::getSocket |
( |
| ) |
const |
get the socket for local, native connections
std::string carma::dbms::DBConfigurator::getSyslogMMAPFileName |
( |
| ) |
const |
- Returns
- base file name for processed data that syslog2db; frame count is appended to this name.
std::string carma::dbms::DBConfigurator::getTopDir |
( |
| ) |
const |
- Returns
- The top directory to be used to write ASCII files.
std::string carma::dbms::DBConfigurator::getWorkDir |
( |
| ) |
const |
- Returns
- The directory to be used to write ASCII files that have been converted from binary.
The documentation for this class was generated from the following file: