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