UaServerStatusDataType Class Reference
[UA Base Library Classes]

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:
other the UaServerStatusDataType.

UaServerStatusDataType::UaServerStatusDataType ( const OpcUa_ServerStatusDataType &  other  ) 

construction

Parameters:
other the 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:
startTime the start time of the server.
currentTime the current time.
state the state of the server.
buildInfo all build information about the server.
secondsTillShutdown the seconds till the sutdown of the server occurs.
shutdownReason the reason why the server shutted down.

UaServerStatusDataType::~UaServerStatusDataType (  ) 

destruction


Member Function Documentation

void UaServerStatusDataType::clear (  ) 

Clear the data of the UaServerStatusDataType.

UaServerStatusDataType & UaServerStatusDataType::operator= ( const UaServerStatusDataType other  ) 

Assignment operator.

Parameters:
other the UaServerStatusDataType to assign.
Returns:
Assignment operator.

UaServerStatusDataType::operator const OpcUa_ServerStatusDataType * (  )  const

Return internal OpcUa_ServerStatusDataType structure.

Returns:
internal OpcUa_ServerStatusDataType structure.

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:
pDst the destination of the copyoperation.

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

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes..

Parameters:
source Source 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:
source Source OpcUa_VariableTypeAttributes to clone.
copy New copy of source OpcUa_VariableTypeAttributes.

void UaServerStatusDataType::detach (  ) 

Reset OpcUa_ServerStatusDataType structure without clearing the data.

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:
  • src/uabase/uabasecpp/uadiagnostictypes.h
  • src/uabase/uabasecpp/uadiagnostictypes.cpp