C++ Based OPC UA Client/Server SDK
1.6.5.478
|
Specialized UserData class for UaVariable where the UserData class provides access to an DateTime value. More...
#include <nodemanagerns1.h>
Inherits UserDataVariableGetValue.
Public Member Functions | |
virtual void | setInvalid () |
Invalidate the user data. | |
virtual void | getDataValue (UaDataValue &dataValue) const |
Default implementation for getting the value as DataValue. More... | |
Public Member Functions inherited from UserDataVariableGetValue | |
UserDataVariableGetValue () | |
Creates an object of the type UserDataVariableGetValue. More... | |
virtual | ~UserDataVariableGetValue () |
Destroys the UserDataVariableGetValue object. More... | |
UserDataType | getUserDataType () const |
Returns UserDataType_GetValue as UserDataType for the class UserDataVariableGetValue. | |
virtual OpcUa_StatusCode | setDataValue (const UaDataValue &dataValue) |
Default implementation for setting the value. More... | |
Public Member Functions inherited from UserDataBase | |
UserDataBase () | |
Creates an object of the type UserDataBase. More... | |
virtual | ~UserDataBase () |
Destroys the UserDataBase object. More... | |
Additional Inherited Members | |
Public Types inherited from UserDataBase | |
enum | UserDataType { UserDataType_Custom, UserDataType_GetValue } |
Enumeration used to detect the type of user data for further processing. More... | |
Specialized UserData class for UaVariable where the UserData class provides access to an DateTime value.
This class is used for instances of the UaVariable where polling access through NodeManagerUaNode::readValues is used. This feature is supported by the node manager for namespace 1 by default.
This class can be used to provide the value of the variable through the UserData. This class can be used for a DateTime value in memory where the update of the data is not reported through internal events and the data needs to be polled.
The access to the OpcUa_DateTime variable memory is synchronized by using the shared mutex passed to this class. Therefore the same mutex must be locked when changing the OpcUa_DateTime variable in memory.
|
virtual |
Default implementation for getting the value as DataValue.
The default implementation is using getValue(). An implementation class can overwrite this method and return the DataValue directly
Reimplemented from UserDataVariableGetValue.