CFEL - ASG Software Suite
2.5.0
CASS
|
Classes | |
class | Converter |
Converter for Beamline-, Cavity-, Epics- and EVR Data. More... | |
class | Device |
Container for all Machine related Data. More... | |
class | XTCDataKey |
Key for the xtc data lookup map. More... | |
Functions | |
template<int valtype> | |
void | convertEpicsToDouble (const Pds::EpicsPvHeader &epicsData, Device::epicsDataMap_t::iterator first) |
convert epics variable to double More... | |
template<int valtype> | |
void | epicsValToCassVal (const Pds::EpicsPvHeader &epicsData, Device::epicsDataMap_t::iterator storefirst, Device::epicsDataMap_t::iterator cassfirst) |
convert epics variable to double and fill store and cassevent More... | |
void | epicsValToNothing (const Pds::EpicsPvHeader &, Device::epicsDataMap_t::iterator, Device::epicsDataMap_t::iterator) |
convert epics variable to nothing More... | |
void cass::MachineData::convertEpicsToDouble | ( | const Pds::EpicsPvHeader & | epicsData, |
Device::epicsDataMap_t::iterator | first | ||
) |
convert epics variable to double
convert the value contained in the Epics variable to a double and fill it into the map. One has to define beforehand where to add it and pass the right iterator to the function
valtype | the value type of the epics variable |
epicsData | the object that contains the epics data |
first | iterator to the first entry in the map that needs to be filled |
Definition at line 68 of file machine_converter.cpp.
References value.
void cass::MachineData::epicsValToCassVal | ( | const Pds::EpicsPvHeader & | epicsData, |
Device::epicsDataMap_t::iterator | storefirst, | ||
Device::epicsDataMap_t::iterator | cassfirst | ||
) |
convert epics variable to double and fill store and cassevent
convert the value contained in the Epics variable to a double and fill it into the map. One has to define beforehand where to add it and pass the right iterator to the function
valtype | the value type of the epics variable |
epicsData | the object that contains the epics data |
storefirst | iterator to the first entry in the epics part of store |
cassfirst | iterator to the first entry in the epics part of cassevent |
Definition at line 92 of file machine_converter.cpp.
References value.
void cass::MachineData::epicsValToNothing | ( | const Pds::EpicsPvHeader & | , |
Device::epicsDataMap_t::iterator | , | ||
Device::epicsDataMap_t::iterator | |||
) |
convert epics variable to nothing
don't do anything. This function is needed, because string types can't be converted, therefore this is used as dummy for epics string types.
valtype | the value type of the epics variable |
epicsData | the object that contains the epics data |
storefirst | iterator to the first entry in the epics part of store |
cassfirst | iterator to the first entry in the epics part of cassevent |
Definition at line 119 of file machine_converter.cpp.
Referenced by cass::MachineData::Converter::Converter().