The class
UaStatus handles status codes, conversions of the status code and diagnostic information. Derived from
UaStatusCode.
More...
#include <statuscode.h>
List of all members.
Detailed Description
The class
UaStatus handles status codes, conversions of the status code and diagnostic information. Derived from
UaStatusCode.
UaStatus
Constructor & Destructor Documentation
UaStatus::UaStatus |
( |
const OpcUa_StatusCode & |
other |
) |
|
construction
- Parameters:
-
| other | the OpcUa_StatusCode. |
UaStatus::UaStatus |
( |
const UaStatus & |
other |
) |
|
Member Function Documentation
UaStatus & UaStatus::operator= |
( |
const OpcUa_StatusCode & |
other |
) |
|
Implements the operator = for OpcUa_StatusCode.
- Parameters:
-
| other | the OpcUa_StatusCode to assign. |
- Returns:
- Error code
Reimplemented from UaStatusCode.
Implements the operator = for UaStatus.
- Parameters:
-
- Returns:
- Error code
void UaStatus::setStatus |
( |
OpcUa_StatusCode |
statusCode, |
|
|
const UaString & |
sDiagnosticInfo | |
|
) |
| | |
Set a status code and a diagnostic info.
- Parameters:
-
| statusCode | the OPC UA Status code |
| sDiagnosticInfo | the diagnostic information. |
Set a symbolicId and a diagnostic info.
- Parameters:
-
void UaStatus::setDiagnostigInfo |
( |
OpcUa_UInt16 |
namespaceIndex, |
|
|
OpcUa_UInt32 |
numericReturnCode, |
|
|
const UaLocalizedText & |
diagnosticInfo | |
|
) |
| | |
Set a numeric return code and a diagnostic info.
- Parameters:
-
| namespaceIndex | the NamespaceIndex. |
| numericReturnCode | a numeric return code. |
| diagnosticInfo | Optional diagnostig information requested by the client. |
void UaStatus::setAdditionalInfo |
( |
const UaString & |
sAdditionalInfo |
) |
|
Set the string for additional dignostic information.
- Parameters:
-
| sAdditionalInfo | the additional dignostic information. |
The documentation for this class was generated from the following files:
- src/uabase/uabasecpp/statuscode.h
- src/uabase/uabasecpp/statuscode.cpp