C++ Based OPC UA Client/Server SDK  1.5.5.355
UaBase::BaseNodeStandardUserData Class Reference

A default class for UserData. More...

#include <basenodes.h>

Inherits UserDataBase.

Public Member Functions

 BaseNodeStandardUserData (const Extension &extension)
 Creates a BaseNodeStandardUserData from the Extension. More...
 
virtual UserDataType getUserDataType () const
 Return the type of user data. More...
 
int address () const
 Returns the address. More...
 
- Public Member Functions inherited from UserDataBase
 UserDataBase ()
 Creates an object of the type UserDataBase. More...
 
virtual ~UserDataBase ()
 Destroys the UserDataBase object. More...
 
virtual void setInvalid ()
 This method is called by the SDK when the owning object of the user data was invalidated. 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...
 

Detailed Description

A default class for UserData.

Parses the content of an Extension. Sets the Address attribute of the Extension to the address.

Constructor & Destructor Documentation

UaBase::BaseNodeStandardUserData::BaseNodeStandardUserData ( const Extension extension)

Creates a BaseNodeStandardUserData from the Extension.

Parses the content of the extension. If the content can be parsed as integer number, the address is set.

Member Function Documentation

int UaBase::BaseNodeStandardUserData::address ( ) const

Returns the address.

UserDataBase::UserDataType UaBase::BaseNodeStandardUserData::getUserDataType ( ) const
virtual

Return the type of user data.

The default type is UserDataType_Custom.

Derived classes like the specialized class UserDataVariableGetValue can overwrite this method to set a different UserDataType.

Reimplemented from UserDataBase.


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