8 #ifndef META_OCEAN_DEVICES_ACCELERATION_SENSOR_3DOF_H
9 #define META_OCEAN_DEVICES_ACCELERATION_SENSOR_3DOF_H
Definition of a sample holding acceleration sensor 3DOF measurements.
Definition: AccelerationSensor3DOF.h:48
const Measurements & measurements() const
Returns all measurement values, each acceleration value in [m / s^2].
Definition: AccelerationSensor3DOF.h:125
Acceleration3DOFSample(const Timestamp ×tamp, const ObjectIds &objectIds, const Measurements &measurements, const Metadata &metadata=Metadata())
Creates a new acceleration sensor 3DOF sample.
Acceleration3DOFSample(const Timestamp ×tamp, ObjectIds &&objectIds, Measurements &&measurements, Metadata &&metadata=Metadata())
Creates a new acceleration sensor 3DOF sample.
std::vector< Vector3 > Measurements
Definition of a vector holding acceleration measurements.
Definition: AccelerationSensor3DOF.h:55
Measurements measurements_
Measurement values.
Definition: AccelerationSensor3DOF.h:86
This class is the base class for all 3DOF acceleration sensors.
Definition: AccelerationSensor3DOF.h:40
SmartObjectRef< Acceleration3DOFSample, Sample > Acceleration3DOFSampleRef
Definition of a smart object reference for 3DOF acceleration sensor samples.
Definition: AccelerationSensor3DOF.h:92
AccelerationSensor3DOF(const std::string &name, const SensorType sensorType)
Creates a new 3DOF acceleration sensor device.
static DeviceType deviceTypeAccelerationSensor3DOF(const SensorType sensorType)
Returns this device type.
Definition: AccelerationSensor3DOF.h:118
~AccelerationSensor3DOF() override
Destructs a 3DOF acceleration sensor device.
Definition of a class holding the major and minor device type.
Definition: devices/Device.h:62
@ DEVICE_SENSOR
Sensor device.
Definition: devices/Device.h:44
Definition of a sample holding a measurement.
Definition: Measurement.h:67
std::unordered_map< std::string, Value > Metadata
Definition of an unordered map mapping keys to values.
Definition: Measurement.h:61
std::vector< ObjectId > ObjectIds
Definition of a vector holding object ids.
Definition: Measurement.h:51
This class implements the base class for all sensors.
Definition: Sensor.h:36
SensorType
Definition of different sensor types.
Definition: Sensor.h:43
@ SENSOR_ACCELERATION_3DOF
3DOF acceleration sensor.
Definition: Sensor.h:47
@ SENSOR_LINEAR_ACCELERATION_3DOF
3DOF linear acceleration sensor (excluding gravity).
Definition: Sensor.h:49
This class implements a smart device reference.
Definition: DeviceRef.h:36
This template class implements a smart object reference which is a specialization of an ObjectRef obj...
Definition: SmartObjectRef.h:90
This class implements a timestamp.
Definition: Timestamp.h:36
SmartDeviceRef< AccelerationSensor3DOF > AccelerationSensor3DOFRef
Definition of a smart object reference for a 3DOF acceleration sensor.
Definition: AccelerationSensor3DOF.h:26
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15