8#ifndef META_OCEAN_DEVICES_SERIALIZATION_SERIALIZATION_SENSOR_H
9#define META_OCEAN_DEVICES_SERIALIZATION_SERIALIZATION_SENSOR_H
21namespace Serialization
25class SerializationSensor;
66 const std::string&
library()
const override;
85 bool isStarted_ =
false;
Definition of a class holding the major and minor device type.
Definition devices/Device.h:62
This class implements the base class for all sensors.
Definition Sensor.h:36
This class implements a device factory for the Serialization library.
Definition SerializationFactory.h:29
This class implements a Serialization sensor.
Definition SerializationSensor.h:39
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.
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
The namespace covering the entire Ocean framework.
Definition Accessor.h:15