include
sick_safetyscanners
datastructure
LatestTelegram.h
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
35
#ifndef SICK_SAFETYSCANNERS_DATASTRUCTURE_LATESTTELEGRAM_H
36
#define SICK_SAFETYSCANNERS_DATASTRUCTURE_LATESTTELEGRAM_H
37
38
#include <iostream>
39
#include <memory>
40
#include <
sick_safetyscanners/datastructure/MeasurementData.h
>
41
42
43
namespace
sick
{
44
namespace
datastructure {
45
49
class
LatestTelegram
50
{
51
public
:
55
LatestTelegram
();
56
62
std::shared_ptr<MeasurementData>
getMeasurementDataPtr
()
const
;
68
void
setMeasurementDataPtr
(
const
std::shared_ptr<MeasurementData>& measurement_data_ptr);
69
70
private
:
71
std::shared_ptr<MeasurementData>
m_measurement_data_ptr
;
72
};
73
74
75
}
// namespace datastructure
76
}
// namespace sick
77
78
#endif // SICK_SAFETYSCANNERS_DATASTRUCTURE_LATESTTELEGRAM_H
sick::datastructure::LatestTelegram::getMeasurementDataPtr
std::shared_ptr< MeasurementData > getMeasurementDataPtr() const
Gets the measurement data.
Definition:
LatestTelegram.cpp:42
sick
Definition:
ApplicationNameVariableCommand.h:43
sick::datastructure::LatestTelegram::LatestTelegram
LatestTelegram()
Constructor of the latest telegram.
Definition:
LatestTelegram.cpp:40
MeasurementData.h
sick::datastructure::LatestTelegram::m_measurement_data_ptr
std::shared_ptr< MeasurementData > m_measurement_data_ptr
Definition:
LatestTelegram.h:71
sick::datastructure::LatestTelegram
Class containing the latest telegram of a laser scanner.
Definition:
LatestTelegram.h:49
sick::datastructure::LatestTelegram::setMeasurementDataPtr
void setMeasurementDataPtr(const std::shared_ptr< MeasurementData > &measurement_data_ptr)
Sets the measurement data.
Definition:
LatestTelegram.cpp:47
sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Aug 2 2024 08:28:39