The Gaudi Framework
v29r0 (ff2e7097)
|
Classes | |
class | DefaultName |
Public Member Functions | |
def | __new__ (cls, args, kwargs) |
def | __init__ (self, name=DefaultName) |
def | __getstate__ (self) |
def | __getnewargs__ (self) |
def | __setstate__ (self, dict) |
def | __len__ (self) |
def | __iter__ (self) |
def | __deepcopy__ (self, memo) |
def | __iadd__ (self, configs, descr=None) |
def | __getattr__ (self, attr) |
def | __setattr__ (self, name, value) |
def | __delattr__ (self, attr) |
def | __nonzero__ (self) |
def | remove (self, items) |
def | removeAll (self) |
def | copyChild (self, child) |
def | setParent (self, parentName) |
def | getParent (self) |
def | hasParent (self, parent) |
def | copyChildAndSetParent (self, cfg, parent) |
def | getChildren (self) |
def | getTools (self) |
def | children (self) |
def | getAllChildren (self) |
def | getSequence (self) |
def | setup (self) |
def | getProperties (self) |
def | getPropertiesWithDescription (self) |
def | getValuedProperties (self) |
def | properties (self) |
def | getDefaultProperties (cls) |
def | getDefaultProperty (cls, name) |
def | getProp (self, name) |
def | setProp (self, name, value) |
def | isPropertySet (self, name) |
def | getType (cls) |
def | getName (self) |
def | name (self) |
def | getJobOptName (self) |
def | isPublic (self) |
def | jobOptName (self) |
def | getFullName (self) |
def | getFullJobOptName (self) |
def | getPrintTitle (self) |
def | getTitleName (self) |
def | setDefaults (cls, handle) |
def | clone (self, name=None, kwargs) |
def | splitName (self) |
def | addTool (self, tool, name=None) |
def | __repr__ (self) |
def | __str__ (self, indent=0, headerLastIndentUnit=indentUnit) |
Static Public Attributes | |
propertyNoValue | |
string | indentUnit = '| ' |
int | printHeaderWidth = 100 |
int | printHeaderPre = 5 |
dictionary | allConfigurables = {} |
dictionary | configurableServices = {} |
Private Member Functions | |
def | _isInSetDefaults (self) |
def | __setupServices (self) |
def | __setupDlls (self) |
def | __setupDefaults (self) |
Static Private Member Functions | |
def | _printHeader (indentStr, title) |
def | _printFooter (indentStr, title) |
Private Attributes | |
__children | |
__tools | |
_name | |
_inSetDefaults | |
_initok | |
_setupok | |
Static Private Attributes | |
__metaclass__ = ConfigurableMeta.ConfigurableMeta | |
tuple | __slots__ |
bool | _configurationLocked = False |
Base class for Gaudi components that implement the IProperty interface. Provides most of the boilerplate code, but the actual useful classes are its derived ConfigurableAlgorithm, ConfigurableService, and ConfigurableAlgTool.
Definition at line 107 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__init__ | ( | self, | |
name = DefaultName |
|||
) |
Definition at line 278 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__deepcopy__ | ( | self, | |
memo | |||
) |
Definition at line 361 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__delattr__ | ( | self, | |
attr | |||
) |
Definition at line 436 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getattr__ | ( | self, | |
attr | |||
) |
Definition at line 410 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getnewargs__ | ( | self | ) |
Definition at line 344 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getstate__ | ( | self | ) |
Definition at line 331 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iadd__ | ( | self, | |
configs, | |||
descr = None |
|||
) |
Definition at line 377 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iter__ | ( | self | ) |
Definition at line 357 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__len__ | ( | self | ) |
Definition at line 354 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__new__ | ( | cls, | |
args, | |||
kwargs | |||
) |
To Gaudi, any object with the same type/name is the same object. Hence, this is mimicked in the configuration: instantiating a new Configurable of a type with the same name will return the same instance.
Definition at line 139 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__nonzero__ | ( | self | ) |
Definition at line 461 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__repr__ | ( | self | ) |
Definition at line 874 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 426 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setstate__ | ( | self, | |
dict | |||
) |
Definition at line 347 of file Configurable.py.
|
private |
Definition at line 851 of file Configurable.py.
|
private |
Definition at line 839 of file Configurable.py.
|
private |
Definition at line 822 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__str__ | ( | self, | |
indent = 0 , |
|||
headerLastIndentUnit = indentUnit |
|||
) |
Definition at line 877 of file Configurable.py.
|
private |
Definition at line 819 of file Configurable.py.
|
staticprivate |
Definition at line 867 of file Configurable.py.
|
staticprivate |
Definition at line 859 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.addTool | ( | self, | |
tool, | |||
name = None |
|||
) |
Definition at line 798 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.children | ( | self | ) |
Definition at line 512 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.clone | ( | self, | |
name = None , |
|||
kwargs | |||
) |
Definition at line 751 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChild | ( | self, | |
child | |||
) |
Definition at line 474 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChildAndSetParent | ( | self, | |
cfg, | |||
parent | |||
) |
Definition at line 486 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getAllChildren | ( | self | ) |
Get all (private) configurable children, both explicit ones (added with +=) and the ones in the private GaudiHandle properties
Definition at line 519 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getChildren | ( | self | ) |
Definition at line 506 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperties | ( | cls | ) |
Definition at line 647 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperty | ( | cls, | |
name | |||
) |
Definition at line 663 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullJobOptName | ( | self | ) |
Definition at line 736 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullName | ( | self | ) |
Definition at line 733 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getJobOptName | ( | self | ) |
Definition at line 721 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getName | ( | self | ) |
Definition at line 715 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getParent | ( | self | ) |
Definition at line 480 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPrintTitle | ( | self | ) |
Definition at line 739 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProp | ( | self, | |
name | |||
) |
Returns the value of the given property.
Definition at line 684 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProperties | ( | self | ) |
Definition at line 596 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPropertiesWithDescription | ( | self | ) |
Get all properties with their description string as { name : (value, desc) }.
Definition at line 606 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getSequence | ( | self | ) |
Definition at line 558 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTitleName | ( | self | ) |
Definition at line 742 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTools | ( | self | ) |
Definition at line 509 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getType | ( | cls | ) |
Definition at line 712 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getValuedProperties | ( | self | ) |
Definition at line 616 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.hasParent | ( | self, | |
parent | |||
) |
Definition at line 483 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isPropertySet | ( | self, | |
name | |||
) |
Tell if the property 'name' has been set or not. Because of a problem with list and dictionary properties, in those cases if the value is equal to the default, the property is considered as not set.
Definition at line 697 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isPublic | ( | self | ) |
Definition at line 724 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.jobOptName | ( | self | ) |
Definition at line 728 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.name | ( | self | ) |
Definition at line 718 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.properties | ( | self | ) |
Definition at line 643 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.remove | ( | self, | |
items | |||
) |
Definition at line 464 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.removeAll | ( | self | ) |
Definition at line 470 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setDefaults | ( | cls, | |
handle | |||
) |
Definition at line 748 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setParent | ( | self, | |
parentName | |||
) |
Definition at line 477 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setProp | ( | self, | |
name, | |||
value | |||
) |
Set the value of a given property
Definition at line 692 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setup | ( | self | ) |
Definition at line 564 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.splitName | ( | self | ) |
Definition at line 782 of file Configurable.py.
|
private |
Definition at line 309 of file Configurable.py.
|
staticprivate |
Definition at line 122 of file Configurable.py.
|
staticprivate |
Definition at line 124 of file Configurable.py.
|
private |
Definition at line 310 of file Configurable.py.
|
staticprivate |
Definition at line 137 of file Configurable.py.
|
private |
Definition at line 325 of file Configurable.py.
|
private |
Definition at line 322 of file Configurable.py.
|
private |
Definition at line 315 of file Configurable.py.
|
private |
Definition at line 328 of file Configurable.py.
|
static |
Definition at line 133 of file Configurable.py.
|
static |
Definition at line 134 of file Configurable.py.
|
static |
Definition at line 118 of file Configurable.py.
|
static |
Definition at line 120 of file Configurable.py.
|
static |
Definition at line 119 of file Configurable.py.
|
static |
Definition at line 117 of file Configurable.py.