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

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

#include <uadiagnostictypes.h>

Inherits OpcUa_ServerStatusDataType.

Public Member Functions

 UaServerStatusDataType ()
 construction
 
 UaServerStatusDataType (const UaServerStatusDataType &other)
 construction More...
 
 UaServerStatusDataType (const OpcUa_ServerStatusDataType &other)
 construction More...
 
 UaServerStatusDataType (const UaDateTime &startTime, const UaDateTime &currentTime, OpcUa_ServerState state, const UaBuildInfo &buildInfo, OpcUa_UInt32 secondsTillShutdown, const UaLocalizedText &shutdownReason)
 The server status data. More...
 
 ~UaServerStatusDataType ()
 destruction
 
void clear ()
 Clear the data of the UaServerStatusDataType. More...
 
UaServerStatusDataTypeoperator= (const UaServerStatusDataType &other)
 Assignment operator. More...
 
 operator const OpcUa_ServerStatusDataType * () const
 Return internal OpcUa_ServerStatusDataType structure. More...
 
OpcUa_ServerStatusDataType * copy () const
 Copy UaServerStatusDataType data to a newly allocated OpcUa_ServerStatusDataType. More...
 
void copyTo (OpcUa_ServerStatusDataType *pDst) const
 Copy UaServerStatusDataType data to an existing OpcUa_ServerStatusDataType structure. More...
 
void detach ()
 Reset OpcUa_ServerStatusDataType structure without clearing the data. More...
 
UaString toString () const
 Converts the UaServerStatusDataType into a UaString. More...
 

Static Public Member Functions

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

Detailed Description

Wrapper class for the UA stack structure OpcUa_ServerStatusDataType.

Constructor & Destructor Documentation

UaServerStatusDataType::UaServerStatusDataType ( const UaServerStatusDataType other)

construction

Parameters
otherthe UaServerStatusDataType.
UaServerStatusDataType::UaServerStatusDataType ( const OpcUa_ServerStatusDataType &  other)

construction

Parameters
otherthe OpcUa_ServerStatusDataType.
UaServerStatusDataType::UaServerStatusDataType ( const UaDateTime startTime,
const UaDateTime currentTime,
OpcUa_ServerState  state,
const UaBuildInfo buildInfo,
OpcUa_UInt32  secondsTillShutdown,
const UaLocalizedText shutdownReason 
)

The server status data.

Parameters
startTimethe start time of the server.
currentTimethe current time.
statethe state of the server.
buildInfoall build information about the server.
secondsTillShutdownthe seconds till the shutdown of the server occurs.
shutdownReasonthe reason why the server shut down.

Member Function Documentation

void UaServerStatusDataType::clear ( )

Clear the data of the UaServerStatusDataType.

OpcUa_ServerStatusDataType * UaServerStatusDataType::clone ( const OpcUa_ServerStatusDataType &  source)
static

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.

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

Copy OpcUa_VariableTypeAttributes data to an existing OpcUa_VariableTypeAttributes structure.

Parameters
sourceSource OpcUa_VariableTypeAttributes to clone.
copyNew copy of source OpcUa_VariableTypeAttributes.
OpcUa_ServerStatusDataType * UaServerStatusDataType::copy ( ) const

Copy UaServerStatusDataType data to a newly allocated OpcUa_ServerStatusDataType.

Returns
data to a newly allocated OpcUa_ServerStatusDataType.
void UaServerStatusDataType::copyTo ( OpcUa_ServerStatusDataType *  pDst) const

Copy UaServerStatusDataType data to an existing OpcUa_ServerStatusDataType structure.

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

Reset OpcUa_ServerStatusDataType structure without clearing the data.

UaServerStatusDataType::operator const OpcUa_ServerStatusDataType * ( ) const

Return internal OpcUa_ServerStatusDataType structure.

Returns
internal OpcUa_ServerStatusDataType structure.
UaServerStatusDataType & UaServerStatusDataType::operator= ( const UaServerStatusDataType other)

Assignment operator.

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

Converts the UaServerStatusDataType into a UaString.

Returns
the converted UaServerStatusDataType.

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