|
| | paramAttribute (const char *pName, const char *pDescription, const char *pSource, int addr, class asynNDArrayDriver *pDriver, const char *dataType) |
| | Constructor for driver/plugin attribute.
|
| |
| | paramAttribute (paramAttribute &attribute) |
| | Copy constructor for driver/plugin attribute.
|
| |
| | ~paramAttribute () |
| | Destructor for driver/plugin attribute.
|
| |
| paramAttribute * | copy (NDAttribute *pAttribute) |
| | Copies properties from this to pOut.
|
| |
| 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 (FILE *fp, int details) |
| | Reports on the properties of the paramAttribute object; calls base class NDAttribute::report() to report on the parameter value.
|
| |
| | NDAttribute (const char *pName, const char *pDescription, NDAttrSource_t sourceType, const char *pSource, NDAttrDataType_t dataType, void *pValue) |
| | NDAttribute constructor.
|
| |
| | NDAttribute (NDAttribute &attribute) |
| | NDAttribute copy constructor.
|
| |
| virtual | ~NDAttribute () |
| | NDAttribute destructor.
|
| |
| virtual const char * | getName () |
| | Returns the name of this attribute.
|
| |
| virtual const char * | getDescription () |
| | Returns the description of this attribute.
|
| |
| virtual const char * | getSource () |
| | Returns the source string of this attribute.
|
| |
| virtual const char * | getSourceInfo (NDAttrSource_t *pSourceType) |
| | Returns the source information of this attribute.
|
| |
| virtual NDAttrDataType_t | getDataType () |
| | Returns the data type of this attribute.
|
| |
| virtual int | getValueInfo (NDAttrDataType_t *pDataType, size_t *pDataSize) |
| | Returns the data type and size of this attribute.
|
| |
| virtual int | getValue (NDAttrDataType_t dataType, void *pValue, size_t dataSize=0) |
| | Returns the value of this attribute.
|
| |
| virtual int | getValue (std::string &value) |
| | Returns the value of an NDAttrString attribute as an std::string.
|
| |
| virtual int | setDataType (NDAttrDataType_t dataType) |
| | Sets the data type of this attribute.
|
| |
| virtual int | setValue (const void *pValue) |
| | Sets the value for this attribute.
|
| |
| virtual int | setValue (const std::string &) |
| | Sets the value for this attribute.
|
| |
Attribute that gets its value from an asynNDArrayDriver driver parameter.
The updateValue() method for this class retrieves the current value of the driver parameter.