Public Member Functions | Private Member Functions | Private Attributes
sick::data_processing::ParseGeneralSystemState Class Reference

Parser to parse the general system state from the udp packets. More...

#include <ParseGeneralSystemState.h>

List of all members.

Public Member Functions

 ParseGeneralSystemState ()
 Constructor of the parser.
datastructure::GeneralSystemState parseUDPSequence (const sick::datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 Parses the udp sequence to read the general system state if enabled.

Private Member Functions

bool checkIfDataContainsNeededParsedBlocks (const datastructure::Data &data) const
bool checkIfGeneralSystemStateIsPublished (const datastructure::Data &data) const
bool checkIfPreconditionsAreMet (const datastructure::Data &data) const
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
void setErrorsInGeneralSystemState (const uint8_t *&data_ptr, datastructure::GeneralSystemState &general_System_state) const
void setNonSafeCutOffPathInGeneralSystemState (const uint8_t *&data_ptr, datastructure::GeneralSystemState &general_System_state) const
void setResetRequiredCutOffPathInGeneralSystemState (const uint8_t *&data_ptr, datastructure::GeneralSystemState &general_System_state) const
void setSafeCutOffPathInGeneralSystemState (const uint8_t *&data_ptr, datastructure::GeneralSystemState &general_System_state) const
void setStatusBitsInGeneralSystemState (const uint8_t *&data_ptr, datastructure::GeneralSystemState &general_System_state) const

Private Attributes

std::shared_ptr
< sick::data_processing::ReadWriteHelper
m_reader_ptr

Detailed Description

Parser to parse the general system state from the udp packets.

Definition at line 52 of file ParseGeneralSystemState.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 40 of file ParseGeneralSystemState.cpp.


Member Function Documentation

Definition at line 87 of file ParseGeneralSystemState.cpp.

Definition at line 76 of file ParseGeneralSystemState.cpp.

Definition at line 62 of file ParseGeneralSystemState.cpp.

Parses the udp sequence to read the general system state if enabled.

Parameters:
bufferThe incoming sequence.
dataThe already parsed data. Used to check if the general system state is enabled.
Returns:
If parsing was successful.

Definition at line 46 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setCurrentMonitoringCasesInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 189 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setDataInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 98 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setErrorsInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 202 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setNonSafeCutOffPathInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 145 of file ParseGeneralSystemState.cpp.

Definition at line 167 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setSafeCutOffPathInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 123 of file ParseGeneralSystemState.cpp.

void sick::data_processing::ParseGeneralSystemState::setStatusBitsInGeneralSystemState ( const uint8_t *&  data_ptr,
datastructure::GeneralSystemState general_System_state 
) const [private]

Definition at line 109 of file ParseGeneralSystemState.cpp.


Member Data Documentation

Definition at line 73 of file ParseGeneralSystemState.h.


The documentation for this class was generated from the following files:


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:37