8#ifndef META_OCEAN_DEVICES_SENSOR_H
9#define META_OCEAN_DEVICES_SENSOR_H
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
DeviceType type() const
Returns the major and minor type of this device.
Definition devices/Device.h:345
@ MINOR_INVALID
Invalid minor type.
Definition devices/Device.h:55
const std::string & name() const
Returns the name of this device.
Definition devices/Device.h:340
Measurement(const std::string &name, const DeviceType type)
Creates a new measurement object.
This class implements the base class for all sensors.
Definition Sensor.h:36
virtual ~Sensor()
Destructs a sensor object.
static std::string translateSensorType(const SensorType sensorType)
Translates the sensor type to a readable string.
static SensorType translateSensorType(const std::string &sensorType)
Translates the sensor type from a readable string to a value.
Sensor(const std::string &name, const DeviceType type)
Creates a new sensor object.
SensorType
Definition of different sensor types.
Definition Sensor.h:43
@ SENSOR_ACCELERATION_3DOF
3DOF acceleration sensor.
Definition Sensor.h:47
@ SENSOR_INVALID
Invalid sensor.
Definition Sensor.h:45
@ SENSOR_LINEAR_ACCELERATION_3DOF
3DOF linear acceleration sensor (excluding gravity).
Definition Sensor.h:49
@ SENSOR_GYRO_RAW_3DOF
3DOF gyro sensor (raw samples).
Definition Sensor.h:51
@ SENSOR_GYRO_UNBIASED_3DOF
3DOF gyro sensor (unbiased samples).
Definition Sensor.h:53
This template class implements a smart object reference which is a specialization of an ObjectRef obj...
Definition SmartObjectRef.h:90
SmartObjectRef< Sensor, Device > SensorRef
Definition of a sensor reference object.
Definition Sensor.h:28
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15