UA Server SDK C++ Bundle  1.3.2.200
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
UaVariableNs1UserDataGetCounter Class Reference

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.
void setInvalid ()
 Invalidate the user data.
virtual OpcUa_StatusCode getValue (UaVariant &value) const
 Get the value for the variable.

Detailed Description

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.

Constructor & Destructor Documentation

UaVariableNs1UserDataGetCounter::UaVariableNs1UserDataGetCounter ( int *  pData)

Constructs a user data object for a Variable containing an integer value.

Parameters
[in]pDataPointer to the integer value used as value for the variable

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