Public Member Functions | Private Member Functions | Private Attributes
OpcUa::Subscription Class Reference

#include <subscription.h>

List of all members.

Public Member Functions

void Delete ()
SubscriptionData GetData ()
uint32_t GetId () const
double GetPeriode () const
UserDatagetUsrPtr (uint32_t handle)
virtual void PublishCallback (Services::SharedPtr serverLocalPtr, const PublishResult result)
RepublishResponse Republish (uint32_t sequenceNumber)
void setUsrPtr (uint32_t handle, UserData *usr)
std::vector
< MonitoredItemCreateResult
Subscribe (std::vector< MonitoredItemCreateRequest > request)
uint32_t SubscribeDataChange (const Node &node, AttributeId attr=AttributeId::Value)
std::vector< uint32_t > SubscribeDataChange (const std::vector< ReadValueId > &attributes)
uint32_t SubscribeEvents (const Node &node, const EventFilter &eventfilter)
uint32_t SubscribeEvents (const Node &node, const Node &eventType)
uint32_t SubscribeEvents ()
 Subscription (Services::SharedPtr server, const CreateSubscriptionParameters &params, SubscriptionHandler &callback, bool debug=false)
void UnSubscribe (uint32_t handle)
void UnSubscribe (std::vector< uint32_t > handles)
virtual ~Subscription ()

Private Member Functions

void CallDataChangeCallback (const NotificationData &data)
void CallEventCallback (const NotificationData &data)
void CallStatusChangeCallback (const NotificationData &data)

Private Attributes

AttValMap AttributeValueMap
SubscriptionHandlerClient
SubscriptionData Data
bool Debug
uint32_t LastMonitoredItemHandle = 1
std::mutex Mutex
Services::SharedPtr Server
SimpleAttOpMap SimpleAttributeOperandMap

Detailed Description

Definition at line 89 of file subscription.h.


Constructor & Destructor Documentation

OpcUa::Subscription::Subscription ( Services::SharedPtr  server,
const CreateSubscriptionParameters params,
SubscriptionHandler callback,
bool  debug = false 
)

Definition at line 29 of file subscription.cpp.

virtual OpcUa::Subscription::~Subscription ( ) [inline, virtual]

Definition at line 99 of file subscription.h.


Member Function Documentation

Definition at line 84 of file subscription.cpp.

void OpcUa::Subscription::CallEventCallback ( const NotificationData data) [private]

Definition at line 112 of file subscription.cpp.

Definition at line 107 of file subscription.cpp.

Definition at line 41 of file subscription.cpp.

Definition at line 105 of file subscription.h.

uint32_t OpcUa::Subscription::GetId ( ) const [inline]

Definition at line 106 of file subscription.h.

double OpcUa::Subscription::GetPeriode ( ) const [inline]

Definition at line 107 of file subscription.h.

UserData * OpcUa::Subscription::getUsrPtr ( uint32_t  handle)

Definition at line 271 of file subscription.cpp.

void OpcUa::Subscription::PublishCallback ( Services::SharedPtr  serverLocalPtr,
const PublishResult  result 
) [virtual]

Definition at line 50 of file subscription.cpp.

RepublishResponse OpcUa::Subscription::Republish ( uint32_t  sequenceNumber)

Definition at line 185 of file subscription.cpp.

void OpcUa::Subscription::setUsrPtr ( uint32_t  handle,
UserData usr 
)

Definition at line 266 of file subscription.cpp.

Definition at line 205 of file subscription.cpp.

uint32_t OpcUa::Subscription::SubscribeDataChange ( const Node node,
AttributeId  attr = AttributeId::Value 
)

Definition at line 194 of file subscription.cpp.

std::vector< uint32_t > OpcUa::Subscription::SubscribeDataChange ( const std::vector< ReadValueId > &  attributes)

Definition at line 220 of file subscription.cpp.

uint32_t OpcUa::Subscription::SubscribeEvents ( const Node node,
const EventFilter eventfilter 
)

Definition at line 331 of file subscription.cpp.

uint32_t OpcUa::Subscription::SubscribeEvents ( const Node node,
const Node eventType 
)

Definition at line 315 of file subscription.cpp.

Definition at line 310 of file subscription.cpp.

void OpcUa::Subscription::UnSubscribe ( uint32_t  handle)

Definition at line 276 of file subscription.cpp.

void OpcUa::Subscription::UnSubscribe ( std::vector< uint32_t >  handles)

Definition at line 281 of file subscription.cpp.


Member Data Documentation

Definition at line 151 of file subscription.h.

Definition at line 149 of file subscription.h.

Definition at line 148 of file subscription.h.

Definition at line 154 of file subscription.h.

Definition at line 150 of file subscription.h.

std::mutex OpcUa::Subscription::Mutex [private]

Definition at line 153 of file subscription.h.

Services::SharedPtr OpcUa::Subscription::Server [private]

Definition at line 147 of file subscription.h.

Definition at line 152 of file subscription.h.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:00