UaVariableNs1UserDataGetCounter Class Reference

#include <nodemanagerns1.h>

Inheritance diagram for UaVariableNs1UserDataGetCounter:
Collaboration diagram for UaVariableNs1UserDataGetCounter:

List of all members.

Public Member Functions

 UaVariableNs1UserDataGetCounter (int *pData)
void setInvalid ()
virtual OpcUa_StatusCode getValue (UaVariant &value) const

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

Member Function Documentation

OpcUa_StatusCode UaVariableNs1UserDataGetCounter::getValue ( UaVariant value ) const [virtual]

Get the value for the variable.

Implements UaVariableNs1UserDataGetValue.

void UaVariableNs1UserDataGetCounter::setInvalid (  )

Invalidate the user data.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/nodemanagerns1.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/nodemanagerns1.cpp