Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
freeopcua
src
protocol
status_codes.cpp
Go to the documentation of this file.
1
9
10
#include <
opc/ua/protocol/status_codes.h
>
11
12
#include <
opc/ua/protocol/string_utils.h
>
13
14
#include <stdexcept>
15
#include <string>
16
17
void
OpcUa::CheckStatusCode
(
StatusCode
code)
18
{
19
if
(code == StatusCode::Good)
20
{
return
; }
21
22
throw
std::runtime_error(
OpcUa::ToString
(code));
23
}
24
25
OpcUa::CheckStatusCode
void CheckStatusCode(StatusCode code)
OpcUa Error codes. GNU LGPL.
Definition:
status_codes.cpp:17
status_codes.h
string_utils.h
OpcUa::ToString
std::string ToString(const AttributeId &value)
Definition:
string_utils_attributeid_tostring.cpp:14
OpcUa::StatusCode
StatusCode
Definition:
status_codes.h:12
ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08