open62541++ 0.13.0
C++ wrapper of open62541
|
Namespaces | |
namespace | crypto |
namespace | detail |
namespace | services |
Typedefs | |
using | DefaultCompletionToken = UseFutureToken |
using | StateCallback = std::function<void()> |
using | NamespaceIndex = uint16_t |
using | TypeIndex = uint16_t |
using | DataTypeMember = UA_DataTypeMember |
using | Logger = std::function<void(LogLevel, LogCategory, std::string_view msg)> |
using | MonitoringParametersEx = services::MonitoringParametersEx |
using | SubscriptionParameters = services::SubscriptionParameters |
using | DataChangeNotificationCallback = services::DataChangeNotificationCallback |
using | EventNotificationCallback = services::EventNotificationCallback |
template<typename T > | |
using | DataChangeCallback |
template<typename T > | |
using | EventCallback |
using | NumericRangeDimension = UA_NumericRangeDimension |
using | FilterOperand |
using | AggregateConfiguration = UA_AggregateConfiguration |
Enumerations | |
enum class | Type : TypeIndex |
enum class | AttributeId : int32_t |
enum class | NodeClass : int32_t |
enum class | AccessLevel : uint8_t |
enum class | WriteMask : uint32_t |
enum class | ValueRank : int32_t |
enum class | EventNotifier : uint8_t |
enum class | ModellingRule : uint16_t |
enum class | BrowseDirection : int32_t |
enum class | TimestampsToReturn : int32_t |
enum class | MonitoringMode : int32_t |
enum class | MessageSecurityMode : int32_t |
enum class | LogLevel |
enum class | LogCategory |
enum class | DataTypeId : int32_t |
enum class | ReferenceTypeId : int32_t |
enum class | ObjectTypeId : int32_t |
enum class | VariableTypeId : int32_t |
enum class | ObjectId : int32_t |
enum class | VariableId : int32_t |
enum class | MethodId : int32_t |
enum class | UserTokenType : int32_t |
enum class | NodeAttributesMask : uint32_t |
enum class | BrowseResultMask : uint32_t |
enum class | FilterOperator : int32_t |
enum class | DataChangeTrigger : int32_t |
enum class | DeadbandType : int32_t |
enum class | PerformUpdateType : int32_t |
enum class | ExtensionObjectEncoding |
enum class | NodeIdType : uint8_t |
enum class | VariantPolicy |
Functions | |
template<typename T , typename Initiation , typename CompletionToken , typename... Args> | |
auto | asyncInitiate (Initiation &&initiation, CompletionToken &&token, Args &&... args) |
bool | operator== (const Client &lhs, const Client &rhs) noexcept |
bool | operator!= (const Client &lhs, const Client &rhs) noexcept |
bool | operator== (const UA_DataType &lhs, const UA_DataType &rhs) noexcept |
bool | operator!= (const UA_DataType &lhs, const UA_DataType &rhs) noexcept |
bool | operator== (const UA_DataTypeMember &lhs, const UA_DataTypeMember &rhs) noexcept |
bool | operator!= (const UA_DataTypeMember &lhs, const UA_DataTypeMember &rhs) noexcept |
constexpr void | throwIfBad (UA_StatusCode code) |
bool | operator== (const Event &lhs, const Event &rhs) noexcept |
bool | operator!= (const Event &lhs, const Event &rhs) noexcept |
void | log (UA_Client *client, LogLevel level, LogCategory category, std::string_view msg) |
void | log (Client &client, LogLevel level, LogCategory category, std::string_view msg) |
void | log (UA_Server *server, LogLevel level, LogCategory category, std::string_view msg) |
void | log (Server &server, LogLevel level, LogCategory category, std::string_view msg) |
template<typename T > | |
bool | operator== (const MonitoredItem< T > &lhs, const MonitoredItem< T > &rhs) noexcept |
template<typename T > | |
bool | operator!= (const MonitoredItem< T > &lhs, const MonitoredItem< T > &rhs) noexcept |
template<typename Connection > | |
bool | operator== (const Node< Connection > &lhs, const Node< Connection > &rhs) noexcept |
template<typename Connection > | |
bool | operator!= (const Node< Connection > &lhs, const Node< Connection > &rhs) noexcept |
bool | operator== (const Server &lhs, const Server &rhs) noexcept |
bool | operator!= (const Server &lhs, const Server &rhs) noexcept |
bool | operator== (const Session &lhs, const Session &rhs) noexcept |
bool | operator!= (const Session &lhs, const Session &rhs) noexcept |
template<typename Container > | |
Span (Container &) -> Span< typename Container::value_type > | |
template<typename Container > | |
Span (const Container &) -> Span< const typename Container::value_type > | |
template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>> | |
constexpr bool | operator== (Span< T > lhs, Span< U > rhs) |
template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>> | |
constexpr bool | operator!= (Span< T > lhs, Span< U > rhs) |
template<typename T > | |
bool | operator== (const Subscription< T > &lhs, const Subscription< T > &rhs) noexcept |
template<typename T > | |
bool | operator!= (const Subscription< T > &lhs, const Subscription< T > &rhs) noexcept |
template<typename T > | |
const UA_DataType & | getDataType () noexcept |
bool | operator== (const UA_String &lhs, const UA_String &rhs) noexcept |
bool | operator!= (const UA_String &lhs, const UA_String &rhs) noexcept |
bool | operator== (const String &lhs, std::string_view rhs) noexcept |
bool | operator!= (const String &lhs, std::string_view rhs) noexcept |
bool | operator== (std::string_view lhs, const String &rhs) noexcept |
bool | operator!= (std::string_view lhs, const String &rhs) noexcept |
std::ostream & | operator<< (std::ostream &os, const String &string) |
bool | operator== (const UA_Guid &lhs, const UA_Guid &rhs) noexcept |
bool | operator!= (const UA_Guid &lhs, const UA_Guid &rhs) noexcept |
std::ostream & | operator<< (std::ostream &os, const Guid &guid) |
bool | operator== (const ByteString &lhs, std::string_view rhs) noexcept |
bool | operator!= (const ByteString &lhs, std::string_view rhs) noexcept |
bool | operator== (std::string_view lhs, const ByteString &rhs) noexcept |
bool | operator!= (std::string_view lhs, const ByteString &rhs) noexcept |
std::ostream & | operator<< (std::ostream &os, const XmlElement &xmlElement) |
bool | operator== (const UA_QualifiedName &lhs, const UA_QualifiedName &rhs) noexcept |
bool | operator!= (const UA_QualifiedName &lhs, const UA_QualifiedName &rhs) noexcept |
bool | operator== (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept |
bool | operator!= (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept |
bool | operator== (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept |
bool | operator!= (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept |
ContentFilter | operator! (const ContentFilterElement &filterElement) |
ContentFilter | operator! (const ContentFilter &filter) |
ContentFilter | operator&& (const ContentFilterElement &lhs, const ContentFilterElement &rhs) |
ContentFilter | operator&& (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | operator&& (const ContentFilter &lhs, const ContentFilterElement &rhs) |
ContentFilter | operator&& (const ContentFilter &lhs, const ContentFilter &rhs) |
ContentFilter | operator|| (const ContentFilterElement &lhs, const ContentFilterElement &rhs) |
ContentFilter | operator|| (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | operator|| (const ContentFilter &lhs, const ContentFilterElement &rhs) |
ContentFilter | operator|| (const ContentFilter &lhs, const ContentFilter &rhs) |
bool | operator== (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator!= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator< (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator> (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator<= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator>= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept |
bool | operator== (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
bool | operator!= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
bool | operator< (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
bool | operator> (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
bool | operator<= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
bool | operator>= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType * | asWrapper (NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType * | asWrapper (const NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType & | asWrapper (NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType & | asWrapper (const NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType * | asNative (WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType * | asNative (const WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType & | asNative (WrapperType &wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType & | asNative (const WrapperType &wrapper) noexcept |
Variables | |
constexpr UseFutureToken | useFuture |
constexpr UseDeferredToken | useDeferred |
constexpr UseDetachedToken | useDetached |
using opcua::StateCallback = std::function<void()> |
using opcua::NamespaceIndex = uint16_t |
Namespace index.
using opcua::TypeIndex = uint16_t |
Definition at line 15 of file DataType.h.
using opcua::Logger = std::function<void(LogLevel, LogCategory, std::string_view msg)> |
typedef services::MonitoringParametersEx opcua::MonitoringParametersEx = services::MonitoringParametersEx |
Definition at line 18 of file MonitoredItem.h.
Definition at line 28 of file Subscription.h.
Definition at line 30 of file Subscription.h.
Definition at line 31 of file Subscription.h.
using opcua::DataChangeCallback |
Data change notification callback.
Definition at line 37 of file Subscription.h.
using opcua::EventCallback |
Event notification callback.
Definition at line 44 of file Subscription.h.
|
strong |
|
strong |
Attribute identifiers.
Enumerator | |
---|---|
NodeId | Unambiguous identifier of a node.
|
NodeClass | Identifies the class of the node.
|
BrowseName | A non-localised human-readable name used to browse the address space. The browse name of a reference type must be unique in a server.
|
DisplayName | The localized name of the node.
|
Description | Explains the meaning of the node in a localized text.
|
WriteMask | Exposes the possibilities of a client to write the attributes of the node.
|
UserWriteMask | Exposes the possibilities of a client to write the attributes of the node. In contrast to the write mask, the user write mask is taking access rights into account.
|
IsAbstract | If a reference is abstract, no reference of this type shall exist, only of its subtypes.
|
Symmetric | If a reference is symmetric, it can seen from both the source and target node.
|
InverseName | The inverse name describes the reference type as seen from the target node. For example, the reference type
|
ContainsNoLoops | Indicates that by following the references in the context of the view there are no loops.
|
EventNotifier | Indicates if the node can be used to subscribe to events or the read/write historic events.
|
Value | The most recent value of the variable that the server has.
|
DataType | The NodeId of the data type definition for the
|
ValueRank | Indicates whether the
|
ArrayDimensions | Specifies the maximum supported length of each dimension of the Should be unspecified if
|
AccessLevel | Indicate how the value of a variable can be accessed (read/write) and if it contains current and/or historic data.
|
UserAccessLevel | Indicates how the value of a variable can be accessed (read/write) and if it contains current and/or historic data. In contrast to the
|
MinimumSamplingInterval | Specifies (in milliseconds) how fast the server can reasonably sample the value for changes. A minimum sampling interval of
|
Historizing | Indicates whether the server is actively collecting data for the history of the variable.
|
Executable | Indicates if the method is currently executable.
|
UserExecutable | Indicates if the method is currently executable taking user access rights into account.
|
DataTypeDefinition | Provides the meta data and encoding information for custom data types.
|
RolePermissions | Permissions that apply to a node.
|
UserRolePermissions | Specifies the permissions that apply to a node for all roles granted to current session.
|
AccessRestrictions | Specifies access restrictions that apply to a node.
|
AccessLevelEx | Extended version of the
|
|
strong |
Node class.
The enum can be used as a bitmask and allows bitwise operations, e.g.:
Enumerator | |
---|---|
Unspecified | |
Object | |
Variable | |
Method | |
ObjectType | |
VariableType | |
ReferenceType | |
DataType | |
View |
|
strong |
|
strong |
Write mask.
Indicates which attributes of a node a writeable.
|
strong |
|
strong |
Event notifier.
Indicates if a node can be used to subscribe to events or read/write historic events.
Enumerator | |
---|---|
None | |
SubscribeToEvents | |
HistoryRead | |
HistoryWrite |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Log category.
Enumerator | |
---|---|
Network | |
SecureChannel | |
Session | |
Server | |
Client | |
Userland | |
SecurityPolicy |
|
strong |
Extension object encoding.
Enumerator | |
---|---|
EncodedNoBody | |
EncodedByteString | |
EncodedXml | |
Decoded | |
DecodedNoDelete |
Definition at line 18 of file ExtensionObject.h.
|
strong |
|
strong |
Policies for variant factory methods Variant::fromScalar, Variant::fromArray.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 113 of file DataType.h.
|
inlinenoexcept |
Definition at line 117 of file DataType.h.
|
inlinenoexcept |
Definition at line 121 of file DataType.h.
|
inlinenoexcept |
Definition at line 132 of file DataType.h.
|
constexpr |
Check the status code and throw a BadStatus exception if the status code is bad.
Definition at line 86 of file ErrorHandling.h.
Referenced by opcua::ByteString::ByteString(), opcua::detail::copy(), opcua::detail::copyArray(), opcua::ExtensionObject::fromDecodedCopy(), and opcua::StatusCode::throwIfBad().
|
noexcept |
void opcua::log | ( | UA_Client * | client, |
LogLevel | level, | ||
LogCategory | category, | ||
std::string_view | msg ) |
Generate log message with client's logger.
void opcua::log | ( | Client & | client, |
LogLevel | level, | ||
LogCategory | category, | ||
std::string_view | msg ) |
Generate log message with client's logger.
void opcua::log | ( | UA_Server * | server, |
LogLevel | level, | ||
LogCategory | category, | ||
std::string_view | msg ) |
Generate log message with servers's logger.
void opcua::log | ( | Server & | server, |
LogLevel | level, | ||
LogCategory | category, | ||
std::string_view | msg ) |
Generate log message with servers's logger.
|
inlinenoexcept |
Definition at line 125 of file MonitoredItem.h.
|
inlinenoexcept |
Definition at line 132 of file MonitoredItem.h.
|
noexcept |
|
inlinenoexcept |
|
noexcept |
opcua::Span | ( | Container & | ) | -> Span< typename Container::value_type > |
Referenced by opcua::services::detail::getOutputArguments().
opcua::Span | ( | const Container & | ) | -> Span< const typename Container::value_type > |
|
constexpr |
|
inlinenoexcept |
Definition at line 259 of file Subscription.h.
|
inlinenoexcept |
Definition at line 264 of file Subscription.h.
|
inlinenoexcept |
Definition at line 47 of file TypeRegistry.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
std::ostream & opcua::operator<< | ( | std::ostream & | os, |
const String & | string ) |
|
inlinenoexcept |
std::ostream & opcua::operator<< | ( | std::ostream & | os, |
const Guid & | guid ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
std::ostream & opcua::operator<< | ( | std::ostream & | os, |
const XmlElement & | xmlElement ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |