17#include "sensorring/platform/SensorringExport.hpp"
68 com::ComInterface* _interface;
70 std::vector<std::unique_ptr<board::SensorBoard> > _board_vec;
Interface type definition.
Abstraction of a single sensor board.
RAII wrapper pairing a SubscriberToken with its cancel function.
unsigned int getSensorCount() const
Total number of sensor boards on this bus.
std::vector< board::SensorBoard * > getSensorBoards() const
Non-owning pointers to all sensor boards on this bus.
static std::vector< board::EnumerationInformation > queryConnectedDevices(com::ComInterfaceID interface, unsigned int timeout_ms=250)
Enumerate boards on an interface.
SensorBus(com::ComInterfaceID interface, std::vector< std::unique_ptr< board::SensorBoard > > board_vec)
Construct the bus with a communication interface and owned sensor boards.
com::ComInterface * getInterface() const
Communication interface used by this bus.
Move-only RAII wrapper that pairs a SubscriberToken with an unsubscribe callable. Destroying a Subscr...
Definition Subscription.hpp:32
Uniquely identifies a communication interface by type and name.
Definition ComInterfaceID.hpp:51