paramAttribute Class Reference

Attribute that gets its value from an asynNDArrayDriver driver parameter. More...

#include <paramAttribute.h>

Inheritance diagram for paramAttribute:

NDAttribute

List of all members.

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.


Detailed Description

Attribute that gets its value from an asynNDArrayDriver driver parameter.

The updateValue() method for this class retrieves the current value of the driver parameter.


Constructor & Destructor Documentation

paramAttribute::paramAttribute ( const char *  pName,
const char *  pDescription,
const char *  pSource,
int  addr,
class asynNDArrayDriver pDriver,
const char *  dataType 
)

Constructor for driver/plugin attribute.

Parameters:
[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.


Member Function Documentation

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.

Parameters:
[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.


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

Generated on Tue Aug 9 14:44:38 2011 for areaDetector by  doxygen 1.5.7.1