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

Parser for the data header. More...

#include <ParseDataHeader.h>

Public Member Functions

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

Private Member Functions

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

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

sick::data_processing::ParseDataHeader::ParseDataHeader ( )

Constructor of the parser.

Definition at line 40 of file ParseDataHeader.cpp.

Member Function Documentation

datastructure::DataHeader sick::data_processing::ParseDataHeader::parseUDPSequence ( const datastructure::PacketBuffer buffer,
datastructure::Data data 
) const

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

void sick::data_processing::ParseDataHeader::setApplicationDataBlockOffsetInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 216 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setApplicationDataBlockSizeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 223 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setChannelNumberInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 135 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDataBlocksInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 84 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDataInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 54 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDerivedValuesBlockOffsetInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 179 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setDerivedValuesBlockSizeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 185 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setGeneralSystemStateBlockOffsetInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 165 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setGeneralSystemStateBlockSizeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 172 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setIntrusionDataBlockOffsetInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 204 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setIntrusionDataBlockSizeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 210 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMajorVersionInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 105 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMeasurementDataBlockOffsetInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 191 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMeasurementDataBlockSizeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 198 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setMinorVersionInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 111 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setScanHeaderInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 74 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setScanNumberInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 147 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSequenceNumberInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 141 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSerialNumberOfDeviceInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 123 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setSerialNumberOfSystemPlugInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 129 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setTimestampDateInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 153 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setTimestampTimeInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 159 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 63 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionIndicatorInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

Definition at line 99 of file ParseDataHeader.cpp.

void sick::data_processing::ParseDataHeader::setVersionReleaseInDataHeader ( std::vector< uint8_t >::const_iterator  data_ptr,
datastructure::DataHeader data_header 
) const
private

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