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

Wrapper class for the UA stack structure OpcUa_RedundantServerDataType. More...

#include <uadiagnostictypes.h>

Public Member Functions

 UaRedundantServerDataType ()
 construction
 UaRedundantServerDataType (const UaRedundantServerDataType &other)
 construction
 UaRedundantServerDataType (const OpcUa_RedundantServerDataType &other)
 construction
 UaRedundantServerDataType (const UaString &serverId, OpcUa_Byte serviceLevel, OpcUa_ServerState serverState)
 The server status data.
 ~UaRedundantServerDataType ()
 destruction
void clear ()
 Clear the data of the UaRedundantServerDataType.
UaRedundantServerDataTypeoperator= (const UaRedundantServerDataType &other)
 Assignment operator.
 operator const OpcUa_RedundantServerDataType * () const
 Return internal OpcUa_RedundantServerDataType structure.
OpcUa_RedundantServerDataType * copy () const
 Copy UaRedundantServerDataType data to a newly allocated OpcUa_RedundantServerDataType.
void copyTo (OpcUa_RedundantServerDataType *pDst) const
 Copy UaRedundantServerDataType data to an existing OpcUa_RedundantServerDataType structure.
void detach ()
 Reset OpcUa_RedundantServerDataType structure without clearing the data.
UaString toString () const
 Converts the UaRedundantServerDataType into a UaString.

Static Public Member Functions

static
OpcUa_RedundantServerDataType * 
clone (const OpcUa_RedundantServerDataType &source)
 Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
static void cloneTo (const OpcUa_RedundantServerDataType &source, OpcUa_RedundantServerDataType &copy)
 Copy OpcUa_VariableTypeAttributes data to an exisitng OpcUa_VariableTypeAttributes structure.

Detailed Description

Wrapper class for the UA stack structure OpcUa_RedundantServerDataType.

Constructor & Destructor Documentation

UaRedundantServerDataType::UaRedundantServerDataType ( const UaRedundantServerDataType other)

construction

Parameters
otherthe UaRedundantServerDataType.
UaRedundantServerDataType::UaRedundantServerDataType ( const OpcUa_RedundantServerDataType &  other)

construction

Parameters
otherthe OpcUa_RedundantServerDataType.
UaRedundantServerDataType::UaRedundantServerDataType ( const UaString serverId,
OpcUa_Byte  serviceLevel,
OpcUa_ServerState  serverState 
)

The server status data.

Parameters
serverIdthe serverId of the redundant server.
serviceLevelthe serviceLevel of the redundant server.
serverStatethe state of the redundant server.

Member Function Documentation

void UaRedundantServerDataType::clear ( )

Clear the data of the UaRedundantServerDataType.

OpcUa_RedundantServerDataType * UaRedundantServerDataType::clone ( const OpcUa_RedundantServerDataType &  source)
static

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.

Parameters
sourceSource to clone.
Returns
new copy.
void UaRedundantServerDataType::cloneTo ( const OpcUa_RedundantServerDataType &  source,
OpcUa_RedundantServerDataType &  copy 
)
static

Copy OpcUa_VariableTypeAttributes data to an exisitng OpcUa_VariableTypeAttributes structure.

Parameters
sourceSource OpcUa_VariableTypeAttributes to clone.
copyNew copy of source OpcUa_VariableTypeAttributes.
OpcUa_RedundantServerDataType * UaRedundantServerDataType::copy ( ) const

Copy UaRedundantServerDataType data to a newly allocated OpcUa_RedundantServerDataType.

Returns
data to a newly allocated OpcUa_RedundantServerDataType.
void UaRedundantServerDataType::copyTo ( OpcUa_RedundantServerDataType *  pDst) const

Copy UaRedundantServerDataType data to an existing OpcUa_RedundantServerDataType structure.

Parameters
pDstthe destination of the copy operation.
void UaRedundantServerDataType::detach ( )

Reset OpcUa_RedundantServerDataType structure without clearing the data.

UaRedundantServerDataType::operator const OpcUa_RedundantServerDataType * ( ) const

Return internal OpcUa_RedundantServerDataType structure.

Returns
internal OpcUa_RedundantServerDataType structure.
UaRedundantServerDataType & UaRedundantServerDataType::operator= ( const UaRedundantServerDataType other)

Assignment operator.

Parameters
otherthe UaRedundantServerDataType to assign.
Returns
Assignment operator.
UaString UaRedundantServerDataType::toString ( ) const

Converts the UaRedundantServerDataType into a UaString.

Returns
the converted UaRedundantServerDataType.

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