Struct of a PacketBuffer with a parsed header. More...
#include <ParsedPacketBuffer.h>
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. More... | |
ParsedPacketBuffer (const sick::datastructure::PacketBuffer &packet_buffer, sick::datastructure::DatagramHeader datagram_header) | |
Constructor of ParsedPacketBuffer. More... | |
void | setPacketBuffer (const sick::datastructure::PacketBuffer &packet_buffer) |
Sets the packet buffer in the parsed packet buffer. More... | |
Static Public Member Functions | |
static bool | sortForIncreasingOffset (const ParsedPacketBuffer &ppb1, const ParsedPacketBuffer &ppb2) |
Static function to sort ParsedPacketBuffers. More... | |
Private Attributes | |
sick::datastructure::DatagramHeader | m_datagram_header |
Parsed datagramheader. More... | |
sick::datastructure::PacketBuffer | m_packet_buffer |
PacketBuffer. More... | |
Struct of a PacketBuffer with a parsed header.
Definition at line 57 of file ParsedPacketBuffer.h.
typedef std::vector<ParsedPacketBuffer> sick::datastructure::ParsedPacketBuffer::ParsedPacketBufferVector |
Definition at line 60 of file ParsedPacketBuffer.h.
sick::datastructure::ParsedPacketBuffer::ParsedPacketBuffer | ( | const sick::datastructure::PacketBuffer & | packet_buffer, |
sick::datastructure::DatagramHeader | datagram_header | ||
) |
Constructor of ParsedPacketBuffer.
packet_buffer | Input Packetbuffer |
datagram_header | Input parsed header of PacketBuffer. |
Definition at line 40 of file ParsedPacketBuffer.cpp.
sick::datastructure::PacketBuffer sick::datastructure::ParsedPacketBuffer::getPacketBuffer | ( | ) | const |
Returns the contains packet buffer of the parsed packet buffer.
Definition at line 47 of file ParsedPacketBuffer.cpp.
void sick::datastructure::ParsedPacketBuffer::setPacketBuffer | ( | const sick::datastructure::PacketBuffer & | packet_buffer | ) |
Sets the packet buffer in the parsed packet buffer.
packet_buffer | The new packet buffer for the parsed packet buffer. |
Definition at line 52 of file ParsedPacketBuffer.cpp.
|
inlinestatic |
Static function to sort ParsedPacketBuffers.
ppb1 | First ParsedPacketBuffer. |
ppb2 | Second ParsedPacketBuffer. |
Definition at line 76 of file ParsedPacketBuffer.h.
|
private |
Parsed datagramheader.
Definition at line 103 of file ParsedPacketBuffer.h.
|
private |
Definition at line 98 of file ParsedPacketBuffer.h.