Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes
opcua.common.events.Event Class Reference
Inheritance diagram for opcua.common.events.Event:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__
def add_property
def get_event_props_as_fields_dict
def to_event_fields
def to_event_fields_using_subscription_fields

Static Public Member Functions

def from_event_fields
def from_field_dict

Public Attributes

 data_types
 event_fields
 internal_properties
 select_clauses
 server_handle

Static Private Attributes

 __repr__ = __str__

Detailed Description

OPC UA Event object.
This is class in inherited by the common event objects such as BaseEvent,
other auto standard events and custom events
Events are used to trigger events on server side and are
sent to clients for every events from server

Developper Warning:
On server side the data type of attributes should be known, thus
add properties using the add_property method!!!

Definition at line 9 of file events.py.


Constructor & Destructor Documentation

Definition at line 22 of file events.py.


Member Function Documentation

Definition at line 30 of file events.py.

def opcua.common.events.Event.add_property (   self,
  name,
  val,
  datatype 
)
Add a property to event and tore its data type

Definition at line 36 of file events.py.

def opcua.common.events.Event.from_event_fields (   select_clauses,
  fields 
) [static]
Instantiate an Event object from a select_clauses and fields

Definition at line 96 of file events.py.

def opcua.common.events.Event.from_field_dict (   fields) [static]
Create an Event object from a dict of name and variants

Definition at line 54 of file events.py.

convert all properties of the Event class to a dict of variants

Definition at line 43 of file events.py.

def opcua.common.events.Event.to_event_fields (   self,
  select_clauses 
)
return a field list using a select clause and the object properties

Definition at line 76 of file events.py.

Using a new select_clauses and the original select_clauses
used during subscription, return a field list 

Definition at line 63 of file events.py.


Member Data Documentation

Definition at line 34 of file events.py.

Definition at line 22 of file events.py.

Definition at line 22 of file events.py.

Definition at line 22 of file events.py.

Definition at line 22 of file events.py.

Definition at line 22 of file events.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