Class blmc_drivers::AnalogSensorInterface

class AnalogSensorInterface : public blmc_drivers::DeviceInterface, public blmc_drivers::DeviceInterface

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

Subclassed by blmc_drivers::AnalogSensor, blmc_drivers::AnalogSensor

Public Types

typedef time_series::TimeSeries<double> ScalarTimeseries

This is just a short cut for the time series types.

typedef time_series::TimeSeries<double> ScalarTimeseries

This is just a short cut for the time series types.

Public Functions

virtual std::shared_ptr<const ScalarTimeseries> get_measurement() const = 0

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

inline virtual ~AnalogSensorInterface()

Destroy the AnalogSensorInterface object.

virtual std::shared_ptr<const ScalarTimeseries> get_measurement() const = 0

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

inline virtual ~AnalogSensorInterface()

Destroy the AnalogSensorInterface object.