CARMA C++
MonitorSystemAndDBMSRelationships.h File Reference

relationships between the monitor and dbms systems More...

#include <string>

Go to the source code of this file.

Namespaces

module  carma
 IDL for bima Rx Control, inherits from antenna::common::RxControl.
 
 carma::dbms
 API for access to the CARMA database.
 

Enumerations

enum  carma::dbms::MonitorAggregateType {
  NUMERIC_TYPE, STRING_TYPE, SHORT_TYPE, COMPLEX_TYPE,
  MAX_AGGREGATE_DATA_TYPE
}
 aggregate data type of the monitor[point,data file, table] More...
 
enum  carma::dbms::MonitorAverageType { FRAME_AVG, MINUTE_AVG, WBCORREL_AVG, SLCORREL_AVG }
 average type of the monitor[point,data file,table] More...
 
enum  carma::dbms::MonitorDataAreaType { MP_WRITE_AREA, MP_LOAD_AREA, MP_TRANSFER_AREA, MP_SDP_AREA }
 type describing a particular set of directories used in writing, loading, and archiving monitor point data WRITE_AREA = where the monitor data are written LOAD_AREA = from where the monitor data are loaded into the db TRANSFER_AREA = from where the monitor data are transferred to the long term archive More...
 
enum  carma::dbms::MonitorPointDataType {
  DATATYPE_BYTE, DATATYPE_SHORT, DATATYPE_INTEGER, DATATYPE_BOOLEAN,
  DATATYPE_FLOAT, DATATYPE_DOUBLE, DATATYPE_COMPLEX, DATATYPE_STRING,
  DATATYPE_SERIAL_NUMBER, DATATYPE_CHAR, DATATYPE_ENUMERATION, DATATYPE_ABSTIME,
  MAX_DATATYPE
}
 type of the monitor point. More...
 
enum  carma::dbms::MonitorPointType { MPTYPE_SENSE, MPTYPE_SOFT, MPTYPE_CONTROL, MAX_MPTYPE }
 describes to what class this monitor point belongs More...
 

Functions

unsigned short carma::dbms::aggregateTypeToDB (const MonitorAggregateType &aggType)
 convert an aggregate type to the value which is written in the db More...
 
unsigned short carma::dbms::averageTypeToDB (const MonitorAverageType &avgType)
 convert an average type to the value which is written in the db More...
 
MonitorAggregateType carma::dbms::dataType2AggregateType (const MonitorPointDataType &dataType)
 get the aggregate data type that the specific data corresponds to More...
 
MonitorPointDataType carma::dbms::db2mpDataType (const unsigned short &dbDataType)
 convert a db value to its MonitorPointDataType counterpart More...
 
MonitorPointType carma::dbms::db2mpType (const unsigned short &dbType)
 convert a db value to its MonitorPointType counterpart More...
 
MonitorAggregateType carma::dbms::dbToAggregateType (const unsigned short &dbType)
 convert a db value to its MonitorAggregateType counterpart More...
 
MonitorAverageType carma::dbms::dbToAverageType (const unsigned short &dbType)
 convert a db value to its MonitorAverageType counterpart More...
 
unsigned short carma::dbms::mpDataType2DB (const MonitorPointDataType &mpDataType)
 convert a MonitorPointDataType value to the value which is written in the db More...
 
unsigned short carma::dbms::mpType2DB (const MonitorPointType &mpType)
 convert a monitor point type to the value which is written in the db More...
 
std::string carma::dbms::toString (const MonitorPointDataType &dataType)
 MonitorPointDataType -> string for error messages, etc. More...
 
std::string carma::dbms::toString (const MonitorPointType &mpType)
 MonitorPointType -> string for error messages, etc. More...
 
std::string carma::dbms::toString (const MonitorAggregateType &dataType)
 MonitorAggregateDataType -> string for error messages, etc. More...
 
std::string carma::dbms::toString (const MonitorDataAreaType &areaType)
 MonitorDataAreaType -> string for error messages, etc. More...
 
std::string carma::dbms::toString (const MonitorAverageType &avgType)
 

Detailed Description

relationships between the monitor and dbms systems

Author
: Dave Mehringer
Version
Id:
MonitorSystemAndDBMSRelationships.h,v 1.6 2011/12/21 22:56:43 mpound Exp

$CarmaCopyright$

Definition in file MonitorSystemAndDBMSRelationships.h.