Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
sick::datastructure::ParsedPacketBuffer Class Reference

Struct of a PacketBuffer with a parsed header. More...

#include <ParsedPacketBuffer.h>

List of all members.

Public Types

typedef std::vector
< ParsedPacketBuffer
ParsedPacketBufferVector

Public Member Functions

sick::datastructure::PacketBuffer getPacketBuffer () const
 Returns the contains packet buffer of the parsed packet buffer.
 ParsedPacketBuffer (const sick::datastructure::PacketBuffer &packet_buffer, sick::datastructure::DatagramHeader datagram_header)
 Constructor of ParsedPacketBuffer.
void setPacketBuffer (const sick::datastructure::PacketBuffer &packet_buffer)
 Sets the packet buffer in the parsed packet buffer.

Static Public Member Functions

static bool sortForIncreasingOffset (const ParsedPacketBuffer &ppb1, const ParsedPacketBuffer &ppb2)
 Static function to sort ParsedPacketBuffers.

Private Attributes

sick::datastructure::DatagramHeader m_datagram_header
 Parsed datagramheader.
sick::datastructure::PacketBuffer m_packet_buffer
 PacketBuffer.

Detailed Description

Struct of a PacketBuffer with a parsed header.

Definition at line 57 of file ParsedPacketBuffer.h.


Member Typedef Documentation

Definition at line 60 of file ParsedPacketBuffer.h.


Constructor & Destructor Documentation

Constructor of ParsedPacketBuffer.

Parameters:
packet_buffer,:Input Packetbuffer
datagram_header,:Input parsed header of PacketBuffer.

Definition at line 40 of file ParsedPacketBuffer.cpp.


Member Function Documentation

Returns the contains packet buffer of the parsed packet buffer.

Returns:
The packet buffer, contained in the parsed packet buffer.

Definition at line 47 of file ParsedPacketBuffer.cpp.

Sets the packet buffer in the parsed packet buffer.

Parameters:
packet_bufferThe new packet buffer for the parsed packet buffer.

Definition at line 52 of file ParsedPacketBuffer.cpp.

static bool sick::datastructure::ParsedPacketBuffer::sortForIncreasingOffset ( const ParsedPacketBuffer ppb1,
const ParsedPacketBuffer ppb2 
) [inline, static]

Static function to sort ParsedPacketBuffers.

Parameters:
ppb1First ParsedPacketBuffer.
ppb2Second ParsedPacketBuffer.
Returns:
If first is smaller then second.

Definition at line 76 of file ParsedPacketBuffer.h.


Member Data Documentation

Parsed datagramheader.

Definition at line 103 of file ParsedPacketBuffer.h.

PacketBuffer.

Definition at line 98 of file ParsedPacketBuffer.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