blmc_drivers
blmc_drivers::AnalogSensorInterface Class Referenceabstract

AnalogSensorInterface class is a simple abstract interface for using blmc analog measurements. More...

#include <analog_sensor.hpp>

Inheritance diagram for blmc_drivers::AnalogSensorInterface:
Collaboration diagram for blmc_drivers::AnalogSensorInterface:

Public Types

typedef real_time_tools::ThreadsafeTimeseries< double > ScalarTimeseries
 This is just a short cut for the time series types.
 

Public Member Functions

virtual std::shared_ptr< const ScalarTimeseriesget_measurement () const =0
 Get the measurement object which is the list of time stamped data. More...
 
virtual ~AnalogSensorInterface ()
 Destroy the AnalogSensorInterface object. More...
 

Detailed Description

AnalogSensorInterface class is a simple abstract interface for using blmc analog measurements.

Constructor & Destructor Documentation

◆ ~AnalogSensorInterface()

virtual blmc_drivers::AnalogSensorInterface::~AnalogSensorInterface ( )
inlinevirtual

Destroy the AnalogSensorInterface object.

Member Function Documentation

◆ get_measurement()

virtual std::shared_ptr<const ScalarTimeseries> blmc_drivers::AnalogSensorInterface::get_measurement ( ) const
pure virtual

Get the measurement object which is the list of time stamped data.

Returns
std::shared_ptr<const ScalarTimeseries> which is a pointer to the a list of time stamped data

Implemented in blmc_drivers::AnalogSensor.


The documentation for this class was generated from the following file: