#include <address_space_addon.h>
Classes | |
struct | Options |
Public Member Functions | |
virtual uint32_t | AddDataChangeCallback (const NodeId &node, AttributeId attribute, std::function< Server::DataChangeCallback > callback) |
virtual std::vector < AddNodesResult > | AddNodes (const std::vector< AddNodesItem > &items) |
virtual std::vector< StatusCode > | AddReferences (const std::vector< AddReferencesItem > &items) |
AddressSpaceAddon () | |
virtual std::vector< BrowseResult > | Browse (const OpcUa::NodesQuery &query) const |
virtual std::vector< BrowseResult > | BrowseNext () const |
DEFINE_CLASS_POINTERS (AddressSpaceAddon) | |
virtual void | DeleteDataChangeCallback (uint32_t clienthandle) |
virtual void | Initialize (Common::AddonsManager &addons, const Common::AddonParameters ¶ms) |
initialize addon. | |
virtual std::vector< DataValue > | Read (const OpcUa::ReadParameters &filter) const |
virtual std::vector< NodeId > | RegisterNodes (const std::vector< NodeId > ¶ms) const |
virtual StatusCode | SetValueCallback (const NodeId &node, AttributeId attribute, std::function< DataValue(void)> callback) |
virtual void | Stop () |
Stopping addon work. After calling this method addon should throw exception on any calls. | |
virtual std::vector < BrowsePathResult > | TranslateBrowsePathsToNodeIds (const TranslateBrowsePathsParameters ¶ms) const |
virtual void | UnregisterNodes (const std::vector< NodeId > ¶ms) const |
virtual std::vector< StatusCode > | Write (const std::vector< OpcUa::WriteValue > &filter) |
virtual | ~AddressSpaceAddon () |
Private Member Functions | |
Options | GetOptions (const Common::AddonParameters &addonParams) |
Private Attributes | |
std::shared_ptr < OpcUa::Server::ServicesRegistry > | InternalServer |
OpcUa::Server::AddressSpace::SharedPtr | Registry |
Definition at line 26 of file address_space_addon.h.
Definition at line 24 of file address_space_addon.cpp.
OpcUa::Internal::AddressSpaceAddon::~AddressSpaceAddon | ( | ) | [virtual] |
Definition at line 28 of file address_space_addon.cpp.
uint32_t OpcUa::Internal::AddressSpaceAddon::AddDataChangeCallback | ( | const NodeId & | node, |
AttributeId | attribute, | ||
std::function< Server::DataChangeCallback > | callback | ||
) | [virtual] |
Definition at line 109 of file address_space_addon.cpp.
std::vector< AddNodesResult > OpcUa::Internal::AddressSpaceAddon::AddNodes | ( | const std::vector< AddNodesItem > & | items | ) | [virtual] |
Implements OpcUa::NodeManagementServices.
Definition at line 65 of file address_space_addon.cpp.
std::vector< StatusCode > OpcUa::Internal::AddressSpaceAddon::AddReferences | ( | const std::vector< AddReferencesItem > & | items | ) | [virtual] |
Implements OpcUa::NodeManagementServices.
Definition at line 70 of file address_space_addon.cpp.
std::vector< BrowseResult > OpcUa::Internal::AddressSpaceAddon::Browse | ( | const OpcUa::NodesQuery & | query | ) | const [virtual] |
Implements OpcUa::ViewServices.
Definition at line 75 of file address_space_addon.cpp.
std::vector< BrowseResult > OpcUa::Internal::AddressSpaceAddon::BrowseNext | ( | ) | const [virtual] |
Implements OpcUa::ViewServices.
Definition at line 79 of file address_space_addon.cpp.
void OpcUa::Internal::AddressSpaceAddon::DeleteDataChangeCallback | ( | uint32_t | clienthandle | ) | [virtual] |
Implements OpcUa::Server::AddressSpace.
Definition at line 114 of file address_space_addon.cpp.
AddressSpaceAddon::Options OpcUa::Internal::AddressSpaceAddon::GetOptions | ( | const Common::AddonParameters & | addonParams | ) | [private] |
Definition at line 32 of file address_space_addon.cpp.
void OpcUa::Internal::AddressSpaceAddon::Initialize | ( | Common::AddonsManager & | manager, |
const Common::AddonParameters & | parameters | ||
) | [virtual] |
initialize addon.
Implements Common::Addon.
Definition at line 46 of file address_space_addon.cpp.
std::vector< DataValue > OpcUa::Internal::AddressSpaceAddon::Read | ( | const OpcUa::ReadParameters & | filter | ) | const [virtual] |
Implements OpcUa::AttributeServices.
Definition at line 99 of file address_space_addon.cpp.
std::vector< NodeId > OpcUa::Internal::AddressSpaceAddon::RegisterNodes | ( | const std::vector< NodeId > & | params | ) | const [virtual] |
Implements OpcUa::ViewServices.
Definition at line 89 of file address_space_addon.cpp.
StatusCode OpcUa::Internal::AddressSpaceAddon::SetValueCallback | ( | const NodeId & | node, |
AttributeId | attribute, | ||
std::function< DataValue(void)> | callback | ||
) | [virtual] |
Implements OpcUa::Server::AddressSpace.
Definition at line 119 of file address_space_addon.cpp.
void OpcUa::Internal::AddressSpaceAddon::Stop | ( | ) | [virtual] |
Stopping addon work. After calling this method addon should throw exception on any calls.
Implements Common::Addon.
Definition at line 56 of file address_space_addon.cpp.
std::vector< BrowsePathResult > OpcUa::Internal::AddressSpaceAddon::TranslateBrowsePathsToNodeIds | ( | const TranslateBrowsePathsParameters & | params | ) | const [virtual] |
Implements OpcUa::ViewServices.
Definition at line 84 of file address_space_addon.cpp.
void OpcUa::Internal::AddressSpaceAddon::UnregisterNodes | ( | const std::vector< NodeId > & | params | ) | const [virtual] |
Implements OpcUa::ViewServices.
Definition at line 94 of file address_space_addon.cpp.
std::vector< StatusCode > OpcUa::Internal::AddressSpaceAddon::Write | ( | const std::vector< OpcUa::WriteValue > & | filter | ) | [virtual] |
Implements OpcUa::AttributeServices.
Definition at line 104 of file address_space_addon.cpp.
std::shared_ptr<OpcUa::Server::ServicesRegistry> OpcUa::Internal::AddressSpaceAddon::InternalServer [private] |
Definition at line 71 of file address_space_addon.h.
OpcUa::Server::AddressSpace::SharedPtr OpcUa::Internal::AddressSpaceAddon::Registry [private] |
Definition at line 70 of file address_space_addon.h.