areaDetector  3-13
EPICS areaDetector framework
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ReadOnlyParameter< T > Class Template Reference

#include <rixscam.h>

Inheritance diagram for ReadOnlyParameter< T >:
ParameterBase Parameter< epicsFloat64 > Parameter< T >

Public Member Functions

 ReadOnlyParameter (const std::string &name, const short internalIndex, const T &defaultValue, const T &scale)
 
 ReadOnlyParameter (const std::string &name, const short internalIndex, const T &defaultValue)
 
 ReadOnlyParameter (const std::string &name, const short internalIndex)
 
virtual asynStatus Initialize (asynPortDriver &driver)
 
virtual T Value (asynPortDriver &driver)
 
virtual asynStatus SetValue (asynPortDriver &driver, T newValue)
 
virtual int ScaledValue (asynPortDriver &driver)
 
virtual bool SetValueAtMinimum (asynPortDriver &driver, T minimumValue)
 
virtual asynStatus SetScaledValue (asynPortDriver &driver, int newValue)
 
virtual bool Normalize (asynPortDriver &driver)
 
virtual bool HasParameterIndex (int indexToMatch) const
 
virtual short InternalIndex () const
 

Protected Member Functions

virtual asynStatus Create (asynPortDriver &driver, const std::string &name, int &parameterIndex)
 
asynStatus Create (asynPortDriver &driver, const std::string &name, int &parameterIndex)
 
- 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)
 

Protected Attributes

_value
 
int _parameterIndex
 
const int _internalIndex
 
const T _scale
 
- Protected Attributes inherited from ParameterBase
const std::string _name
 

Constructor & Destructor Documentation

◆ ReadOnlyParameter() [1/3]

template<typename T >
ReadOnlyParameter< T >::ReadOnlyParameter ( const std::string &  name,
const short  internalIndex,
const T &  defaultValue,
const T &  scale 
)
inline

◆ ReadOnlyParameter() [2/3]

template<typename T >
ReadOnlyParameter< T >::ReadOnlyParameter ( const std::string &  name,
const short  internalIndex,
const T &  defaultValue 
)
inline

◆ ReadOnlyParameter() [3/3]

template<typename T >
ReadOnlyParameter< T >::ReadOnlyParameter ( const std::string &  name,
const short  internalIndex 
)
inline

Member Function Documentation

◆ Create() [1/2]

template<typename T >
virtual asynStatus ReadOnlyParameter< T >::Create ( asynPortDriver &  driver,
const std::string &  name,
int &  parameterIndex 
)
inlineprotectedvirtual

◆ Create() [2/2]

asynStatus ReadOnlyParameter< epicsFloat64 >::Create ( asynPortDriver &  driver,
const std::string &  name,
int &  parameterIndex 
)
protected

◆ HasParameterIndex()

template<typename T >
virtual bool ReadOnlyParameter< T >::HasParameterIndex ( int  indexToMatch) const
inlinevirtual

◆ Initialize()

template<typename T >
virtual asynStatus ReadOnlyParameter< T >::Initialize ( asynPortDriver &  driver)
inlinevirtual

Implements ParameterBase.

◆ InternalIndex()

template<typename T >
virtual short ReadOnlyParameter< T >::InternalIndex ( ) const
inlinevirtual

◆ Normalize()

template<typename T >
virtual bool ReadOnlyParameter< T >::Normalize ( asynPortDriver &  driver)
inlinevirtual

◆ ScaledValue()

template<typename T >
virtual int ReadOnlyParameter< T >::ScaledValue ( asynPortDriver &  driver)
inlinevirtual

◆ SetScaledValue()

template<typename T >
virtual asynStatus ReadOnlyParameter< T >::SetScaledValue ( asynPortDriver &  driver,
int  newValue 
)
inlinevirtual

◆ SetValue()

template<typename T >
virtual asynStatus ReadOnlyParameter< T >::SetValue ( asynPortDriver &  driver,
newValue 
)
inlinevirtual

◆ SetValueAtMinimum()

template<typename T >
virtual bool ReadOnlyParameter< T >::SetValueAtMinimum ( asynPortDriver &  driver,
minimumValue 
)
inlinevirtual

◆ Value()

template<typename T >
virtual T ReadOnlyParameter< T >::Value ( asynPortDriver &  driver)
inlinevirtual

Member Data Documentation

◆ _internalIndex

template<typename T >
const int ReadOnlyParameter< T >::_internalIndex
protected

◆ _parameterIndex

template<typename T >
int ReadOnlyParameter< T >::_parameterIndex
protected

◆ _scale

template<typename T >
const T ReadOnlyParameter< T >::_scale
protected

◆ _value

template<typename T >
T ReadOnlyParameter< T >::_value
protected

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