Go to the documentation of this file.
35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
47 namespace data_processing {
79 std::vector<uint8_t>::const_iterator data_ptr,
82 std::vector<uint8_t>::const_iterator data_ptr,
85 std::vector<uint8_t>::const_iterator data_ptr,
88 std::vector<uint8_t>::const_iterator data_ptr,
100 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
void setCurrentMonitoringCasesInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
void setResetRequiredCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
void setSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
bool checkIfGeneralSystemStateIsPublished(const datastructure::Data &data) const
void setNonSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
void setStatusBitsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
The data class containing all data blocks of a measurement.
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
Parser to parse the general system state from the udp packets.
void setErrorsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
datastructure::GeneralSystemState parseUDPSequence(const sick::datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Parses the udp sequence to read the general system state if enabled.
The GeneralSystemState class. It includes a summary of the current system state, the state of the saf...
ParseGeneralSystemState()
Constructor of the parser.
void setDataInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
A packetbuffer for the raw data from the sensor.