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. | |
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. |
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.
static bool sick::datastructure::ParsedPacketBuffer::sortForIncreasingOffset | ( | const ParsedPacketBuffer & | ppb1, |
const ParsedPacketBuffer & | ppb2 | ||
) | [inline, static] |
Static function to sort ParsedPacketBuffers.
ppb1 | First ParsedPacketBuffer. |
ppb2 | Second ParsedPacketBuffer. |
Definition at line 76 of file ParsedPacketBuffer.h.
sick::datastructure::DatagramHeader sick::datastructure::ParsedPacketBuffer::m_datagram_header [private] |
Parsed datagramheader.
Definition at line 103 of file ParsedPacketBuffer.h.
sick::datastructure::PacketBuffer sick::datastructure::ParsedPacketBuffer::m_packet_buffer [private] |
Definition at line 98 of file ParsedPacketBuffer.h.