![]() |
The Gaudi Framework
master (ff829712)
|
Public Member Functions | |
__init__ (self, name=Configurable.DefaultName, _enabled=True, **kwargs) | |
getGaudiType (cls) | |
getDlls (self) | |
getHandle (self) | |
__detach_used__ (self) | |
propagateProperty (self, name, others=None, force=True) | |
propagateProperties (self, names=None, others=None, force=True) | |
__apply_configuration__ (self) | |
applyConf (self) | |
getUsedInstance (self, name) | |
isApplicable (self) | |
![]() | |
__new__ (cls, *args, **kwargs) | |
__init__ (self, name=DefaultName) | |
__getstate__ (self) | |
__getnewargs__ (self) | |
__setstate__ (self, dict) | |
__len__ (self) | |
__iter__ (self) | |
__deepcopy__ (self, memo) | |
__iadd__ (self, configs, descr=None) | |
__getattr__ (self, attr) | |
__setattr__ (self, name, value) | |
__delattr__ (self, attr) | |
__bool__ (self) | |
remove (self, items) | |
removeAll (self) | |
copyChild (self, child) | |
setParent (self, parentName) | |
getParent (self) | |
hasParent (self, parent) | |
copyChildAndSetParent (self, cfg, parent) | |
getChildren (self) | |
getTools (self) | |
children (self) | |
getAllChildren (self) | |
getSequence (self) | |
setup (self) | |
getProperties (self) | |
getPropertiesWithDescription (self) | |
getValuedProperties (self) | |
properties (self) | |
getDefaultProperties (cls) | |
getDefaultProperty (cls, name) | |
getProp (self, name) | |
setProp (self, name, value) | |
isPropertySet (self, name) | |
getType (cls) | |
getName (self) | |
name (self) | |
getJobOptName (self) | |
isPublic (self) | |
jobOptName (self) | |
getFullName (self) | |
getFullJobOptName (self) | |
getPrintTitle (self) | |
getTitleName (self) | |
setDefaults (cls, handle) | |
clone (self, name=None, **kwargs) | |
splitName (self) | |
addTool (self, tool, name=None) | |
__repr__ (self) | |
__str__ (self, indent=0, headerLastIndentUnit=indentUnit) | |
![]() | |
__new__ (self, name, bases, dct) | |
__call__ (cls, *args, **kwargs) | |
Protected Member Functions | |
_instanceName (self, cls) | |
![]() | |
_isInSetDefaults (self) | |
Protected Attributes | |
_enabled = _enabled | |
bool | _applied = False |
![]() | |
_name = self.__class__.DefaultedName | |
bool | _inSetDefaults = False |
bool | _initok = True |
bool | _setupok = False |
bool | _unpickling = False |
_properties | |
Private Member Functions | |
__addActiveUseOf (self, other) | |
__addPassiveUseOf (self, other) | |
Private Attributes | |
list | __users__ = [] |
list | __used_instances__ = [] |
Static Private Attributes | |
dict | __slots__ |
list | __used_configurables__ = [] |
list | __queried_configurables__ = [] |
Additional Inherited Members | |
![]() | |
configurables | |
![]() | |
propertyNoValue | |
str | indentUnit = "| " |
int | printHeaderWidth = 100 |
int | printHeaderPre = 5 |
dict | allConfigurables = {} |
dict | configurableServices = {} |
![]() | |
_printHeader (indentStr, title) | |
_printFooter (indentStr, title) | |
![]() | |
bool | _configurationLocked = False |
Definition at line 1360 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.__init__ | ( | self, | |
name = Configurable.DefaultName, | |||
_enabled = True, | |||
** | kwargs ) |
Definition at line 1380 of file Configurable.py.
|
private |
Declare that we are going to modify the Configurable 'other' in our __apply_configuration__.
Definition at line 1427 of file Configurable.py.
|
private |
Declare that we are going to retrieve property values from the ConfigurableUser 'other' in our __apply_configuration__.
Definition at line 1436 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.__apply_configuration__ | ( | self | ) |
Function to be overridden to convert the high level configuration into a low level one. The default implementation calls applyConf, which is the method defined in some ConfigurableUser implementations.
Definition at line 1527 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.__detach_used__ | ( | self | ) |
Remove this ConfigurableUser instance from the users list of the used instances.
Definition at line 1458 of file Configurable.py.
|
protected |
Function used to define the name of the private instance of a given class name. This method is used when the __used_configurables_property__ declares the need of a private used configurable without specifying the name.
Definition at line 1543 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.applyConf | ( | self | ) |
Function to be overridden to convert the high level configuration into a low level one.
Definition at line 1536 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.getDlls | ( | self | ) |
Definition at line 1452 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.getGaudiType | ( | cls | ) |
Definition at line 1449 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.getHandle | ( | self | ) |
Definition at line 1455 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.getUsedInstance | ( | self, | |
name ) |
Return the used instance with a given name.
Definition at line 1556 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.isApplicable | ( | self | ) |
Return True is the instance can be "applied".
Reimplemented from GaudiKernel.Configurable.Configurable.
Definition at line 1569 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.propagateProperties | ( | self, | |
names = None, | |||
others = None, | |||
force = True ) |
Call propagateProperty for each property listed in 'names'. If 'names' is None, all the properties are propagated.
Definition at line 1516 of file Configurable.py.
GaudiKernel.Configurable.ConfigurableUser.propagateProperty | ( | self, | |
name, | |||
others = None, | |||
force = True ) |
Propagate the property 'name' (if set) to other configurables (if possible). 'others' can be: None: propagate to all the entries in __used_configurables__ a configurable instance: propagate only to it list of configurable instances: propagate to all of them. The logic is: - if the local property is set, the other property will be overwritten - local property not set and other set => keep other - local property not set and other not set => overwrite the default for ConfigurableUser instances and set the property for Configurables
Definition at line 1467 of file Configurable.py.
|
staticprivate |
Definition at line 1378 of file Configurable.py.
|
staticprivate |
Definition at line 1361 of file Configurable.py.
|
staticprivate |
Definition at line 1375 of file Configurable.py.
|
private |
Definition at line 1394 of file Configurable.py.
|
private |
Definition at line 1385 of file Configurable.py.
|
protected |
Definition at line 1386 of file Configurable.py.
|
protected |
Definition at line 1384 of file Configurable.py.