35 #ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_PARSEDPACKETBUFFER_H 36 #define SICK_SAFETYSCANNERS_DATASTRUCTURE_PARSEDPACKETBUFFER_H 43 #include <boost/array.hpp> 44 #include <boost/asio.hpp> 51 namespace datastructure {
110 #endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_PACKETBUFFER_H
Struct of a PacketBuffer with a parsed header.
A packetbuffer for the raw data from the sensor.
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.
sick::datastructure::PacketBuffer getPacketBuffer() const
Returns the contains packet buffer of the parsed packet buffer.
static bool sortForIncreasingOffset(const ParsedPacketBuffer &ppb1, const ParsedPacketBuffer &ppb2)
Static function to sort ParsedPacketBuffers.
sick::datastructure::DatagramHeader m_datagram_header
Parsed datagramheader.
sick::datastructure::PacketBuffer m_packet_buffer
PacketBuffer.
std::vector< ParsedPacketBuffer > ParsedPacketBufferVector