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