![]() |
EduArt Sensor Ring Library 3.0.0
|
One sensor board on a bus: holds configured devices and receives COM callbacks for enumeration and data. More...
#include <SensorBoard.hpp>
Public Member Functions | |
| SensorBoard (SensorBoardParams params, com::ComInterfaceID interface, unsigned int idx, std::vector< std::unique_ptr< BaseDevice > > devices) | |
| Construct the board with parameters, communication interface, index, and owned devices. | |
| ~SensorBoard () | |
| Destructor. | |
| bool | isEnumerated () const |
| Report whether this board has completed enumeration. | |
| const EnumerationInformation & | getEnumInfo () const |
| Return the enumeration info received from the hardware. | |
| SensorBoardType | getBoardType () const |
| Board type from configuration (undefined if not set). Used for topology enforcement. | |
| std::vector< BaseDevice * > | getDevices () const |
| Return non-owning pointers to all devices on this board. | |
One sensor board on a bus: holds configured devices and receives COM callbacks for enumeration and data.
| eduart::device::SensorBoard::SensorBoard | ( | SensorBoardParams | params, |
| com::ComInterfaceID | interface, | ||
| unsigned int | idx, | ||
| std::vector< std::unique_ptr< BaseDevice > > | devices ) |
Construct the board with parameters, communication interface, index, and owned devices.
| [in] | params | Board configuration (pose, device params). |
| [in] | interface | Communication interface ID for this board. |
| [in] | idx | Board index on the bus. |
| [in] | devices | Owned devices (sensors/actuators) on this board. |
| SensorBoardType eduart::device::SensorBoard::getBoardType | ( | ) | const |
Board type from configuration (undefined if not set). Used for topology enforcement.
| std::vector< BaseDevice * > eduart::device::SensorBoard::getDevices | ( | ) | const |
Return non-owning pointers to all devices on this board.
| const EnumerationInformation & eduart::device::SensorBoard::getEnumInfo | ( | ) | const |
Return the enumeration info received from the hardware.
| bool eduart::device::SensorBoard::isEnumerated | ( | ) | const |
Report whether this board has completed enumeration.