Program Listing for File LatestTelegram.h
↰ Return to documentation for file (/tmp/ws/src/sick_safetyscanners_base/include/sick_safetyscanners_base/datastructure/LatestTelegram.h
)
// this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// -- END LICENSE BLOCK ------------------------------------------------
//----------------------------------------------------------------------
//----------------------------------------------------------------------
#ifndef SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_LATESTTELEGRAM_H
#define SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_LATESTTELEGRAM_H
#include "sick_safetyscanners_base/datastructure/MeasurementData.h"
#include <iostream>
#include <memory>
namespace sick {
namespace datastructure {
class LatestTelegram
{
public:
LatestTelegram();
std::shared_ptr<MeasurementData> getMeasurementDataPtr() const;
void setMeasurementDataPtr(const std::shared_ptr<MeasurementData>& measurement_data_ptr);
private:
std::shared_ptr<MeasurementData> m_measurement_data_ptr;
};
} // namespace datastructure
} // namespace sick
#endif // SICK_SAFETYSCANNERS_BASE_DATASTRUCTURE_LATESTTELEGRAM_H