Public Member Functions | Private Attributes | List of all members
opcua.server.history.HistoryDict Class Reference
Inheritance diagram for opcua.server.history.HistoryDict:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def new_historized_event (self, source_id, evtypes, period, count=0)
 
def new_historized_node (self, node_id, period, count=0)
 
def read_event_history (self, source_id, start, end, nb_values, evfilter)
 
def read_node_history (self, node_id, start, end, nb_values)
 
def save_event (self, event)
 
def save_node_value (self, node_id, datavalue)
 
def stop (self)
 
- Public Member Functions inherited from opcua.server.history.HistoryStorageInterface
def new_historized_event (self, source_id, evtypes, period, count=0)
 
def new_historized_node (self, node_id, period, count=0)
 
def read_event_history (self, source_id, start, end, nb_values, evfilter)
 
def read_node_history (self, node_id, start, end, nb_values)
 
def save_event (self, event)
 
def save_node_value (self, node_id, datavalue)
 
def stop (self)
 

Private Attributes

 _datachanges
 
 _datachanges_period
 
 _events
 
 _events_periods
 

Detailed Description

Very minimal history backend storing data in memory using a Python dictionary

Definition at line 77 of file history.py.

Constructor & Destructor Documentation

def opcua.server.history.HistoryDict.__init__ (   self)

Definition at line 82 of file history.py.

Member Function Documentation

def opcua.server.history.HistoryDict.new_historized_event (   self,
  source_id,
  evtypes,
  period,
  count = 0 
)

Definition at line 129 of file history.py.

def opcua.server.history.HistoryDict.new_historized_node (   self,
  node_id,
  period,
  count = 0 
)

Definition at line 88 of file history.py.

def opcua.server.history.HistoryDict.read_event_history (   self,
  source_id,
  start,
  end,
  nb_values,
  evfilter 
)

Definition at line 146 of file history.py.

def opcua.server.history.HistoryDict.read_node_history (   self,
  node_id,
  start,
  end,
  nb_values 
)

Definition at line 105 of file history.py.

def opcua.server.history.HistoryDict.save_event (   self,
  event 
)

Definition at line 135 of file history.py.

def opcua.server.history.HistoryDict.save_node_value (   self,
  node_id,
  datavalue 
)

Definition at line 94 of file history.py.

def opcua.server.history.HistoryDict.stop (   self)

Definition at line 170 of file history.py.

Member Data Documentation

opcua.server.history.HistoryDict._datachanges
private

Definition at line 83 of file history.py.

opcua.server.history.HistoryDict._datachanges_period
private

Definition at line 84 of file history.py.

opcua.server.history.HistoryDict._events
private

Definition at line 85 of file history.py.

opcua.server.history.HistoryDict._events_periods
private

Definition at line 86 of file history.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 Tue Jan 19 2021 03:12:44