EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::hal::ScalablePeripheralOutput< T > Class Template Reference

#include <ScalablePeripheralOutput.hpp>

Inheritance diagram for eeros::hal::ScalablePeripheralOutput< T >:
Collaboration diagram for eeros::hal::ScalablePeripheralOutput< T >:

Public Member Functions

 ScalablePeripheralOutput (std::string id, T scale, T offset)
 
virtual ~ScalablePeripheralOutput ()
 
virtual T getScale ()
 
virtual T getOffset ()
 
virtual void setScale (T s)
 
virtual void setOffset (T o)
 
- Public Member Functions inherited from eeros::hal::PeripheralOutput< T >
 PeripheralOutput (std::string id)
 
virtual ~PeripheralOutput ()
 
virtual std::string getId () const
 
virtual T get ()=0
 
virtual void set (T value)=0
 
- Public Member Functions inherited from eeros::hal::PeripheralOutputInterface
virtual ~PeripheralOutputInterface ()
 

Protected Attributes

scale
 
offset
 

Constructor & Destructor Documentation

template<typename T>
eeros::hal::ScalablePeripheralOutput< T >::ScalablePeripheralOutput ( std::string  id,
scale,
offset 
)
inlineexplicit
template<typename T>
virtual eeros::hal::ScalablePeripheralOutput< T >::~ScalablePeripheralOutput ( )
inlinevirtual

Member Function Documentation

template<typename T>
virtual T eeros::hal::ScalablePeripheralOutput< T >::getOffset ( )
inlinevirtual
template<typename T>
virtual T eeros::hal::ScalablePeripheralOutput< T >::getScale ( )
inlinevirtual
template<typename T>
virtual void eeros::hal::ScalablePeripheralOutput< T >::setOffset ( o)
inlinevirtual
template<typename T>
virtual void eeros::hal::ScalablePeripheralOutput< T >::setScale ( s)
inlinevirtual

Member Data Documentation

template<typename T>
T eeros::hal::ScalablePeripheralOutput< T >::offset
protected
template<typename T>
T eeros::hal::ScalablePeripheralOutput< T >::scale
protected

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