areaDetector 1-8
|
Attribute that gets its value from an asynNDArrayDriver driver parameter. More...
#include <paramAttribute.h>
Public Member Functions | |
paramAttribute (const char *pName, const char *pDescription, const char *pSource, int addr, class asynNDArrayDriver *pDriver, const char *dataType) | |
Constructor for driver/plugin attribute. | |
~paramAttribute () | |
Destructor for driver/plugin attribute. | |
virtual int | updateValue () |
Updates the current value of this attribute; sets the attribute value to the current value of the driver/plugin parameter in the parameter library. | |
int | report (int details) |
Reports on the properties of the paramAttribute object; calls base class NDAttribute::report() to report on the parameter value. |
Attribute that gets its value from an asynNDArrayDriver driver parameter.
The updateValue() method for this class retrieves the current value of the driver parameter.
paramAttribute::paramAttribute | ( | const char * | pName, |
const char * | pDescription, | ||
const char * | pSource, | ||
int | addr, | ||
class asynNDArrayDriver * | pDriver, | ||
const char * | dataType | ||
) |
Constructor for driver/plugin attribute.
[in] | pName | The name of the attribute to be created; case-insensitive. |
[in] | pDescription | The description of the attribute. |
[in] | pSource | The DRV_INFO string used to identify the parameter in the asynPortDriver. |
[in] | addr | The asyn addr (address) for this parameter. |
[in] | pDriver | The driver or plugin object from which to obtain the parameter. |
[in] | dataType | The data type for this parameter. Must be "INT", "DOUBLE", or "STRING" (case-insensitive). |
paramAttribute::~paramAttribute | ( | ) |
Destructor for driver/plugin attribute.
int paramAttribute::report | ( | int | details | ) | [virtual] |
Reports on the properties of the paramAttribute object; calls base class NDAttribute::report() to report on the parameter value.
[in] | details | Level of report details desired; currently does nothing in this derived class. |
Reimplemented from NDAttribute.
int paramAttribute::updateValue | ( | ) | [virtual] |
Updates the current value of this attribute; sets the attribute value to the current value of the driver/plugin parameter in the parameter library.
Reimplemented from NDAttribute.