Belle II Software development
|
Public Member Functions | |
def | __init__ (self, module) |
def | wrapper_name (self) |
def | param (self) |
def | available_params (self) |
def | compose_wrapped_module_name (self, module) |
def | get_name (self) |
def | initialize (self) |
def | beginRun (self) |
def | event (self) |
def | endRun (self) |
def | terminate (self) |
Public Attributes | |
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.
def __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.
Reimplemented in IfMCParticlesPresentModule, IfModule, PyProfilingModule, and IfStoreArrayPresentModule.
Definition at line 46 of file metamodules.py.
def available_params | ( | self | ) |
Forwards the available parameters
Definition at line 78 of file metamodules.py.
def beginRun | ( | self | ) |
Begin run method of the module
Definition at line 94 of file metamodules.py.
def compose_wrapped_module_name | ( | self, | |
module | |||
) |
Compose a name that indicates the wrapped module.
Definition at line 82 of file metamodules.py.
def endRun | ( | self | ) |
End run method of the module
Definition at line 102 of file metamodules.py.
def event | ( | self | ) |
Event method of the module
Reimplemented in PyProfilingModule, and IfModule.
Definition at line 98 of file metamodules.py.
def get_name | ( | self | ) |
Forwards the name().
Definition at line 86 of file metamodules.py.
def initialize | ( | self | ) |
Initialize method of the module
Reimplemented in PyProfilingModule, and IfStoreArrayPresentModule.
Definition at line 90 of file metamodules.py.
def param | ( | self | ) |
Forwards the parameters
Definition at line 73 of file metamodules.py.
def terminate | ( | self | ) |
Terminate method of the module
Reimplemented in PyProfilingModule.
Definition at line 106 of file metamodules.py.
def wrapper_name | ( | self | ) |
Name of the wrapper class.
Definition at line 68 of file metamodules.py.
module |
The wrapped module.
Definition at line 53 of file metamodules.py.