Public Member Functions | Private Member Functions | Private Attributes | List of all members
sick::data_processing::ParseGeneralSystemState Class Reference

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

#include <ParseGeneralSystemState.h>

Public Member Functions

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

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::ReadWriteHelperm_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

sick::data_processing::ParseGeneralSystemState::ParseGeneralSystemState ( )

Constructor of the parser.

Definition at line 40 of file ParseGeneralSystemState.cpp.

Member Function Documentation

bool sick::data_processing::ParseGeneralSystemState::checkIfDataContainsNeededParsedBlocks ( const datastructure::Data data) const
private

Definition at line 87 of file ParseGeneralSystemState.cpp.

bool sick::data_processing::ParseGeneralSystemState::checkIfGeneralSystemStateIsPublished ( const datastructure::Data data) const
private

Definition at line 76 of file ParseGeneralSystemState.cpp.

bool sick::data_processing::ParseGeneralSystemState::checkIfPreconditionsAreMet ( const datastructure::Data data) const
private

Definition at line 62 of file ParseGeneralSystemState.cpp.

datastructure::GeneralSystemState sick::data_processing::ParseGeneralSystemState::parseUDPSequence ( const sick::datastructure::PacketBuffer buffer,
datastructure::Data data 
) const

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.

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

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

std::shared_ptr<sick::data_processing::ReadWriteHelper> sick::data_processing::ParseGeneralSystemState::m_reader_ptr
private

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 Thu May 9 2019 02:41:08