The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
ConfigurableUser.ExampleApplication Class Reference
Inheritance diagram for ConfigurableUser.ExampleApplication:
Collaboration diagram for ConfigurableUser.ExampleApplication:

Public Member Functions

 __apply_configuration__ (self)
 
- Public Member Functions inherited from GaudiKernel.Configurable.ConfigurableUser
 __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)
 
- Public Member Functions inherited from GaudiKernel.Configurable.Configurable
 __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)
 
- Public Member Functions inherited from GaudiKernel.ConfigurableMeta.ConfigurableMeta
 __new__ (self, name, bases, dct)
 
 __call__ (cls, *args, **kwargs)
 

Static Private Attributes

dict __slots__
 
list __used_configurables__ = [ExampleCommon, ApplicationMgr]
 

Additional Inherited Members

- Public Attributes inherited from GaudiKernel.Configurable.Configurable
 configurables
 
- Static Public Attributes inherited from GaudiKernel.Configurable.Configurable
 propertyNoValue
 
str indentUnit = "| "
 
int printHeaderWidth = 100
 
int printHeaderPre = 5
 
dict allConfigurables = {}
 
dict configurableServices = {}
 
- Protected Member Functions inherited from GaudiKernel.Configurable.ConfigurableUser
 _instanceName (self, cls)
 
- Protected Member Functions inherited from GaudiKernel.Configurable.Configurable
 _isInSetDefaults (self)
 
- Static Protected Member Functions inherited from GaudiKernel.Configurable.Configurable
 _printHeader (indentStr, title)
 
 _printFooter (indentStr, title)
 
- Protected Attributes inherited from GaudiKernel.Configurable.ConfigurableUser
 _enabled = _enabled
 
bool _applied = False
 
- Protected Attributes inherited from GaudiKernel.Configurable.Configurable
 _name = self.__class__.DefaultedName
 
bool _inSetDefaults = False
 
bool _initok = True
 
bool _setupok = False
 
bool _unpickling = False
 
 _properties
 
- Static Protected Attributes inherited from GaudiKernel.Configurable.Configurable
bool _configurationLocked = False
 

Detailed Description

Definition at line 52 of file ConfigurableUser.py.

Member Function Documentation

◆ __apply_configuration__()

ConfigurableUser.ExampleApplication.__apply_configuration__ ( self)

Definition at line 59 of file ConfigurableUser.py.

59 def __apply_configuration__(self):
60 if self.getProp("FullDebug"):
61 ExampleCommon(OutputLevel=VERBOSE)
62 else:
63 ExampleCommon(OutputLevel=INFO)
64 # Propagate the properties to all used configurables
65 # In this case the only effect is to set the ApplicationMgr TopAlg.
66 self.propagateProperties()
67
68

Member Data Documentation

◆ __slots__

dict ConfigurableUser.ExampleApplication.__slots__
staticprivate
Initial value:
= {
"FullDebug": False,
"TopAlg": [],
}

Definition at line 53 of file ConfigurableUser.py.

◆ __used_configurables__

list ConfigurableUser.ExampleApplication.__used_configurables__ = [ExampleCommon, ApplicationMgr]
staticprivate

Definition at line 57 of file ConfigurableUser.py.


The documentation for this class was generated from the following file: