Belle II Software  release-08-01-10
TestModule Class Reference
Inheritance diagram for TestModule:
Collaboration diagram for TestModule:

Public Member Functions

def __init__ (self, init_signal, event_signal)
 
def initialize (self)
 
def event (self)
 

Public Attributes

 init_signal
 signal to emit to ourselves during initialize()
 
 event_signal
 signal to emit to ourselves during event()
 

Detailed Description

test

Definition at line 27 of file signals.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  init_signal,
  event_signal 
)
Setup module for given signal settings

Definition at line 30 of file signals.py.

30  def __init__(self, init_signal, event_signal):
31  """Setup module for given signal settings"""
32  super().__init__()
33 
34  self.init_signal = init_signal
35 
36  self.event_signal = event_signal
37 

Member Function Documentation

◆ event()

def event (   self)
If init_signal is true raise error, if event_signal is true kill process, otherwise print info

Definition at line 47 of file signals.py.

◆ initialize()

def initialize (   self)
If init_signal is true, kill on init, otherwise just print info

Definition at line 38 of file signals.py.


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