13#include <unordered_map>
16#include "sensorring/platform/SensorringExport.hpp"
43using DeviceParamsMap = std::unordered_map<DeviceType, std::shared_ptr<DeviceParams> >;
Device identifier (type, name, index) for device registration.
std::unordered_map< DeviceType, std::shared_ptr< DeviceParams > > DeviceParamsMap
Container for device parameters keyed by device type.
Definition DeviceParams.hpp:43
Identifier for a device: type, human-readable name, and index.
Definition DeviceID.hpp:27
Base parameter structure of a device. A device is one sensor or actuator on a sensor board.
Definition DeviceParams.hpp:28
double max_rate_hz
Definition DeviceParams.hpp:39
bool enable
Whether the device is enabled at creation.
Definition DeviceParams.hpp:35
DeviceID id
Device identifier (type, name, index).
Definition DeviceParams.hpp:32