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

Parser for the data header. More...

#include <ParseDataHeader.h>

List of all members.

Public Member Functions

 ParseDataHeader ()
 Constructor of the parser.
datastructure::DataHeader parseUDPSequence (const datastructure::PacketBuffer &buffer, datastructure::Data &data) const
 Parses the data header from a udp sequence.

Private Member Functions

void setApplicationDataBlockOffsetInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setApplicationDataBlockSizeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setChannelNumberInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setDataBlocksInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setDataInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setDerivedValuesBlockOffsetInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setDerivedValuesBlockSizeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setGeneralSystemStateBlockOffsetInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setGeneralSystemStateBlockSizeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setIntrusionDataBlockOffsetInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setIntrusionDataBlockSizeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setMajorVersionInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setMeasurementDataBlockOffsetInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setMeasurementDataBlockSizeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setMinorVersionInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setScanHeaderInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setScanNumberInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setSequenceNumberInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setSerialNumberOfDeviceInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setSerialNumberOfSystemPlugInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setTimestampDateInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setTimestampTimeInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setVersionInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setVersionIndicatorInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const
void setVersionReleaseInDataHeader (const uint8_t *&data_ptr, datastructure::DataHeader &data_header) const

Private Attributes

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

Detailed Description

Parser for the data header.

Is required before the other complete udp packet parsers. It will return which data packages are enabled and therefore the other parsers can be used accordingly.

Definition at line 54 of file ParseDataHeader.h.


Constructor & Destructor Documentation

Constructor of the parser.

Definition at line 40 of file ParseDataHeader.cpp.


Member Function Documentation

Parses the data header from a udp sequence.

Parameters:
bufferThe complete udp packet.
dataThe already parsed data used for checks.
Returns:
The parsed data header.

Definition at line 46 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setApplicationDataBlockOffsetInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 215 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setApplicationDataBlockSizeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 221 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setChannelNumberInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 136 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDataBlocksInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 85 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDataInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 55 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDerivedValuesBlockOffsetInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 179 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDerivedValuesBlockSizeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 185 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setGeneralSystemStateBlockOffsetInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 166 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setGeneralSystemStateBlockSizeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 173 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setIntrusionDataBlockOffsetInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 203 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setIntrusionDataBlockSizeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 209 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMajorVersionInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 106 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMeasurementDataBlockOffsetInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 191 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMeasurementDataBlockSizeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 197 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMinorVersionInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 112 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setScanHeaderInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 75 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setScanNumberInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 148 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSequenceNumberInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 142 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSerialNumberOfDeviceInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 124 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSerialNumberOfSystemPlugInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 130 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setTimestampDateInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 154 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setTimestampTimeInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 160 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 64 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionIndicatorInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 100 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionReleaseInDataHeader ( const uint8_t *&  data_ptr,
datastructure::DataHeader data_header 
) const [private]

Definition at line 118 of file ParseDataHeader.cpp.


Member Data Documentation

Definition at line 74 of file ParseDataHeader.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