EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
SensorRing.hpp
Go to the documentation of this file.
1// Copyright (c) 2026 EduArt Robotik GmbH
2
9
10#pragma once
11
12#include <memory>
13#include <vector>
14
15#include "sensorring/platform/SensorringExport.hpp"
16
17#include "SensorBus.hpp"
18
19namespace eduart {
20
21namespace sensorring {
22
23namespace device {
24class Device;
25}
26
31class SENSORRING_EXPORT SensorRing {
32
33public:
38 SensorRing(std::vector<std::unique_ptr<SensorBus> > bus_vec);
39
42
47 std::vector<SensorBus*> getSensorBuses() const;
48
53 std::vector<device::Device*> getDevices() const;
54
55private:
57 std::vector<std::unique_ptr<SensorBus> > _bus_vec;
58};
59
60} // namespace sensorring
61
62} // namespace eduart
One communication bus owning multiple sensor boards.
SensorRing(std::vector< std::unique_ptr< SensorBus > > bus_vec)
Constructor.
std::vector< device::Device * > getDevices() const
Get all devices connected to the sensor ring.
std::vector< SensorBus * > getSensorBuses() const
Get all sensor bus interfaces managed by this ring.
Base class for all devices in the SensorRing.
Definition Device.hpp:43