Belle II Software light-2406-ragdoll
PrinterModule Class Reference
Inheritance diagram for PrinterModule:
Collaboration diagram for PrinterModule:

Public Member Functions

def __init__ (self, print_string)
 
def event (self)
 

Protected Attributes

 _print_string
 The string we want to print each event.
 

Detailed Description

Print the given string on each event

Definition at line 12 of file conditional_iov.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  print_string 
)
Remember the given string to print later

Definition at line 15 of file conditional_iov.py.

15 def __init__(self, print_string):
16 """Remember the given string to print later"""
17 super().__init__()
18
19 self._print_string = print_string
20

Member Function Documentation

◆ event()

def event (   self)
And now would be a good time for printing ...

Definition at line 21 of file conditional_iov.py.

21 def event(self):
22 """And now would be a good time for printing ..."""
23 print(self._print_string)
24
25

Member Data Documentation

◆ _print_string

_print_string
protected

The string we want to print each event.

Definition at line 19 of file conditional_iov.py.


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