Public Member Functions | Private Attributes | List of all members
pyuavcan_v0.node.HandlerDispatcher Class Reference
Inheritance diagram for pyuavcan_v0.node.HandlerDispatcher:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, node, catch_exceptions)
 
def add_handler (self, uavcan_type, handler, **kwargs)
 
def call_handlers (self, transfer)
 
def remove_handlers (self, uavcan_type)
 

Private Attributes

 _catch_exceptions
 
 _handlers
 
 _node
 

Detailed Description

Definition at line 143 of file node.py.

Constructor & Destructor Documentation

◆ __init__()

def pyuavcan_v0.node.HandlerDispatcher.__init__ (   self,
  node,
  catch_exceptions 
)

Definition at line 144 of file node.py.

Member Function Documentation

◆ add_handler()

def pyuavcan_v0.node.HandlerDispatcher.add_handler (   self,
  uavcan_type,
  handler,
**  kwargs 
)

Definition at line 149 of file node.py.

◆ call_handlers()

def pyuavcan_v0.node.HandlerDispatcher.call_handlers (   self,
  transfer 
)

Definition at line 191 of file node.py.

◆ remove_handlers()

def pyuavcan_v0.node.HandlerDispatcher.remove_handlers (   self,
  uavcan_type 
)

Definition at line 188 of file node.py.

Member Data Documentation

◆ _catch_exceptions

pyuavcan_v0.node.HandlerDispatcher._catch_exceptions
private

Definition at line 147 of file node.py.

◆ _handlers

pyuavcan_v0.node.HandlerDispatcher._handlers
private

Definition at line 145 of file node.py.

◆ _node

pyuavcan_v0.node.HandlerDispatcher._node
private

Definition at line 146 of file node.py.


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


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04