DUDS
Distributed Update of Data from Something
duds::hardware::devices Namespace Reference

The root namespace for various device drivers to support specific hardware items. More...

Namespaces

 clocks
 The place for clock drivers; a way to use time keeping devices.
 
 displays
 Support for specific display devices.
 
 instruments
 The namespace with support for various instruments that sense properties of the physical world.
 

Classes

struct  DeviceError
 The base type for errors from devices. More...
 
struct  DeviceMisidentified
 An attempt was made to use a device that seems to exist, but the responding device is not the type that was expected. More...
 
struct  DeviceUninitalized
 An attempt was made to use a device prior to running a required initialization step. More...
 
class  GenericDevice
 Represents something with one or more sensors that are sampled through the same hardware. More...
 
class  GenericSensor
 Represents a sensor on a specific Device; allows access to measurements without needing to use a Device object. More...
 

Typedefs

typedef GenericDevice< duds::data::GenericValue, double, duds::time::interstellar::NanoTime, float > Device
 
typedef std::shared_ptr< DeviceDeviceSptr
 
typedef std::weak_ptr< DeviceDeviceWptr
 
typedef GenericSensor< duds::data::GenericValue, double, duds::time::interstellar::NanoTime, float > Sensor
 
typedef std::shared_ptr< SensorSensorSptr
 
typedef std::weak_ptr< SensorSensorWptr
 

Detailed Description

The root namespace for various device drivers to support specific hardware items.

Code that is not device specific should go elsewhere.

Typedef Documentation

◆ Device

◆ DeviceSptr

typedef std::shared_ptr<Device> duds::hardware::devices::DeviceSptr

Definition at line 206 of file Device.hpp.

◆ DeviceWptr

Definition at line 207 of file Device.hpp.

◆ Sensor

◆ SensorSptr

typedef std::shared_ptr<Sensor> duds::hardware::devices::SensorSptr

Definition at line 168 of file Sensor.hpp.

◆ SensorWptr

Definition at line 169 of file Sensor.hpp.