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

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

#include <ParseApplicationData.h>

Public Member Functions

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

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 (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationData &application_data) const
 
void setApplicationOutputsInApplicationData (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationData &application_data) const
 
void setDataInApplicationData (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationData &application_data) const
 
void setDataInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setDataInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setErrorFlagsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setEvaluationPathsOutputsEvalOutInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setEvaluationPathsOutputsIsSafeInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setEvaluationPathsOutputsValidFlagsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setEvalutaionPathsOutputsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setLinearVelocity0InApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setLinearVelocity0InApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setLinearVelocity1InApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setLinearVelocity1InApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setLinearVelocityFlagsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setLinearVelocityFlagsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setLinearVelocityInputsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setLinearVelocityOutoutsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setMonitoringCaseFlagsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setMonitoringCaseFlagsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setMonitoringCaseInputsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setMonitoringCaseNumbersInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setMonitoringCaseNumbersInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setMonitoringCaseOutputsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setOutputFlagsinApplicationOutput (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setResultingVelocityFlagsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setResultingVelocityInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setResultingVelocityOutputsInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setSleepModeInputInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setSleepModeOutputInApplicationOutputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationOutputs &outputs) const
 
void setUnsafeInputsFlagsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setUnsafeInputsInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 
void setUnsafeInputsSourcesInApplicationInputs (std::vector< uint8_t >::const_iterator data_ptr, datastructure::ApplicationInputs &inputs) const
 

Detailed Description

Parses the application data from a packet buffer.

Definition at line 53 of file ParseApplicationData.h.

Constructor & Destructor Documentation

sick::data_processing::ParseApplicationData::ParseApplicationData ( )

Constructor of the parser.

Definition at line 40 of file ParseApplicationData.cpp.

Member Function Documentation

bool sick::data_processing::ParseApplicationData::checkIfApplicationDataIsPublished ( const datastructure::Data data) const
private

Definition at line 75 of file ParseApplicationData.cpp.

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

Definition at line 81 of file ParseApplicationData.cpp.

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

Definition at line 62 of file ParseApplicationData.cpp.

datastructure::ApplicationData sick::data_processing::ParseApplicationData::parseUDPSequence ( const sick::datastructure::PacketBuffer buffer,
datastructure::Data data 
) const

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 43 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setApplicationInputsInApplicationData ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationData application_data 
) const
private

Definition at line 95 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setApplicationOutputsInApplicationData ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationData application_data 
) const
private

Definition at line 104 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationData ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationData application_data 
) const
private

Definition at line 87 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 113 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setDataInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 122 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setErrorFlagsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 325 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setEvaluationPathsOutputsEvalOutInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 244 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setEvaluationPathsOutputsIsSafeInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 257 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setEvaluationPathsOutputsValidFlagsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 271 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setEvalutaionPathsOutputsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 236 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocity0InApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 205 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocity0InApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 346 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocity1InApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 211 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocity1InApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 352 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocityFlagsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 217 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocityFlagsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 358 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocityInputsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 197 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setLinearVelocityOutoutsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 338 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseFlagsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 184 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseFlagsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 305 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseInputsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 165 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseNumbersInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 172 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseNumbersInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 291 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setMonitoringCaseOutputsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 284 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setOutputFlagsinApplicationOutput ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 404 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setResultingVelocityFlagsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 390 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setResultingVelocityInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 378 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setResultingVelocityOutputsInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 371 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setSleepModeInputInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 229 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setSleepModeOutputInApplicationOutputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationOutputs outputs 
) const
private

Definition at line 319 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setUnsafeInputsFlagsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 153 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setUnsafeInputsInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 134 of file ParseApplicationData.cpp.

void sick::data_processing::ParseApplicationData::setUnsafeInputsSourcesInApplicationInputs ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::ApplicationInputs inputs 
) const
private

Definition at line 141 of file ParseApplicationData.cpp.


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


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