![]() |
Belle II Software development
|
Public Member Functions | |
__init__ (self, module) | |
wrapper_name (self) | |
param (self) | |
available_params (self) | |
compose_wrapped_module_name (self, module) | |
get_name (self) | |
initialize (self) | |
beginRun (self) | |
event (self) | |
endRun (self) | |
terminate (self) | |
Public Attributes | |
module = module | |
The wrapped module. | |
Wrapping module base class that wraps a single module to slightly change its behaviour. The base implementation does nothing, but forward the relevant methods to the wrapped module. Note: Implements the decorator/wrapper pattern. Attributes: module (basf2.Module): The wrapped module instance.
Definition at line 33 of file metamodules.py.
__init__ | ( | self, | |
module ) |
Create a new wrapper module around the given module. This base implementation does not change anything, so there is no reason to use this base implementation alone.
Definition at line 46 of file metamodules.py.
available_params | ( | self | ) |
Forwards the available parameters
Definition at line 78 of file metamodules.py.
beginRun | ( | self | ) |
Begin run method of the module
Definition at line 94 of file metamodules.py.
compose_wrapped_module_name | ( | self, | |
module ) |
Compose a name that indicates the wrapped module.
Definition at line 82 of file metamodules.py.
endRun | ( | self | ) |
End run method of the module
Definition at line 102 of file metamodules.py.
event | ( | self | ) |
Event method of the module
Reimplemented in IfModule, and PyProfilingModule.
Definition at line 98 of file metamodules.py.
get_name | ( | self | ) |
Forwards the name().
Definition at line 86 of file metamodules.py.
initialize | ( | self | ) |
Initialize method of the module
Reimplemented in IfStoreArrayPresentModule, and PyProfilingModule.
Definition at line 90 of file metamodules.py.
param | ( | self | ) |
Forwards the parameters
Definition at line 73 of file metamodules.py.
terminate | ( | self | ) |
Terminate method of the module
Reimplemented in PyProfilingModule.
Definition at line 106 of file metamodules.py.
wrapper_name | ( | self | ) |
Name of the wrapper class.
Definition at line 68 of file metamodules.py.
module = module |
The wrapped module.
Definition at line 53 of file metamodules.py.