Belle II Software
release-08-01-10
|
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 34 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.
Definition at line 47 of file metamodules.py.
def available_params | ( | self | ) |
Forwards the avaiilable parameters
Definition at line 79 of file metamodules.py.
def beginRun | ( | self | ) |
Begin run method of the module
Definition at line 96 of file metamodules.py.
def compose_wrapped_module_name | ( | self, | |
module | |||
) |
Compose a name that indicates the wrapped module.
Definition at line 83 of file metamodules.py.
def endRun | ( | self | ) |
End run method of the module
Definition at line 104 of file metamodules.py.
def event | ( | self | ) |
Event method of the module
Reimplemented in IfModule, and PyProfilingModule.
Definition at line 100 of file metamodules.py.
def get_name | ( | self | ) |
Forwards the name().
Definition at line 88 of file metamodules.py.
def initialize | ( | self | ) |
Initialize method of the module
Reimplemented in IfStoreArrayPresentModule, and PyProfilingModule.
Definition at line 92 of file metamodules.py.
def param | ( | self | ) |
Forwards the parameters
Definition at line 74 of file metamodules.py.
def terminate | ( | self | ) |
Terminate method of the module
Reimplemented in PyProfilingModule.
Definition at line 108 of file metamodules.py.
def wrapper_name | ( | self | ) |
Name of the wrapper class.
Definition at line 69 of file metamodules.py.