open62541pp 0.19.0
C++ wrapper of open62541
|
All wrapper classes inherit from Wrapper.
Native open62541 objects can be accessed using the Wrapper::handle() member function.
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_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::ua::FilterOperand = std::variant< ElementOperand, LiteralOperand, AttributeOperand, SimpleAttributeOperand, ExtensionObject > |
using | opcua::ua::AggregateConfiguration = UA_AggregateConfiguration |
template<typename T , TypeIndex Index> | |
using | opcua::WrapperNative = Wrapper< T, TypeHandlerNative< T, Index > > |
Enumerations | |
enum class | opcua::ua::ApplicationType : int32_t |
enum class | opcua::ua::MessageSecurityMode : int32_t |
enum class | opcua::ua::UserTokenType : int32_t |
enum class | opcua::ua::NodeAttributesMask : uint32_t |
enum class | opcua::ua::BrowseDirection : int32_t |
enum class | opcua::ua::BrowseResultMask : uint32_t |
enum class | opcua::ua::TimestampsToReturn : int32_t |
enum class | opcua::ua::MonitoringMode : int32_t |
enum class | opcua::ua::FilterOperator : int32_t |
enum class | opcua::ua::DataChangeTrigger : int32_t |
enum class | opcua::ua::DeadbandType : int32_t |
enum class | opcua::ua::PerformUpdateType : int32_t |
enum class | opcua::ua::AxisScaleEnumeration : int32_t |
enum class | opcua::ua::StructureType : int32_t |
Functions | |
constexpr std::true_type | opcua::ua::isBitmaskEnum (NodeAttributesMask) |
constexpr std::true_type | opcua::ua::isBitmaskEnum (BrowseResultMask) |
ContentFilter | opcua::ua::operator&& (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | opcua::ua::operator&& (const ContentFilter &lhs, const ContentFilterElement &rhs) |
ContentFilter | opcua::ua::operator|| (const ContentFilterElement &lhs, const ContentFilter &rhs) |
ContentFilter | opcua::ua::operator|| (const ContentFilter &lhs, const ContentFilterElement &rhs) |
template<typename T > | |
constexpr T * | opcua::asWrapper (typename T::NativeType *native) noexcept |
template<typename T > | |
constexpr const T * | opcua::asWrapper (const typename T::NativeType *native) noexcept |
template<typename T > | |
constexpr T & | opcua::asWrapper (typename T::NativeType &native) noexcept |
template<typename T > | |
constexpr const T & | opcua::asWrapper (const typename T::NativeType &native) noexcept |
template<typename T > | |
constexpr T::NativeType * | opcua::asNative (T *wrapper) noexcept |
template<typename T > | |
constexpr const T::NativeType * | opcua::asNative (const T *wrapper) noexcept |
template<typename T > | |
constexpr T::NativeType & | opcua::asNative (T &wrapper) noexcept |
template<typename T > | |
constexpr const T::NativeType & | opcua::asNative (const T &wrapper) noexcept |
template<typename T > | |
String | toString (const T &object, const UA_DataType &type) |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
String | toString (const T &object) |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator== (const T &lhs, const T &rhs) noexcept |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator!= (const T &lhs, const T &rhs) noexcept |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator< (const T &lhs, const T &rhs) noexcept |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator<= (const T &lhs, const T &rhs) noexcept |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator> (const T &lhs, const T &rhs) noexcept |
template<typename T , typename = std::enable_if_t<IsRegistered<T>::value>> | |
bool | operator>= (const T &lhs, const T &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) |
template<typename T > | |
constexpr T * | asWrapper (typename T::NativeType *native) noexcept |
template<typename T > | |
constexpr const T * | asWrapper (const typename T::NativeType *native) noexcept |
template<typename T > | |
constexpr T & | asWrapper (typename T::NativeType &native) noexcept |
template<typename T > | |
constexpr const T & | asWrapper (const typename T::NativeType &native) noexcept |
template<typename T > | |
constexpr T::NativeType * | asNative (T *wrapper) noexcept |
template<typename T > | |
constexpr const T::NativeType * | asNative (const T *wrapper) noexcept |
template<typename T > | |
constexpr T::NativeType & | asNative (T &wrapper) noexcept |
template<typename T > | |
constexpr const T::NativeType & | asNative (const T &wrapper) noexcept |
#define UAPP_NODEATTR | ( | Type, | |
suffix, | |||
member, | |||
flag | |||
) |
#define UAPP_NODEATTR_ARRAY | ( | Type, | |
suffix, | |||
member, | |||
memberSize, | |||
flag | |||
) |
#define UAPP_NODEATTR_CAST | ( | Type, | |
suffix, | |||
member, | |||
flag | |||
) |
#define UAPP_NODEATTR_COMMON |
#define UAPP_NODEATTR_WRAPPER | ( | Type, | |
suffix, | |||
member, | |||
flag | |||
) |
using opcua::ua::AggregateConfiguration = typedef UA_AggregateConfiguration |
using opcua::ua::FilterOperand = typedef std::variant< ElementOperand, LiteralOperand, AttributeOperand, SimpleAttributeOperand, ExtensionObject> |
Filter operand.
The FilterOperand is an extensible parameter and can be of type:
using opcua::WrapperNative = typedef Wrapper<T, TypeHandlerNative<T, Index> > |
Convenience alias for Wrapper using TypeHandlerNative.
Definition at line 268 of file wrapper.hpp.
|
strong |
|
strong |
|
strong |
|
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 |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Node attributes mask.
Bitmask used in the node attributes parameters to specify which attributes are set.
|
strong |
Perform update type for structured data history updates.
Enumerator | |
---|---|
Insert | |
Replace | |
Update | |
Remove |
|
strong |
|
strong |
|
strong |
|
related |
Cast Wrapper object references to native object references.
Definition at line 365 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object references to native object references.
Definition at line 365 of file wrapper.hpp.
|
related |
Cast Wrapper object pointers to native object pointers.
Definition at line 350 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object pointers to native object pointers.
Definition at line 350 of file wrapper.hpp.
|
related |
Cast Wrapper object references to native object references.
Definition at line 358 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object references to native object references.
Definition at line 358 of file wrapper.hpp.
|
related |
Cast Wrapper object pointers to native object pointers.
Definition at line 342 of file wrapper.hpp.
|
constexprnoexcept |
Cast Wrapper object pointers to native object pointers.
Definition at line 342 of file wrapper.hpp.
Referenced by opcua::Wrapper< T, Handler >::asNative(), opcua::Wrapper< T, Handler >::asNative(), opcua::services::createMonitoredItemsDataChangeAsync(), opcua::services::createMonitoredItemsEventAsync(), opcua::services::deleteMonitoredItemsAsync(), opcua::services::deleteSubscriptionsAsync(), opcua::services::modifyMonitoredItemsAsync(), opcua::services::modifySubscriptionAsync(), and opcua::String::operator==().
|
related |
Cast native object references to Wrapper object references.
Definition at line 335 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object references to Wrapper object references.
Definition at line 335 of file wrapper.hpp.
|
related |
Cast native object pointers to Wrapper object pointers.
Definition at line 320 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object pointers to Wrapper object pointers.
Definition at line 320 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object references to Wrapper object references.
Definition at line 328 of file wrapper.hpp.
|
related |
Cast native object references to Wrapper object references.
Definition at line 328 of file wrapper.hpp.
|
constexprnoexcept |
Cast native object pointers to Wrapper object pointers.
Definition at line 312 of file wrapper.hpp.
|
related |
Cast native object pointers to Wrapper object pointers.
Definition at line 312 of file wrapper.hpp.
|
constexpr |
|
constexpr |
|
related |
|
related |
|
related |
|
related |
ContentFilter operator&& | ( | const ContentFilter & | lhs, |
const ContentFilterElement & | rhs | ||
) |
|
related |
ContentFilter operator&& | ( | const ContentFilterElement & | lhs, |
const ContentFilter & | rhs | ||
) |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
ContentFilter operator|| | ( | const ContentFilter & | lhs, |
const ContentFilterElement & | rhs | ||
) |
|
related |
ContentFilter operator|| | ( | const ContentFilterElement & | lhs, |
const ContentFilter & | rhs | ||
) |
|
related |
|
related |
|
related |
Converts an object to its string representation.
This function wraps UA_print to generate a string representation of the given object, based on its data type description.
UA_ENABLE_TYPEDESCRIPTION
option. If these conditions are not met, the function returns an empty String.object | Native or wrapper object. |
type | Data type of object . |