UA Server SDK C++ Bundle
1.3.3.206
|
Specialized UserData class for UaVariable in namespace 1 where the UserData class provides access to a integer counter. More...
#include <nodemanagerns1.h>
Inherits UaVariableNs1UserDataGetValue.
Public Member Functions | |
UaVariableNs1UserDataGetCounter (int *pData) | |
Constructs a user data object for a Variable containing an integer value. More... | |
void | setInvalid () |
Invalidate the user data. | |
virtual OpcUa_StatusCode | getValue (UaVariant &value) const |
Get the value for the variable. | |
Specialized UserData class for UaVariable in namespace 1 where the UserData class provides access to a integer counter.
This class is used for instances of the UaVariable where polling access through NodeManagerUaNode::readValues is used for variables in namespace 1.
This class can be used to provide the value of the variable through the UserData. This option can be used for an integer value in memory where the update of the data is not reported through internal events and the data needs to be polled.
UaVariableNs1UserDataGetCounter::UaVariableNs1UserDataGetCounter | ( | int * | pData | ) |
Constructs a user data object for a Variable containing an integer value.
[in] | pData | Pointer to the integer value used as value for the variable |