UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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...
 

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: