8#ifndef META_OCEAN_DEVICES_SERIALIZATION_SERIALIZATION_SENSOR_H
9#define META_OCEAN_DEVICES_SERIALIZATION_SERIALIZATION_SENSOR_H
66 const std::string&
library()
const override;
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
const std::string & name() const
Returns the name of this device.
Definition devices/Device.h:340
Sensor(const std::string &name, const DeviceType type)
Creates a new sensor object.
This class implements a Serialization sensor.
Definition SerializationSensor.h:39
friend class SerializationFactory
Definition SerializationSensor.h:40
SerializationSensor(const std::string &name, const DeviceType &type)
Creates a new sensor object.
const std::string & library() const override
Returns the name of the owner library.
bool start() override
Starts the device.
~SerializationSensor() override
Destructs a new Serialization sensor object.
bool isStarted() const override
Returns whether this device is active.
bool isStarted_
True, if the sensor is started.
Definition SerializationSensor.h:85
std::string library_
The name of the library of this device.
Definition SerializationSensor.h:88
bool stop() override
Stops the device.
This class implements a smart device reference.
Definition DeviceRef.h:36
SmartDeviceRef< SerializationSensor > SerializationSensorRef
Definition of a smart object reference for a Serialization sensor.
Definition SerializationSensor.h:32
Namespace of the Devices Serialization library.
Definition DeviceSerializer.h:32
Namespace of the Devices library.
Definition AccelerationSensor3DOF.h:24
The namespace covering the entire Ocean framework.
Definition Accessor.h:15