open62541pp 0.18.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opcua::ua::MonitoringParameters Class Reference

#include <types.hpp>

Inheritance diagram for opcua::ua::MonitoringParameters:
[legend]

Detailed Description

UA_MonitoringParameters wrapper class.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.21

Definition at line 2012 of file types.hpp.

Public Member Functions

 MonitoringParameters (double samplingInterval=250.0, ExtensionObject filter={}, uint32_t queueSize=1U, bool discardOldest=true)
 
double samplingInterval () const noexcept
 
double getSamplingInterval () const noexcept
 
const ExtensionObjectfilter () const noexcept
 
const ExtensionObjectgetFilter () const noexcept
 
ExtensionObjectfilter () noexcept
 
ExtensionObjectgetFilter () noexcept
 
uint32_t queueSize () const noexcept
 
uint32_t getQueueSize () const noexcept
 
bool discardOldest () const noexcept
 
bool getDiscardOldest () const noexcept
 
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const T &native)
 
constexpr TypeWrapper (T &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
- Public Member Functions inherited from opcua::TypeWrapper< UA_MonitoringParameters, UA_TYPES_MONITORINGPARAMETERS >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_MonitoringParameters &native)
 
constexpr TypeWrapper (UA_MonitoringParameters &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_MonitoringParameters &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_MonitoringParameters &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const T &native) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
constexpr Wrapperoperator= (const T &native) noexcept
 
constexpr Wrapperoperator= (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

- Public Types inherited from opcua::Wrapper< T >
using NativeType = T
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_MonitoringParameters, UA_TYPES_MONITORINGPARAMETERS >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_MonitoringParameters, UA_TYPES_MONITORINGPARAMETERS >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< T >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 

Constructor & Destructor Documentation

◆ MonitoringParameters()

opcua::ua::MonitoringParameters::MonitoringParameters ( double  samplingInterval = 250.0,
ExtensionObject  filter = {},
uint32_t  queueSize = 1U,
bool  discardOldest = true 
)
inline

Construct with default values from open62541.

The clientHandle parameter cannot be set by the user, any value will be replaced by the client before sending the request to the server.

Definition at line 2021 of file types.hpp.

Member Function Documentation

◆ samplingInterval()

double opcua::ua::MonitoringParameters::samplingInterval ( ) const
inlinenoexcept

Definition at line 2033 of file types.hpp.

◆ getSamplingInterval()

double opcua::ua::MonitoringParameters::getSamplingInterval ( ) const
inlinenoexcept
Deprecated:
Use samplingInterval instead

Definition at line 2033 of file types.hpp.

◆ filter() [1/2]

const ExtensionObject & opcua::ua::MonitoringParameters::filter ( ) const
inlinenoexcept

Definition at line 2034 of file types.hpp.

◆ getFilter() [1/2]

const ExtensionObject & opcua::ua::MonitoringParameters::getFilter ( ) const
inlinenoexcept
Deprecated:
Use filter instead

Definition at line 2034 of file types.hpp.

◆ filter() [2/2]

ExtensionObject & opcua::ua::MonitoringParameters::filter ( )
inlinenoexcept

Definition at line 2034 of file types.hpp.

◆ getFilter() [2/2]

ExtensionObject & opcua::ua::MonitoringParameters::getFilter ( )
inlinenoexcept
Deprecated:
Use filter instead

Definition at line 2034 of file types.hpp.

◆ queueSize()

uint32_t opcua::ua::MonitoringParameters::queueSize ( ) const
inlinenoexcept

Definition at line 2035 of file types.hpp.

◆ getQueueSize()

uint32_t opcua::ua::MonitoringParameters::getQueueSize ( ) const
inlinenoexcept
Deprecated:
Use queueSize instead

Definition at line 2035 of file types.hpp.

◆ discardOldest()

bool opcua::ua::MonitoringParameters::discardOldest ( ) const
inlinenoexcept

Definition at line 2036 of file types.hpp.

◆ getDiscardOldest()

bool opcua::ua::MonitoringParameters::getDiscardOldest ( ) const
inlinenoexcept
Deprecated:
Use discardOldest instead

Definition at line 2036 of file types.hpp.

◆ TypeWrapper() [1/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( const T &  native)
inlineexplicitconstexpr

Constructor with native object (deep copy).

Definition at line 31 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( T &&  native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( const TypeWrapper other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( TypeWrapper &&  other)
inlineconstexprnoexcept

Move constructor.

Definition at line 47 of file typewrapper.hpp.