ParsedPacketBuffer.cpp
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 
24 // -- END LICENSE BLOCK ------------------------------------------------
25 
26 //----------------------------------------------------------------------
33 //----------------------------------------------------------------------
34 
36 
37 namespace sick {
38 namespace datastructure {
39 
41  DatagramHeader datagram_header)
42  : m_packet_buffer(packet_buffer)
43  , m_datagram_header(datagram_header)
44 {
45 }
46 
48 {
49  return m_packet_buffer;
50 }
51 
53 {
54  m_packet_buffer = packet_buffer;
55 }
56 
57 
58 } // namespace datastructure
59 } // namespace sick
A packetbuffer for the raw data from the sensor.
Definition: PacketBuffer.h:61
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.
sick::datastructure::PacketBuffer m_packet_buffer
PacketBuffer.
Contains the contents of a udp datagram header. Used to match the datagrams together to form a comple...


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:41