open62541pp 0.19.0
C++ wrapper of open62541
|
#include <types.hpp>
UA_DataValue wrapper class.
Public Member Functions | |
DataValue (Variant value) noexcept | |
DataValue (Variant value, std::optional< DateTime > sourceTimestamp, std::optional< DateTime > serverTimestamp, std::optional< uint16_t > sourcePicoseconds, std::optional< uint16_t > serverPicoseconds, std::optional< StatusCode > status) noexcept | |
void | setValue (const Variant &value) |
void | setValue (Variant &&value) noexcept |
void | setSourceTimestamp (DateTime sourceTimestamp) noexcept |
void | setServerTimestamp (DateTime serverTimestamp) noexcept |
void | setSourcePicoseconds (uint16_t sourcePicoseconds) noexcept |
void | setServerPicoseconds (uint16_t serverPicoseconds) noexcept |
void | setStatus (StatusCode status) noexcept |
bool | hasValue () const noexcept |
bool | hasSourceTimestamp () const noexcept |
bool | hasServerTimestamp () const noexcept |
bool | hasSourcePicoseconds () const noexcept |
bool | hasServerPicoseconds () const noexcept |
bool | hasStatus () const noexcept |
Variant & | value () &noexcept |
const Variant & | value () const &noexcept |
Variant && | value () &&noexcept |
const Variant && | value () const &&noexcept |
DateTime | sourceTimestamp () const noexcept |
DateTime | serverTimestamp () const noexcept |
uint16_t | sourcePicoseconds () const noexcept |
uint16_t | serverPicoseconds () const noexcept |
StatusCode | status () const noexcept |
constexpr | Wrapper () noexcept=default |
constexpr | Wrapper (const Wrapper &other) |
constexpr | Wrapper (const T &native) |
constexpr | Wrapper (Wrapper &&other) noexcept |
constexpr | Wrapper (T &&native) noexcept |
![]() | |
constexpr | Wrapper () noexcept=default |
constexpr | Wrapper (const Wrapper &other) |
constexpr | Wrapper (const T &native) |
constexpr | Wrapper (Wrapper &&other) noexcept |
constexpr | Wrapper (T &&native) noexcept |
~Wrapper () noexcept=default | |
constexpr Wrapper & | operator= (const Wrapper &other) |
constexpr Wrapper & | operator= (const T &native) |
constexpr Wrapper & | operator= (Wrapper &&other) noexcept |
constexpr Wrapper & | operator= (T &&native) noexcept |
constexpr | operator T& () noexcept |
constexpr | operator const T & () const noexcept |
constexpr T * | operator-> () noexcept |
constexpr const T * | operator-> () const noexcept |
constexpr T * | handle () noexcept |
constexpr const T * | handle () const noexcept |
constexpr void | swap (Wrapper &other) noexcept |
constexpr void | swap (T &native) noexcept |
Additional Inherited Members | |
![]() | |
using | NativeType = T |
using | HandlerType = Handler |
![]() | |
constexpr const T & | native () const noexcept |
constexpr T & | native () noexcept |
constexpr void | clear () 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 & | 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 |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Set source timestamp for the value.
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Get value.
Definition at line 1668 of file types.hpp.
Referenced by opcua::Node< Connection >::readDataValue().
|
inlinenoexcept |
|
inlinenoexcept |
|
constexprdefaultnoexcept |
|
inlineexplicitconstexpr |
Copy constructor with native object.
Definition at line 151 of file wrapper.hpp.
|
inlineconstexpr |
Copy constructor.
Definition at line 147 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Move constructor with native object.
Definition at line 159 of file wrapper.hpp.
|
inlineconstexprnoexcept |
Move constructor.
Definition at line 155 of file wrapper.hpp.