ModularConvertedValue< T, SignedT > Class Template Reference

#include <armarx/control/ethercat/ModularConvertedValue.h>

Public Member Functions

T getRaw () const
 
void init (T *raw, const hardware_config::types::ModularConvertedValueConfig modularConfig, const char *nameForDebugging="")
 
void init (T *raw, float zeroOffset, float discontinuityOffset, float maxValue, bool isInverted, const char *nameForDebugging="")
 
 ModularConvertedValue ()
 
void read ()
 
void setDiscontinuityOffset (SignedT discontinuityOffset)
 
void setZeroOffset (SignedT zeroOffset)
 
void write ()
 

Public Attributes

double value
 

Detailed Description

template<typename T, typename SignedT = std::int64_t>
class armarx::control::ethercat::ModularConvertedValue< T, SignedT >

Definition at line 41 of file ModularConvertedValue.h.

Constructor & Destructor Documentation

◆ ModularConvertedValue()

template<typename T, typename SignedT = std::int64_t>
ModularConvertedValue ( )
inline

Definition at line 45 of file ModularConvertedValue.h.

Member Function Documentation

◆ getRaw()

template<typename T, typename SignedT = std::int64_t>
T getRaw ( ) const
inline

Definition at line 159 of file ModularConvertedValue.h.

◆ init() [1/2]

template<typename T, typename SignedT = std::int64_t>
void init ( T * raw,
const hardware_config::types::ModularConvertedValueConfig modularConfig,
const char * nameForDebugging = "" )
inline

Definition at line 68 of file ModularConvertedValue.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init() [2/2]

template<typename T, typename SignedT = std::int64_t>
void init ( T * raw,
float zeroOffset,
float discontinuityOffset,
float maxValue,
bool isInverted,
const char * nameForDebugging = "" )
inline

Definition at line 81 of file ModularConvertedValue.h.

+ Here is the call graph for this function:

◆ read()

template<typename T, typename SignedT = std::int64_t>
void read ( )
inline

Definition at line 117 of file ModularConvertedValue.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDiscontinuityOffset()

template<typename T, typename SignedT = std::int64_t>
void setDiscontinuityOffset ( SignedT discontinuityOffset)
inline

Definition at line 165 of file ModularConvertedValue.h.

◆ setZeroOffset()

template<typename T, typename SignedT = std::int64_t>
void setZeroOffset ( SignedT zeroOffset)
inline

Definition at line 171 of file ModularConvertedValue.h.

◆ write()

template<typename T, typename SignedT = std::int64_t>
void write ( )
inline

Definition at line 151 of file ModularConvertedValue.h.

Member Data Documentation

◆ value

template<typename T, typename SignedT = std::int64_t>
double value

Definition at line 156 of file ModularConvertedValue.h.


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