Wrapper classs for the ua stack structure OpcUa_ServerStatusDataType. More...

#include <uadiagnostictypes.h>

List of all members.

Public Member Functions

 UaServerStatusDataType ()
 UaServerStatusDataType (const UaServerStatusDataType &other)
 UaServerStatusDataType (const OpcUa_ServerStatusDataType &other)
 UaServerStatusDataType (const UaDateTime &startTime, const UaDateTime &currentTime, OpcUa_ServerState state, const UaBuildInfo &buildInfo, OpcUa_UInt32 secondsTillShutdown, const UaLocalizedText &shutdownReason)
 ~UaServerStatusDataType ()
void clear ()
UaServerStatusDataTypeoperator= (const UaServerStatusDataType &other)
 operator const OpcUa_ServerStatusDataType * () const
OpcUa_ServerStatusDataType * copy () const
void copyTo (OpcUa_ServerStatusDataType *pDst) const
void detach ()
UaString toString () const

Static Public Member Functions

static OpcUa_ServerStatusDataType * clone (const OpcUa_ServerStatusDataType &source)
static void cloneTo (const OpcUa_ServerStatusDataType &source, OpcUa_ServerStatusDataType &copy)

Detailed Description

Wrapper classs for the ua stack structure OpcUa_ServerStatusDataType.


Constructor & Destructor Documentation

UaServerStatusDataType::UaServerStatusDataType (  )

construction

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 sutdown of the server occurs.
shutdownReasonthe reason why the server shutted down.
UaServerStatusDataType::~UaServerStatusDataType (  )

destruction


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 exisitng 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 exisitng OpcUa_ServerStatusDataType structure.

Parameters:
pDstthe destination of the copyoperation.
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:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uadiagnostictypes.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uadiagnostictypes.cpp