Public Member Functions | Private Attributes | List of all members
OpcUa::Internal::SubscriptionServiceInternal Class Reference

#include <subscription_service_internal.h>

Inheritance diagram for OpcUa::Internal::SubscriptionServiceInternal:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< MonitoredItemCreateResultCreateMonitoredItems (const MonitoredItemsParameters &params)
 
virtual SubscriptionData CreateSubscription (const CreateSubscriptionRequest &request, std::function< void(PublishResult)> callback)
 
void DeleteAllSubscriptions ()
 
virtual std::vector< StatusCodeDeleteMonitoredItems (const DeleteMonitoredItemsParameters &params)
 
virtual std::vector< StatusCodeDeleteSubscriptions (const std::vector< uint32_t > &subscriptions)
 
Server::AddressSpaceGetAddressSpace ()
 
boost::asio::io_service & GetIOService ()
 
virtual ModifySubscriptionResponse ModifySubscription (const ModifySubscriptionParameters &parameters)
 
bool PopPublishRequest (NodeId node)
 
virtual void Publish (const PublishRequest &request)
 
virtual RepublishResponse Republish (const RepublishParameters &request)
 
 SubscriptionServiceInternal (Server::AddressSpace::SharedPtr addressspace, boost::asio::io_service &io, const Common::Logger::SharedPtr &logger)
 
void TriggerEvent (NodeId node, Event event)
 
 ~SubscriptionServiceInternal ()
 

Private Attributes

Server::AddressSpace::SharedPtr AddressSpace
 
boost::shared_mutex DbMutex
 
boost::asio::io_service & io
 
uint32_t LastSubscriptionId = 2
 
Common::Logger::SharedPtr Logger
 
std::map< NodeId, uint32_t > PublishRequestQueues
 
SubscriptionsIdMap SubscriptionsMap
 

Detailed Description

Definition at line 44 of file subscription_service_internal.h.

Constructor & Destructor Documentation

OpcUa::Internal::SubscriptionServiceInternal::SubscriptionServiceInternal ( Server::AddressSpace::SharedPtr  addressspace,
boost::asio::io_service &  io,
const Common::Logger::SharedPtr &  logger 
)

Definition at line 36 of file subscription_service_internal.cpp.

OpcUa::Internal::SubscriptionServiceInternal::~SubscriptionServiceInternal ( )

Definition at line 43 of file subscription_service_internal.cpp.

Member Function Documentation

std::vector< MonitoredItemCreateResult > OpcUa::Internal::SubscriptionServiceInternal::CreateMonitoredItems ( const MonitoredItemsParameters params)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 140 of file subscription_service_internal.cpp.

SubscriptionData OpcUa::Internal::SubscriptionServiceInternal::CreateSubscription ( const CreateSubscriptionRequest request,
std::function< void(PublishResult)>  callback 
)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 122 of file subscription_service_internal.cpp.

void OpcUa::Internal::SubscriptionServiceInternal::DeleteAllSubscriptions ( )

Definition at line 57 of file subscription_service_internal.cpp.

std::vector< StatusCode > OpcUa::Internal::SubscriptionServiceInternal::DeleteMonitoredItems ( const DeleteMonitoredItemsParameters params)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 170 of file subscription_service_internal.cpp.

std::vector< StatusCode > OpcUa::Internal::SubscriptionServiceInternal::DeleteSubscriptions ( const std::vector< uint32_t > &  subscriptions)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 70 of file subscription_service_internal.cpp.

Server::AddressSpace & OpcUa::Internal::SubscriptionServiceInternal::GetAddressSpace ( )

Definition at line 47 of file subscription_service_internal.cpp.

boost::asio::io_service & OpcUa::Internal::SubscriptionServiceInternal::GetIOService ( )

Definition at line 52 of file subscription_service_internal.cpp.

ModifySubscriptionResponse OpcUa::Internal::SubscriptionServiceInternal::ModifySubscription ( const ModifySubscriptionParameters parameters)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 99 of file subscription_service_internal.cpp.

bool OpcUa::Internal::SubscriptionServiceInternal::PopPublishRequest ( NodeId  node)

Definition at line 233 of file subscription_service_internal.cpp.

void OpcUa::Internal::SubscriptionServiceInternal::Publish ( const PublishRequest request)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 192 of file subscription_service_internal.cpp.

RepublishResponse OpcUa::Internal::SubscriptionServiceInternal::Republish ( const RepublishParameters request)
virtual

Implements OpcUa::SubscriptionServices.

Definition at line 216 of file subscription_service_internal.cpp.

void OpcUa::Internal::SubscriptionServiceInternal::TriggerEvent ( NodeId  node,
Event  event 
)
virtual

Member Data Documentation

Server::AddressSpace::SharedPtr OpcUa::Internal::SubscriptionServiceInternal::AddressSpace
private

Definition at line 67 of file subscription_service_internal.h.

boost::shared_mutex OpcUa::Internal::SubscriptionServiceInternal::DbMutex
mutableprivate

Definition at line 69 of file subscription_service_internal.h.

boost::asio::io_service& OpcUa::Internal::SubscriptionServiceInternal::io
private

Definition at line 66 of file subscription_service_internal.h.

uint32_t OpcUa::Internal::SubscriptionServiceInternal::LastSubscriptionId = 2
private

Definition at line 71 of file subscription_service_internal.h.

Common::Logger::SharedPtr OpcUa::Internal::SubscriptionServiceInternal::Logger
private

Definition at line 68 of file subscription_service_internal.h.

std::map<NodeId, uint32_t> OpcUa::Internal::SubscriptionServiceInternal::PublishRequestQueues
private

Definition at line 72 of file subscription_service_internal.h.

SubscriptionsIdMap OpcUa::Internal::SubscriptionServiceInternal::SubscriptionsMap
private

Definition at line 70 of file subscription_service_internal.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:10