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

Parses the application data from a packet buffer. More...

#include <ParseApplicationData.h>

List of all members.

Public Member Functions

 ParseApplicationData ()
 Constructor of the parser.
datastructure::ApplicationData parseUDPSequence (const sick::datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 Parses the application data from the packet buffer.

Private Member Functions

bool checkIfApplicationDataIsPublished (const datastructure::Data &data) const
bool checkIfDataContainsNeededParsedBlocks (const datastructure::Data &data) const
bool checkIfPreconditionsAreMet (const datastructure::Data &data) const
void setApplicationInputsInApplicationData (const uint8_t *&data_ptr, datastructure::ApplicationData &application_data) const
void setApplicationOutputsInApplicationData (const uint8_t *&data_ptr, datastructure::ApplicationData &application_data) const
void setDataInApplicationData (const uint8_t *&data_ptr, datastructure::ApplicationData &application_data) const
void setDataInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setDataInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setErrorFlagsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setEvaluationPathsOutputsEvalOutInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setEvaluationPathsOutputsIsSafeInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setEvaluationPathsOutputsValidFlagsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setEvalutaionPathsOutputsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setLinearVelocity0InApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setLinearVelocity0InApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setLinearVelocity1InApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setLinearVelocity1InApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setLinearVelocityFlagsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setLinearVelocityFlagsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setLinearVelocityInputsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setLinearVelocityOutoutsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setMonitoringCaseFlagsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setMonitoringCaseFlagsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setMonitoringCaseInputsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setMonitoringCaseNumbersInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setMonitoringCaseNumbersInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setMonitoringCaseOutputsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setOutputFlagsinApplicationOutput (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setResultingVelocityFlagsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setResultingVelocityInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setResultingVelocityOutputsInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setSleepModeInputInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setSleepModeOutputInApplicationOutputs (const uint8_t *&data_ptr, datastructure::ApplicationOutputs &outputs) const
void setUnsafeInputsFlagsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setUnsafeInputsInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const
void setUnsafeInputsSourcesInApplicationInputs (const uint8_t *&data_ptr, datastructure::ApplicationInputs &inputs) const

Private Attributes

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

Detailed Description

Parses the application data from a packet buffer.

Definition at line 53 of file ParseApplicationData.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 40 of file ParseApplicationData.cpp.


Member Function Documentation

Definition at line 76 of file ParseApplicationData.cpp.

Definition at line 86 of file ParseApplicationData.cpp.

Definition at line 63 of file ParseApplicationData.cpp.

Parses the application data from the packet buffer.

Parameters:
bufferThe incoming packet buffer with raw data.
dataThe already parsed data, used to check if needed data is there.
Returns:
The parsed application data.

Definition at line 46 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setApplicationInputsInApplicationData ( const uint8_t *&  data_ptr,
datastructure::ApplicationData application_data 
) const [private]

Definition at line 103 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setApplicationOutputsInApplicationData ( const uint8_t *&  data_ptr,
datastructure::ApplicationData application_data 
) const [private]

Definition at line 111 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationData ( const uint8_t *&  data_ptr,
datastructure::ApplicationData application_data 
) const [private]

Definition at line 96 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationInputs ( const uint8_t *&  data_ptr,
datastructure::ApplicationInputs inputs 
) const [private]

Definition at line 119 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationOutputs ( const uint8_t *&  data_ptr,
datastructure::ApplicationOutputs outputs 
) const [private]

Definition at line 128 of file ParseApplicationData.cpp.

Definition at line 331 of file ParseApplicationData.cpp.

Definition at line 250 of file ParseApplicationData.cpp.

Definition at line 263 of file ParseApplicationData.cpp.

Definition at line 277 of file ParseApplicationData.cpp.

Definition at line 242 of file ParseApplicationData.cpp.

Definition at line 211 of file ParseApplicationData.cpp.

Definition at line 352 of file ParseApplicationData.cpp.

Definition at line 217 of file ParseApplicationData.cpp.

Definition at line 358 of file ParseApplicationData.cpp.

Definition at line 223 of file ParseApplicationData.cpp.

Definition at line 364 of file ParseApplicationData.cpp.

Definition at line 203 of file ParseApplicationData.cpp.

Definition at line 344 of file ParseApplicationData.cpp.

Definition at line 190 of file ParseApplicationData.cpp.

Definition at line 311 of file ParseApplicationData.cpp.

Definition at line 171 of file ParseApplicationData.cpp.

Definition at line 178 of file ParseApplicationData.cpp.

Definition at line 297 of file ParseApplicationData.cpp.

Definition at line 290 of file ParseApplicationData.cpp.

Definition at line 409 of file ParseApplicationData.cpp.

Definition at line 395 of file ParseApplicationData.cpp.

Definition at line 384 of file ParseApplicationData.cpp.

Definition at line 377 of file ParseApplicationData.cpp.

Definition at line 235 of file ParseApplicationData.cpp.

Definition at line 325 of file ParseApplicationData.cpp.

Definition at line 159 of file ParseApplicationData.cpp.

Definition at line 140 of file ParseApplicationData.cpp.

Definition at line 147 of file ParseApplicationData.cpp.


Member Data Documentation

Definition at line 73 of file ParseApplicationData.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