#include <address_space_internal.h>

Public Member Functions | |
| uint32_t | AddDataChangeCallback (const NodeId &node, AttributeId attribute, std::function< Server::DataChangeCallback > callback) |
| Add callback which will be called when values of attribute is changed. More... | |
| virtual std::vector< AddNodesResult > | AddNodes (const std::vector< AddNodesItem > &items) |
| virtual std::vector< StatusCode > | AddReferences (const std::vector< AddReferencesItem > &items) |
| AddressSpaceInMemory (const Common::Logger::SharedPtr &logger) | |
| virtual std::vector< BrowseResult > | Browse (const OpcUa::NodesQuery &query) const |
| virtual std::vector< BrowseResult > | BrowseNext () const |
| virtual std::vector< OpcUa::CallMethodResult > | Call (const std::vector< OpcUa::CallMethodRequest > &methodsToCall) |
| void | DeleteDataChangeCallback (uint32_t serverhandle) |
| Delete data change callback assosioated with handle. More... | |
| virtual std::vector< DataValue > | Read (const ReadParameters ¶ms) const |
| virtual std::vector< NodeId > | RegisterNodes (const std::vector< NodeId > ¶ms) const |
| void | SetMethod (const NodeId &node, std::function< std::vector< OpcUa::Variant >(NodeId context, std::vector< OpcUa::Variant > arguments)> callback) |
| Set method function for a method node. More... | |
| StatusCode | SetValueCallback (const NodeId &node, AttributeId attribute, std::function< DataValue(void)> callback) |
| Set callback which will be called to read new value of the attribue. More... | |
| 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 > &values) |
| ~AddressSpaceInMemory () | |
Public Member Functions inherited from OpcUa::Server::AddressSpace | |
| virtual uint32_t | AddDataChangeCallback (const NodeId &node, AttributeId attribute, std::function< DataChangeCallback > callback)=0 |
Private Member Functions | |
| AddNodesResult | AddNode (const AddNodesItem &item) |
| StatusCode | AddReference (const AddReferencesItem &item) |
| CallMethodResult | CallMethod (CallMethodRequest method) |
| std::tuple< bool, NodeId > | FindElementInNode (const NodeId &nodeid, const RelativePathElement &element) const |
| NodeId | GetNewNodeId (const NodeId &id) |
| DataValue | GetValue (const NodeId &node, AttributeId attribute) const |
| bool | IsSuitableReference (const BrowseDescription &desc, const ReferenceDescription &reference) const |
| bool | IsSuitableReferenceType (const ReferenceDescription &reference, const NodeId &typeId, bool includeSubtypes) const |
| std::vector< NodeId > | SelectNodesHierarchy (std::vector< NodeId > sourceNodes) const |
| StatusCode | SetValue (const NodeId &node, AttributeId attribute, const DataValue &data) |
| BrowsePathResult | TranslateBrowsePath (const BrowsePath &browsepath) const |
Private Attributes | |
| ClientIdToAttributeMapType | ClientIdToAttributeMap |
| std::atomic< uint32_t > | DataChangeCallbackHandle |
| boost::shared_mutex | DbMutex |
| uint32_t | DefaultIdx = 2 |
| Common::Logger::SharedPtr | Logger |
| uint32_t | MaxNodeIdNum = 2000 |
| NodesMap | Nodes |
Definition at line 80 of file address_space_internal.h.
| OpcUa::Internal::AddressSpaceInMemory::AddressSpaceInMemory | ( | const Common::Logger::SharedPtr & | logger | ) |
Definition at line 28 of file address_space_internal.cpp.
| OpcUa::Internal::AddressSpaceInMemory::~AddressSpaceInMemory | ( | ) |
Definition at line 47 of file address_space_internal.cpp.
| uint32_t OpcUa::Internal::AddressSpaceInMemory::AddDataChangeCallback | ( | const NodeId & | node, |
| AttributeId | attribute, | ||
| std::function< Server::DataChangeCallback > | callback | ||
| ) |
Add callback which will be called when values of attribute is changed.
Definition at line 275 of file address_space_internal.cpp.
|
private |
Definition at line 533 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::NodeManagementServices.
Definition at line 51 of file address_space_internal.cpp.
|
private |
Definition at line 625 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::NodeManagementServices.
Definition at line 65 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::ViewServices.
Definition at line 94 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::ViewServices.
Definition at line 134 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::MethodServices.
Definition at line 376 of file address_space_internal.cpp.
|
private |
Definition at line 390 of file address_space_internal.cpp.
|
virtual |
Delete data change callback assosioated with handle.
Implements OpcUa::Server::AddressSpace.
Definition at line 305 of file address_space_internal.cpp.
|
private |
Definition at line 189 of file address_space_internal.cpp.
Definition at line 674 of file address_space_internal.cpp.
|
private |
Definition at line 236 of file address_space_internal.cpp.
|
private |
Definition at line 464 of file address_space_internal.cpp.
|
private |
Definition at line 490 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::AttributeServices.
Definition at line 155 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::ViewServices.
Definition at line 141 of file address_space_internal.cpp.
|
private |
Definition at line 503 of file address_space_internal.cpp.
|
virtual |
Set method function for a method node.
Implements OpcUa::Server::AddressSpace.
Definition at line 359 of file address_space_internal.cpp.
|
private |
Definition at line 437 of file address_space_internal.cpp.
|
virtual |
Set callback which will be called to read new value of the attribue.
Implements OpcUa::Server::AddressSpace.
Definition at line 339 of file address_space_internal.cpp.
|
private |
Definition at line 208 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::ViewServices.
Definition at line 79 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::ViewServices.
Definition at line 148 of file address_space_internal.cpp.
|
virtual |
Implements OpcUa::AttributeServices.
Definition at line 169 of file address_space_internal.cpp.
|
private |
Definition at line 131 of file address_space_internal.h.
|
private |
Definition at line 134 of file address_space_internal.h.
|
mutableprivate |
Definition at line 129 of file address_space_internal.h.
|
private |
Definition at line 133 of file address_space_internal.h.
|
private |
Definition at line 128 of file address_space_internal.h.
|
private |
Definition at line 132 of file address_space_internal.h.
|
private |
Definition at line 130 of file address_space_internal.h.