#include <SensorStateInfo.hpp>
Public Types | |
enum | IOState { OFF = 0, ON = 1, PASSIVE = 2 } |
typedef std::map< std::string, bool > | StateMap |
typedef std::vector< IOState > | StateVector |
Static Public Member Functions | |
static std::string | ioStateToString (IOState state) |
Private Attributes | |
EvalCases | m_evalCases |
Fields | m_fields |
StateVector | m_inputStates |
MeasurementList | m_measurementList |
e.g. temperature More... | |
StateVector | m_outputStates |
StateMap | m_stateMap |
Additional Inherited Members | |
Protected Attributes inherited from datatypes::BasicData | |
UINT16 | m_datatype |
UINT16 | m_sourceId |
Definition at line 24 of file SensorStateInfo.hpp.
typedef std::map<std::string, bool> datatypes::SensorStateInfo::StateMap |
Definition at line 49 of file SensorStateInfo.hpp.
typedef std::vector<IOState> datatypes::SensorStateInfo::StateVector |
Definition at line 48 of file SensorStateInfo.hpp.
Enumerator | |
---|---|
OFF | |
ON | |
PASSIVE |
Definition at line 27 of file SensorStateInfo.hpp.
datatypes::SensorStateInfo::SensorStateInfo | ( | ) |
Definition at line 16 of file SensorStateInfo.cpp.
|
virtual |
Definition at line 22 of file SensorStateInfo.cpp.
UINT32 datatypes::SensorStateInfo::getDeviceID | ( | ) | const |
const EvalCases & datatypes::SensorStateInfo::getEvalCases | ( | ) | const |
Definition at line 41 of file SensorStateInfo.cpp.
const Fields & datatypes::SensorStateInfo::getFields | ( | ) | const |
Definition at line 46 of file SensorStateInfo.cpp.
const SensorStateInfo::StateVector & datatypes::SensorStateInfo::getInputStates | ( | ) | const |
Definition at line 51 of file SensorStateInfo.cpp.
const MeasurementList & datatypes::SensorStateInfo::getMeasurementList | ( | ) | const |
Definition at line 56 of file SensorStateInfo.cpp.
const SensorStateInfo::StateVector & datatypes::SensorStateInfo::getOutputStates | ( | ) | const |
Definition at line 61 of file SensorStateInfo.cpp.
const SensorStateInfo::StateMap & datatypes::SensorStateInfo::getStateMap | ( | ) | const |
Definition at line 91 of file SensorStateInfo.cpp.
|
virtual |
Returns an estimation of the current memory usage of this object. The correct count is very difficult to get because of the 1001 different configuration options...
Implements datatypes::BasicData.
Definition at line 31 of file SensorStateInfo.cpp.
|
inlinestatic |
Definition at line 34 of file SensorStateInfo.hpp.
void datatypes::SensorStateInfo::setDeviceID | ( | UINT32 | deviceID | ) |
void datatypes::SensorStateInfo::setEvalCases | ( | const EvalCases & | evalCases | ) |
Definition at line 66 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setFields | ( | const Fields & | fields | ) |
Definition at line 71 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setInputStates | ( | const StateVector & | m_inputStates | ) |
Definition at line 76 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setLastKnownEvalCaseResults | ( | const EvalCaseResults & | evalCaseResults | ) |
Definition at line 226 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setMeasurementList | ( | const MeasurementList & | m_measurementList | ) |
Definition at line 81 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setOutputStates | ( | const StateVector & | m_outputStates | ) |
Definition at line 86 of file SensorStateInfo.cpp.
void datatypes::SensorStateInfo::setStateMap | ( | const StateMap & | stateMap | ) |
Definition at line 96 of file SensorStateInfo.cpp.
std::string datatypes::SensorStateInfo::toString | ( | ) | const |
Definition at line 114 of file SensorStateInfo.cpp.
|
private |
Definition at line 80 of file SensorStateInfo.hpp.
|
private |
Definition at line 79 of file SensorStateInfo.hpp.
|
private |
Definition at line 81 of file SensorStateInfo.hpp.
|
private |
e.g. temperature
Definition at line 78 of file SensorStateInfo.hpp.
|
private |
Definition at line 82 of file SensorStateInfo.hpp.
|
private |
Definition at line 83 of file SensorStateInfo.hpp.