![]() |
The Gaudi Framework
v28r2
|
Classes | |
class | Configurable |
class | ConfigurableAlgorithm |
class | ConfigurableAlgTool |
class | ConfigurableAuditor |
class | ConfigurableGeneric |
class | ConfigurableService |
class | ConfigurableUser |
class | CreateSequencesVisitor |
class | DummyDescriptor |
classes for generic Gaudi component =========== More... | |
class | Error |
class | PropertyReference |
Allow references to options as in old style. More... | |
class | SuperAlgorithm |
Functions | |
def | expandvars (data) |
def | isApplicable (self) |
if isinstance(v,Configurable) and not v.isPublic(): rep += v.__str__( indent + 1 ) + os.linesep elif isinstance(v,GaudiHandleArray): for vi in v: if isinstance(vi,Configurable) and not vi.isPublic(): rep += vi.__str__( indent + 1 ) + os.linesep More... | |
def | appendPostConfigAction (function) |
def | removePostConfigAction (function) |
def | applyConfigurableUsers () |
def | applyConfigurableUsers_old () |
def | getNeededConfigurables () |
def | purge () |
def | makeSequences (expression) |
Variables | |
list | __all__ |
data ------------------------------------------------------------------— More... | |
log = logging.getLogger( 'Configurable' ) | |
list | postConfigActions = [] |
bool | _appliedConfigurableUsers_ = False |
def GaudiKernel.Configurable.appendPostConfigAction | ( | function | ) |
Add a new callable ('function') to the list of post-configuration actions. If the callable is already in the list, it is moved to the end of the list. The list is directly accessible as 'GaudiKernel.Configurable.postConfigActions'.
Definition at line 1376 of file Configurable.py.
def GaudiKernel.Configurable.applyConfigurableUsers | ( | ) |
Call the apply method of all the ConfigurableUser instances respecting the dependencies. First the C.U.s that are not used by anybody, then the used ones, when they are not used anymore.
Definition at line 1395 of file Configurable.py.
def GaudiKernel.Configurable.applyConfigurableUsers_old | ( | ) |
Obsolete (buggy) implementation of applyConfigurableUsers(), kept to provide backward compatibility for configurations that where relying (implicitly) on bug #103803, or on a specific (non guaranteed) order of execution. @see applyConfigurableUsers()
Definition at line 1464 of file Configurable.py.
def GaudiKernel.Configurable.expandvars | ( | data | ) |
Expand environment variables "data". Data can be string, list, tuple and dictionary. For collection, all the contained strings will be manipulated (recursively).
Definition at line 34 of file Configurable.py.
def GaudiKernel.Configurable.getNeededConfigurables | ( | ) |
Function to select all and only the configurables that have to be used in GaudiPython.AppMgr constructor. This is needed because in Athena the implementation have to be different (the configuration is used in a different moment).
Definition at line 1526 of file Configurable.py.
def GaudiKernel.Configurable.isApplicable | ( | self | ) |
if isinstance(v,Configurable) and not v.isPublic(): rep += v.__str__( indent + 1 ) + os.linesep elif isinstance(v,GaudiHandleArray): for vi in v: if isinstance(vi,Configurable) and not vi.isPublic(): rep += vi.__str__( indent + 1 ) + os.linesep
for cfg in self.__children:
Return True is the instance can be "applied". Always False for plain Configurable instances (i.e. not ConfigurableUser).
Definition at line 930 of file Configurable.py.
def GaudiKernel.Configurable.makeSequences | ( | expression | ) |
Convert a control flow expression to nested GaudiSequencers.
Definition at line 1609 of file Configurable.py.
def GaudiKernel.Configurable.purge | ( | ) |
def GaudiKernel.Configurable.removePostConfigAction | ( | function | ) |
Remove a callable from the list of post-config actions. The list is directly accessible as 'GaudiKernel.Configurable.postConfigActions'.
Definition at line 1387 of file Configurable.py.
|
private |
data ------------------------------------------------------------------—
Definition at line 21 of file Configurable.py.
|
private |
Definition at line 1394 of file Configurable.py.
GaudiKernel.Configurable.log = logging.getLogger( 'Configurable' ) |
Definition at line 32 of file Configurable.py.
list GaudiKernel.Configurable.postConfigActions = [] |
Definition at line 1375 of file Configurable.py.