Public Member Functions | Public Attributes | Private Attributes
opcua.server.address_space.AddressSpace Class Reference

List of all members.

Public Member Functions

def __contains__
def __delitem__
def __getitem__
def __init__
def __setitem__
def add_datachange_callback
def add_method_callback
def delete_datachange_callback
def dump
def empty
def generate_nodeid
def get_attribute_value
def keys
def load
def load_aspace_shelf
def make_aspace_shelf
def set_attribute_value

Public Attributes

 cache
 logger
 source

Private Attributes

 _datachange_callback_counter
 _default_idx
 _handle_to_attribute_map
 _lock
 _nodeid_counter
 _nodes

Detailed Description

The address space object stores all the nodes of the OPC-UA server
and helper methods.
The methods are thread safe

Definition at line 434 of file address_space.py.


Constructor & Destructor Documentation

Definition at line 442 of file address_space.py.


Member Function Documentation

Definition at line 460 of file address_space.py.

Definition at line 464 of file address_space.py.

Definition at line 451 of file address_space.py.

def opcua.server.address_space.AddressSpace.__setitem__ (   self,
  nodeid,
  value 
)

Definition at line 456 of file address_space.py.

def opcua.server.address_space.AddressSpace.add_datachange_callback (   self,
  nodeid,
  attr,
  callback 
)

Definition at line 620 of file address_space.py.

def opcua.server.address_space.AddressSpace.add_method_callback (   self,
  methodid,
  callback 
)

Definition at line 640 of file address_space.py.

Definition at line 635 of file address_space.py.

Dump address space as binary to file; note that server must be stopped for this method to work
DO NOT DUMP AN ADDRESS SPACE WHICH IS USING A SHELF (load_aspace_shelf), ONLY CACHED NODES WILL GET DUMPED!

Definition at line 494 of file address_space.py.

Delete all nodes in address space

Definition at line 487 of file address_space.py.

Definition at line 468 of file address_space.py.

def opcua.server.address_space.AddressSpace.get_attribute_value (   self,
  nodeid,
  attr 
)

Definition at line 575 of file address_space.py.

Definition at line 483 of file address_space.py.

Load address space from a binary file, overwriting everything in the current address space

Definition at line 508 of file address_space.py.

Load the standard address space nodes from a python shelve via LazyLoadingDict as needed.
The dump() method can no longer be used if the address space is being loaded from a shelf

Note: Intended for slow devices, such as Raspberry Pi, to greatly improve start up time

Definition at line 529 of file address_space.py.

Make a shelf for containing the nodes from the standard address space; this is typically only done on first
start of the server. Subsequent server starts will load the shelf, nodes are then moved to a cache
by the LazyLoadingDict class when they are accessed. Saving data back to the shelf
is currently NOT supported, it is only used for the default OPC UA standard address space

Note: Intended for slow devices, such as Raspberry Pi, to greatly improve start up time

Definition at line 515 of file address_space.py.

def opcua.server.address_space.AddressSpace.set_attribute_value (   self,
  nodeid,
  attr,
  value 
)

Definition at line 592 of file address_space.py.


Member Data Documentation

Definition at line 442 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 538 of file address_space.py.

Definition at line 442 of file address_space.py.

Definition at line 538 of file address_space.py.


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


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Sat Jun 8 2019 18:26:24