EduArt Sensor Ring Library 3.0.1
Loading...
Searching...
No Matches
MeasurementManager.hpp
Go to the documentation of this file.
1// Copyright (c) 2025 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <memory>
13
18
19namespace eduart {
20
21namespace manager {
22
23// Forward declaration of implementation class
24class SENSORRING_API MeasurementManagerImpl;
25
31class SENSORRING_API MeasurementManager {
32public:
37
42
47 bool measureSome() noexcept;
48
53 bool startMeasuring() noexcept;
54
59 bool stopMeasuring() noexcept;
60
65 bool isMeasuring() noexcept;
66
71 void registerClient(MeasurementClient* observer) noexcept;
72
77 void unregisterClient(MeasurementClient* observer) noexcept;
78
83 std::string printTopology() const noexcept;
84
89 ManagerState getManagerState() const noexcept;
90
95 ManagerParams getParams() const noexcept;
96
101 void enableTofMeasurement(bool state) noexcept;
102
107 void enableThermalMeasurement(bool state) noexcept;
108
114 bool startThermalCalibration(std::size_t window) noexcept;
115
120 bool stopThermalCalibration() noexcept;
121
129 void setLight(light::LightMode mode, std::uint8_t red = 0, std::uint8_t green = 0, std::uint8_t blue = 0) noexcept;
130
131private:
132 std::unique_ptr<MeasurementManagerImpl> _mm_impl;
133};
134
135} // namespace manager
136
137} // namespace eduart
Light mode definition.
MeasurementClient that can be registered with the Logger to receive measurement data.
Parameter structure used to initialize the sensorring.
Control the import and export of Windows DLL symbols.
Observer interface of the MeasurementManager class. Defines the callback methods that are triggered b...
Definition MeasurementClient.hpp:55
void setLight(light::LightMode mode, std::uint8_t red=0, std::uint8_t green=0, std::uint8_t blue=0) noexcept
void registerClient(MeasurementClient *observer) noexcept
MeasurementManager(ManagerParams params)
void enableThermalMeasurement(bool state) noexcept
ManagerState getManagerState() const noexcept
ManagerParams getParams() const noexcept
std::string printTopology() const noexcept
void enableTofMeasurement(bool state) noexcept
void unregisterClient(MeasurementClient *observer) noexcept
bool startThermalCalibration(std::size_t window) noexcept
Parameter structure of the MeasurementManager. The MeasurementManager handles the timing and communic...
Definition Parameter.hpp:163