The Gaudi Framework
v25r5
|
Private Member Functions | |
def | __addActiveUseOf |
def | __addPassiveUseOf |
def | _instanceName |
Private Attributes | |
_enabled | |
__users__ | |
_applied | |
__used_instances__ | |
Static Private Attributes | |
dictionary | __slots__ |
list | __used_configurables__ = [] |
list of ConfigurableUser classes this one is going to modify in the apply_configuration method. More... | |
list | __queried_configurables__ = [] |
list of ConfigurableUser classes this one is going to query in the apply_configuration method More... | |
Additional Inherited Members | |
![]() | |
string | indentUnit = '| ' |
int | printHeaderWidth = 100 |
int | printHeaderPre = 5 |
dictionary | allConfigurables = {} |
dictionary | configurableServices = {} |
Definition at line 1121 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.__init__ | ( | self, | |
name = Configurable.DefaultName , |
|||
_enabled = True , |
|||
kwargs | |||
) |
Definition at line 1138 of file Configurable.py.
|
private |
Declare that we are going to modify the Configurable 'other' in our __apply_configuration__.
Definition at line 1184 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 1192 of file Configurable.py.
def 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 1276 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.__detach_used__ | ( | self | ) |
Remove this ConfigurableUser instance from the users list of the used instances.
Definition at line 1207 of file Configurable.py.
|
private |
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 1292 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.applyConf | ( | self | ) |
Function to be overridden to convert the high level configuration into a low level one.
Definition at line 1285 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.getDlls | ( | self | ) |
Definition at line 1202 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.getGaudiType | ( | self | ) |
Definition at line 1200 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.getHandle | ( | self | ) |
Definition at line 1204 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.getUsedInstance | ( | self, | |
name | |||
) |
Return the used instance with a given name.
Definition at line 1305 of file Configurable.py.
def GaudiKernel.Configurable.ConfigurableUser.isApplicable | ( | self | ) |
Return True is the instance can be "applied".
Definition at line 1318 of file Configurable.py.
def 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 1265 of file Configurable.py.
def 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 1216 of file Configurable.py.
|
staticprivate |
list of ConfigurableUser classes this one is going to query in the apply_configuration method
Definition at line 1137 of file Configurable.py.
|
staticprivate |
Definition at line 1122 of file Configurable.py.
|
staticprivate |
list of ConfigurableUser classes this one is going to modify in the apply_configuration method.
The list may contain class objects, strings representing class objects or tuples with the class object (or a string) as first element and the instance name as second element. If the instance name is None or not present, the function instanceName() is used to determine the name of the instance (the default implementation returns "<this name></em><other name>".
Definition at line 1134 of file Configurable.py.
|
private |
Definition at line 1152 of file Configurable.py.
|
private |
Definition at line 1143 of file Configurable.py.
|
private |
Definition at line 1144 of file Configurable.py.
|
private |
Definition at line 1142 of file Configurable.py.