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;
95 };
96 
97 } // namespace data_processing
98 } // namespace sick
99 
100 #endif // SICK_SAFETYSCANNERS_DATA_PROCESSING_PARSEGENERALSYSTEMSTATE_H
DerivedValues.h
sick::data_processing::ParseGeneralSystemState::setCurrentMonitoringCasesInGeneralSystemState
void setCurrentMonitoringCasesInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:185
sick::data_processing::ParseGeneralSystemState::setResetRequiredCutOffPathInGeneralSystemState
void setResetRequiredCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:162
sick::data_processing::ParseGeneralSystemState::setSafeCutOffPathInGeneralSystemState
void setSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:116
sick::data_processing::ParseGeneralSystemState::checkIfGeneralSystemStateIsPublished
bool checkIfGeneralSystemStateIsPublished(const datastructure::Data &data) const
Definition: ParseGeneralSystemState.cpp:75
sick::data_processing::ParseGeneralSystemState::setNonSafeCutOffPathInGeneralSystemState
void setNonSafeCutOffPathInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:139
sick
Definition: ApplicationNameVariableCommand.h:43
sick::data_processing::ParseGeneralSystemState::setStatusBitsInGeneralSystemState
void setStatusBitsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:101
sick::datastructure::Data
The data class containing all data blocks of a measurement.
Definition: Data.h:55
sick::data_processing::ParseGeneralSystemState::checkIfPreconditionsAreMet
bool checkIfPreconditionsAreMet(const datastructure::Data &data) const
Definition: ParseGeneralSystemState.cpp:61
data
data
ReadWriteHelper.hpp
sick::data_processing::ParseGeneralSystemState
Parser to parse the general system state from the udp packets.
Definition: ParseGeneralSystemState.h:52
sick::data_processing::ParseGeneralSystemState::setErrorsInGeneralSystemState
void setErrorsInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:199
sick::data_processing::ParseGeneralSystemState::checkIfDataContainsNeededParsedBlocks
bool checkIfDataContainsNeededParsedBlocks(const datastructure::Data &data) const
Definition: ParseGeneralSystemState.cpp:82
PacketBuffer.h
sick::data_processing::ParseGeneralSystemState::parseUDPSequence
datastructure::GeneralSystemState parseUDPSequence(const sick::datastructure::PacketBuffer &buffer, datastructure::Data &data) const
Parses the udp sequence to read the general system state if enabled.
Definition: ParseGeneralSystemState.cpp:43
sick::datastructure::GeneralSystemState
The GeneralSystemState class. It includes a summary of the current system state, the state of the saf...
Definition: GeneralSystemState.h:49
sick::data_processing::ParseGeneralSystemState::ParseGeneralSystemState
ParseGeneralSystemState()
Constructor of the parser.
Definition: ParseGeneralSystemState.cpp:40
sick::data_processing::ParseGeneralSystemState::setDataInGeneralSystemState
void setDataInGeneralSystemState(std::vector< uint8_t >::const_iterator data_ptr, datastructure::GeneralSystemState &general_system_state) const
Definition: ParseGeneralSystemState.cpp:89
sick::datastructure::PacketBuffer
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
Data.h


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Jun 21 2024 02:40:51