Public Member Functions | Public Attributes | Static Private Attributes | List of all members
mavros.event_launcher.EventHandler Class Reference
Inheritance diagram for mavros.event_launcher.EventHandler:
Inheritance graph
[legend]

Public Member Functions

def __call__ (self, event)
 
def __init__ (self, name, events=[], actions=[])
 
def __str__ (self)
 
def spin_once (self)
 

Public Attributes

 actions
 
 events
 
 lock
 
 name
 

Static Private Attributes

list __slots__
 

Detailed Description

Base class for event handlers

Definition at line 27 of file event_launcher.py.

Constructor & Destructor Documentation

def mavros.event_launcher.EventHandler.__init__ (   self,
  name,
  events = [],
  actions = [] 
)

Definition at line 36 of file event_launcher.py.

Member Function Documentation

def mavros.event_launcher.EventHandler.__call__ (   self,
  event 
)

Definition at line 45 of file event_launcher.py.

def mavros.event_launcher.EventHandler.__str__ (   self)

Definition at line 42 of file event_launcher.py.

def mavros.event_launcher.EventHandler.spin_once (   self)

Definition at line 58 of file event_launcher.py.

Member Data Documentation

list mavros.event_launcher.EventHandler.__slots__
staticprivate
Initial value:
1 = [
2  'name', 'events', 'actions', 'lock',
3  ]

Definition at line 32 of file event_launcher.py.

mavros.event_launcher.EventHandler.actions

Definition at line 39 of file event_launcher.py.

mavros.event_launcher.EventHandler.events

Definition at line 38 of file event_launcher.py.

mavros.event_launcher.EventHandler.lock

Definition at line 40 of file event_launcher.py.

mavros.event_launcher.EventHandler.name

Definition at line 37 of file event_launcher.py.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:27