ParseGeneralSystemState.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
35 #ifndef SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
36 #define SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
37 
41 
43 
44 #include <vector>
45 
46 namespace sick {
47 namespace data_processing {
48 
53 {
54 public:
59 
70  datastructure::Data& data) const;
71 
72 private:
73  void setDataInGeneralSystemState(std::vector<uint8_t>::const_iterator data_ptr,
74  datastructure::GeneralSystemState& general_system_state) const;
75  void
76  setStatusBitsInGeneralSystemState(std::vector<uint8_t>::const_iterator data_ptr,
77  datastructure::GeneralSystemState& general_system_state) const;
79  std::vector<uint8_t>::const_iterator data_ptr,
80  datastructure::GeneralSystemState& general_system_state) const;
82  std::vector<uint8_t>::const_iterator data_ptr,
83  datastructure::GeneralSystemState& general_system_state) const;
85  std::vector<uint8_t>::const_iterator data_ptr,
86  datastructure::GeneralSystemState& general_system_state) const;
88  std::vector<uint8_t>::const_iterator data_ptr,
89  datastructure::GeneralSystemState& general_system_state) const;
90  void setErrorsInGeneralSystemState(std::vector<uint8_t>::const_iterator data_ptr,
91  datastructure::GeneralSystemState& general_system_state) const;
92  bool checkIfPreconditionsAreMet(const datastructure::Data& data) const;
95 };
96 
97 } // namespace data_processing
98 } // namespace sick
99 
100 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
The GeneralSystemState class. It includes a summary of the current system state, the state of the saf...
void setStatusBitsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
bool checkIfGeneralSystemStateIsPublished(const datastructure::Data &data) const
data
The data class containing all data blocks of a measurement.
Definition: Data.h:55
void setResetRequiredCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Parser to parse the general system state from the udp packets.
void setDataInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
void setCurrentMonitoringCasesInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) 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.
void setSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
void setErrorsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
void setNonSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41