open62541pp 0.16.0
C++ wrapper of open62541
|
All wrapper classes inherit from Wrapper (and optionally from TypeWrapper). Native open62541 objects can be accessed using the Wrapper::handle() method.
Wrapper types are pointer-interconvertible to the wrapped native type and vice versa:
According to the standard:
Two objects
a
andb
are pointer-interconvertible if: One is a standard-layout class object [wrapper] and the other is the first non-static data member of that object [wrapped native type].
Derived classes must fulfill the requirements of standard-layout types to be convertible.
Macros | |
#define | UAPP_NODEATTR(Type, suffix, member, flag) |
#define | UAPP_NODEATTR_BITMASK(Type, suffix, member, flag) |
#define | UAPP_NODEATTR_CAST(Type, suffix, member, flag) |
#define | UAPP_NODEATTR_WRAPPER(Type, suffix, member, flag) |
#define | UAPP_NODEATTR_ARRAY(Type, suffix, member, memberSize, flag) |
#define | UAPP_NODEATTR_COMMON |
Typedefs | |
using | opcua::FilterOperand |
using | opcua::AggregateConfiguration = UA_AggregateConfiguration |
Enumerations | |
enum class | opcua::UserTokenType : int32_t |
enum class | opcua::NodeAttributesMask : uint32_t |
enum class | opcua::BrowseResultMask : uint32_t |
enum class | opcua::FilterOperator : int32_t |
enum class | opcua::DataChangeTrigger : int32_t |
enum class | opcua::DeadbandType : int32_t |
enum class | opcua::PerformUpdateType : int32_t |
enum class | opcua::StructureType : int32_t |
Functions | |
ContentFilter | opcua::operator! (const ContentFilterElement &filterElement) |
ContentFilter | opcua::operator! (const ContentFilter &filter) |
ContentFilter | opcua::operator&& (const ContentFilterElement &lhs, const ContentFilterElement &rhs) |
ContentFilter | opcua::operator&& (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | opcua::operator&& (const ContentFilter &lhs, const ContentFilterElement &rhs) |
ContentFilter | opcua::operator&& (const ContentFilter &lhs, const ContentFilter &rhs) |
ContentFilter | opcua::operator|| (const ContentFilterElement &lhs, const ContentFilterElement &rhs) |
ContentFilter | opcua::operator|| (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | opcua::operator|| (const ContentFilter &lhs, const ContentFilterElement &rhs) |
ContentFilter | opcua::operator|| (const ContentFilter &lhs, const ContentFilter &rhs) |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType * | opcua::asWrapper (NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType * | opcua::asWrapper (const NativeType *native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr WrapperType & | opcua::asWrapper (NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const WrapperType & | opcua::asWrapper (const NativeType &native) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType * | opcua::asNative (WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType * | opcua::asNative (const WrapperType *wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr NativeType & | opcua::asNative (WrapperType &wrapper) noexcept |
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType> | |
constexpr const NativeType & | opcua::asNative (const WrapperType &wrapper) noexcept |
#define UAPP_NODEATTR | ( | Type, | |
suffix, | |||
member, | |||
flag ) |
Definition at line 289 of file types_composed.hpp.
#define UAPP_NODEATTR_BITMASK | ( | Type, | |
suffix, | |||
member, | |||
flag ) |
Definition at line 296 of file types_composed.hpp.
#define UAPP_NODEATTR_CAST | ( | Type, | |
suffix, | |||
member, | |||
flag ) |
Definition at line 303 of file types_composed.hpp.
#define UAPP_NODEATTR_WRAPPER | ( | Type, | |
suffix, | |||
member, | |||
flag ) |
Definition at line 310 of file types_composed.hpp.
#define UAPP_NODEATTR_ARRAY | ( | Type, | |
suffix, | |||
member, | |||
memberSize, | |||
flag ) |
Definition at line 317 of file types_composed.hpp.
#define UAPP_NODEATTR_COMMON |
Definition at line 327 of file types_composed.hpp.
using opcua::FilterOperand |
Filter operand.
The FilterOperand is an extensible parameter and can be of type:
Definition at line 1707 of file types_composed.hpp.
Definition at line 1832 of file types_composed.hpp.
|
strong |
User identity token type.
Enumerator | |
---|---|
Anonymous | No token is required. |
Username | A username/password token. |
Certificate | An X.509 v3 certificate token. |
IssuedToken | Any token issued by an authorization service. |
Definition at line 175 of file types_composed.hpp.
|
strong |
Node attributes mask.
Bitmask used in the node attributes parameters to specify which attributes are set.
Definition at line 241 of file types_composed.hpp.
|
strong |
Browse result mask.
The enum can be used as a bitmask and allows bitwise operations, e.g.:
Enumerator | |
---|---|
None | |
ReferenceTypeId | |
IsForward | |
NodeClass | |
BrowseName | |
DisplayName | |
TypeDefinition | |
All | |
ReferenceTypeInfo | |
TargetInfo |
Definition at line 963 of file types_composed.hpp.
|
strong |
Filter operator.
Enumerator | |
---|---|
Equals | |
IsNull | |
GreaterThan | |
LessThan | |
GreaterThanOrEqual | |
LessThanOrEqual | |
Like | |
Not | |
Between | |
InList | |
And | |
Or | |
Cast | |
InView | |
OfType | |
RelatedTo | |
BitwiseAnd | |
BitwiseOr |
Definition at line 1574 of file types_composed.hpp.
|
strong |
Data change trigger.
Enumerator | |
---|---|
Status | |
StatusValue | |
StatusValueTimestamp |
Definition at line 1773 of file types_composed.hpp.
|
strong |
|
strong |
Perform update type for structured data history updates.
Enumerator | |
---|---|
Insert | |
Replace | |
Update | |
Remove |
Definition at line 2390 of file types_composed.hpp.
|
strong |
Structure type.
Enumerator | |
---|---|
Structure | |
StructureWithOptionalFields | |
Union |
Definition at line 2407 of file types_composed.hpp.
ContentFilter opcua::operator! | ( | const ContentFilterElement & | filterElement | ) |
Referenced by opcua::operator!(), and opcua::operator!().
ContentFilter opcua::operator! | ( | const ContentFilter & | filter | ) |
ContentFilter opcua::operator&& | ( | const ContentFilterElement & | lhs, |
const ContentFilterElement & | rhs ) |
Referenced by opcua::operator&&(), opcua::operator&&(), opcua::operator&&(), and opcua::operator&&().
ContentFilter opcua::operator&& | ( | const ContentFilterElement & | lhs, |
const ContentFilter & | rhs ) |
ContentFilter opcua::operator&& | ( | const ContentFilter & | lhs, |
const ContentFilterElement & | rhs ) |
ContentFilter opcua::operator&& | ( | const ContentFilter & | lhs, |
const ContentFilter & | rhs ) |
ContentFilter opcua::operator|| | ( | const ContentFilterElement & | lhs, |
const ContentFilterElement & | rhs ) |
Referenced by opcua::operator||(), opcua::operator||(), opcua::operator||(), and opcua::operator||().
ContentFilter opcua::operator|| | ( | const ContentFilterElement & | lhs, |
const ContentFilter & | rhs ) |
ContentFilter opcua::operator|| | ( | const ContentFilter & | lhs, |
const ContentFilterElement & | rhs ) |
ContentFilter opcua::operator|| | ( | const ContentFilter & | lhs, |
const ContentFilter & | rhs ) |
|
constexprnoexcept |
Cast native object pointers to Wrapper object pointers.
This is especially helpful to avoid copies in getter methods of composed types.
Definition at line 165 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object pointers to Wrapper object pointers.
This is especially helpful to avoid copies in getter methods of composed types.
Definition at line 171 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object references to Wrapper object references.
This is especially helpful to avoid copies in getter methods of composed types.
Definition at line 178 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object references to Wrapper object references.
This is especially helpful to avoid copies in getter methods of composed types.
Definition at line 184 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object pointers to native object pointers.
Definition at line 191 of file wrapper.hpp.
Referenced by opcua::services::createMonitoredItemsDataChangeAsync(), opcua::services::createMonitoredItemsEventAsync(), opcua::services::deleteMonitoredItemsAsync(), opcua::services::deleteSubscriptionsAsync(), opcua::services::detail::getNativePointer(), opcua::services::detail::getNativePointer(), opcua::services::detail::getResponseHeader(), opcua::services::detail::getSingleResultRef(), opcua::services::modifyMonitoredItemsAsync(), opcua::services::modifySubscriptionAsync(), opcua::NodeId::NodeId(), opcua::NodeId::NodeId(), and opcua::detail::toNativeArray().
|
constexprnoexcept |
Cast Wrapper object pointers to native object pointers.
Definition at line 197 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object references to native object references.
Definition at line 204 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object references to native object references.
Definition at line 210 of file wrapper.hpp.