areaDetector  3-14
EPICS areaDetector framework
Public Member Functions | Protected Attributes | List of all members
MultiParameter< valueCount, T > Class Template Reference

#include <rixscam.h>

Inheritance diagram for MultiParameter< valueCount, T >:
ParameterBase

Public Member Functions

 MultiParameter (const std::string &rootName, const short internalIndex, const T &minimumValue, const T &maximumValue, const T &defaultValue, const T &scale)
 
asynStatus Initialize (asynPortDriver &driver)
 
Value (asynPortDriver &driver, size_t index)
 
int ScaledValue (asynPortDriver &driver, size_t index)
 
asynStatus SetValue (asynPortDriver &driver, size_t index, T newValue)
 
bool SetValueAtMinimum (asynPortDriver &driver, size_t index, T minimumValue)
 
asynStatus SetScaledValue (asynPortDriver &driver, size_t index, int newValue)
 
bool Normalize (asynPortDriver &driver, size_t index)
 
bool HasParameterIndex (int indexToMatch) const
 
short InternalIndex (size_t index, short indexStep)
 

Protected Attributes

const short _internalIndex
 
const T _defaultValue
 
const T _minValue
 
const T _maxValue
 
std::vector< Parameter< T > > _parameters
 
- Protected Attributes inherited from ParameterBase
const std::string _name
 

Additional Inherited Members

- Protected Member Functions inherited from ParameterBase
 ParameterBase (const std::string &name)
 
asynStatus SetParameter (asynPortDriver &driver, const int parameterIndex, const epicsInt32 value)
 
asynStatus SetParameter (asynPortDriver &driver, const int parameterIndex, const epicsFloat64 value)
 
asynStatus GetParameter (asynPortDriver &driver, const int parameterIndex, epicsInt32 &value)
 
asynStatus GetParameter (asynPortDriver &driver, const int parameterIndex, epicsFloat64 &value)
 

Constructor & Destructor Documentation

◆ MultiParameter()

template<int valueCount, typename T >
MultiParameter< valueCount, T >::MultiParameter ( const std::string &  rootName,
const short  internalIndex,
const T &  minimumValue,
const T &  maximumValue,
const T &  defaultValue,
const T &  scale 
)
inline

Member Function Documentation

◆ HasParameterIndex()

template<int valueCount, typename T >
bool MultiParameter< valueCount, T >::HasParameterIndex ( int  indexToMatch) const
inline

◆ Initialize()

template<int valueCount, typename T >
asynStatus MultiParameter< valueCount, T >::Initialize ( asynPortDriver &  driver)
inlinevirtual

Implements ParameterBase.

◆ InternalIndex()

template<int valueCount, typename T >
short MultiParameter< valueCount, T >::InternalIndex ( size_t  index,
short  indexStep 
)
inline

◆ Normalize()

template<int valueCount, typename T >
bool MultiParameter< valueCount, T >::Normalize ( asynPortDriver &  driver,
size_t  index 
)
inline

◆ ScaledValue()

template<int valueCount, typename T >
int MultiParameter< valueCount, T >::ScaledValue ( asynPortDriver &  driver,
size_t  index 
)
inline

◆ SetScaledValue()

template<int valueCount, typename T >
asynStatus MultiParameter< valueCount, T >::SetScaledValue ( asynPortDriver &  driver,
size_t  index,
int  newValue 
)
inline

◆ SetValue()

template<int valueCount, typename T >
asynStatus MultiParameter< valueCount, T >::SetValue ( asynPortDriver &  driver,
size_t  index,
newValue 
)
inline

◆ SetValueAtMinimum()

template<int valueCount, typename T >
bool MultiParameter< valueCount, T >::SetValueAtMinimum ( asynPortDriver &  driver,
size_t  index,
minimumValue 
)
inline

◆ Value()

template<int valueCount, typename T >
T MultiParameter< valueCount, T >::Value ( asynPortDriver &  driver,
size_t  index 
)
inline

Member Data Documentation

◆ _defaultValue

template<int valueCount, typename T >
const T MultiParameter< valueCount, T >::_defaultValue
protected

◆ _internalIndex

template<int valueCount, typename T >
const short MultiParameter< valueCount, T >::_internalIndex
protected

◆ _maxValue

template<int valueCount, typename T >
const T MultiParameter< valueCount, T >::_maxValue
protected

◆ _minValue

template<int valueCount, typename T >
const T MultiParameter< valueCount, T >::_minValue
protected

◆ _parameters

template<int valueCount, typename T >
std::vector<Parameter<T> > MultiParameter< valueCount, T >::_parameters
protected

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