ParsedPacketBuffer.cpp
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 
00024 // -- END LICENSE BLOCK ------------------------------------------------
00025 
00026 //----------------------------------------------------------------------
00033 //----------------------------------------------------------------------
00034 
00035 #include "sick_safetyscanners/datastructure/ParsedPacketBuffer.h"
00036 
00037 namespace sick {
00038 namespace datastructure {
00039 
00040 ParsedPacketBuffer::ParsedPacketBuffer(const sick::datastructure::PacketBuffer& packet_buffer,
00041                                        DatagramHeader datagram_header)
00042   : m_packet_buffer(packet_buffer)
00043   , m_datagram_header(datagram_header)
00044 {
00045 }
00046 
00047 sick::datastructure::PacketBuffer ParsedPacketBuffer::getPacketBuffer() const
00048 {
00049   return m_packet_buffer;
00050 }
00051 
00052 void ParsedPacketBuffer::setPacketBuffer(const sick::datastructure::PacketBuffer& packet_buffer)
00053 {
00054   m_packet_buffer = packet_buffer;
00055 }
00056 
00057 
00058 } // namespace datastructure
00059 } // namespace sick


sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Tue May 7 2019 03:27:36