CARMA C++
MonitorData2DBMSConversions.h
Go to the documentation of this file.
1 #ifndef CARMA_DBMS_MONITORDATA2DBMSCONVERSIONS_H
2 #define CARMA_DBMS_MONITORDATA2DBMSCONVERSIONS_H
3 
16 
17 #include <string>
18 
19 namespace carma {
20 namespace dbms {
21 
22 
27  unsigned short validity2DB(const carma::monitor::MonitorPoint::VALIDITY& validity);
28 
33  (const unsigned short& dbValidity);
34 
38  std::string
40 
41 
46  unsigned short blankingFlagging2DB
48 
53  db2BlankingFlagging(const unsigned short& dbBlanking);
54 
58  std::string
61 
62 }}
63 
64 #endif
VALIDITY
Validity states of the data value.
Definition: MonitorPoint.h:132
Abstract base class for all monitor points.
BLANKING_FLAGGING
Blanking/flagging status of the data.
Definition: MonitorPoint.h:159
unsigned short blankingFlagging2DB(const carma::monitor::MonitorPoint::BLANKING_FLAGGING &blanking)
convert the MonitorPoint::BLANKING_FLAGGING value to the value which is written in the db ...
carma::monitor::MonitorPoint::BLANKING_FLAGGING db2BlankingFlagging(const unsigned short &dbBlanking)
convert a db value to its MonitorPoint::BLANKING_FLAGGING counterpart
std::string blankingFlaggingToString(carma::monitor::MonitorPoint::BLANKING_FLAGGING bf)
convert a monitor blanking flagging enumerator to string.
unsigned short validity2DB(const carma::monitor::MonitorPoint::VALIDITY &validity)
convert the MonitorPoint::VALIDITY value to the value which is written in the db
std::string validityToString(carma::monitor::MonitorPoint::VALIDITY validity)
convert monitor validity to string.
carma::monitor::MonitorPoint::VALIDITY db2Validity(const unsigned short &dbValidity)
convert a db value to its MonitorPoint::VALIDITY counterpart