![]() |
Belle II Software prerelease-10-00-00a
|


Public Member Functions | |
| __init__ (self, queue=None, label=None, *args, **kwargs) | |
| terminate (self) | |
| new_output_filename (self) | |
Public Attributes | |
| queue = queue | |
| The queue to handle. | |
| label = label | |
| The label for writing to the queue. | |
| bool | use_cpp = True |
| We want to use cpp for sure. | |
| manager = multiprocessing.Manager() | |
| We store the files in a list and this list must be accessible also in multiprocessing, so we us a manager here. | |
| file_list = self.manager.list([]) | |
| The list of created paths. | |
A wrapper around the svg drawer in the tracking package that writes its output files as a list to the queue
Definition at line 16 of file wrapper.py.
| __init__ | ( | self, | |
| queue = None, | |||
| label = None, | |||
| * | args, | ||
| ** | kwargs ) |
The same as the base class, except: Arguments --------- queue: The queue to write to label: The key name in the queue
Definition at line 23 of file wrapper.py.
| new_output_filename | ( | self | ) |
Overwrite the function to listen for every new filename
Definition at line 57 of file wrapper.py.
| terminate | ( | self | ) |
Overwrite the terminate to put the list to the queue
Definition at line 49 of file wrapper.py.
| file_list = self.manager.list([]) |
The list of created paths.
Definition at line 47 of file wrapper.py.
| label = label |
The label for writing to the queue.
Definition at line 36 of file wrapper.py.
| manager = multiprocessing.Manager() |
We store the files in a list and this list must be accessible also in multiprocessing, so we us a manager here.
Definition at line 44 of file wrapper.py.
| queue = queue |
The queue to handle.
Definition at line 33 of file wrapper.py.
| bool use_cpp = True |
We want to use cpp for sure.
Definition at line 41 of file wrapper.py.