The Gaudi Framework
v30r3 (a5ef0a68)
|
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 | |
_unpickling | |
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 279 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__deepcopy__ | ( | self, | |
memo | |||
) |
Definition at line 374 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__delattr__ | ( | self, | |
attr | |||
) |
Definition at line 449 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getattr__ | ( | self, | |
attr | |||
) |
Definition at line 423 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getnewargs__ | ( | self | ) |
Definition at line 348 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getstate__ | ( | self | ) |
Definition at line 335 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iadd__ | ( | self, | |
configs, | |||
descr = None |
|||
) |
Definition at line 390 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iter__ | ( | self | ) |
Definition at line 370 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__len__ | ( | self | ) |
Definition at line 367 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 140 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__nonzero__ | ( | self | ) |
Definition at line 474 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__repr__ | ( | self | ) |
Definition at line 887 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 439 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setstate__ | ( | self, | |
dict | |||
) |
Definition at line 351 of file Configurable.py.
|
private |
Definition at line 864 of file Configurable.py.
|
private |
Definition at line 852 of file Configurable.py.
|
private |
Definition at line 835 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__str__ | ( | self, | |
indent = 0 , |
|||
headerLastIndentUnit = indentUnit |
|||
) |
Definition at line 890 of file Configurable.py.
|
private |
Definition at line 832 of file Configurable.py.
|
staticprivate |
Definition at line 880 of file Configurable.py.
|
staticprivate |
Definition at line 872 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.addTool | ( | self, | |
tool, | |||
name = None |
|||
) |
Definition at line 811 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.children | ( | self | ) |
Definition at line 525 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.clone | ( | self, | |
name = None , |
|||
kwargs | |||
) |
Definition at line 764 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChild | ( | self, | |
child | |||
) |
Definition at line 487 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChildAndSetParent | ( | self, | |
cfg, | |||
parent | |||
) |
Definition at line 499 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 532 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getChildren | ( | self | ) |
Definition at line 519 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperties | ( | cls | ) |
Definition at line 660 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperty | ( | cls, | |
name | |||
) |
Definition at line 676 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullJobOptName | ( | self | ) |
Definition at line 749 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullName | ( | self | ) |
Definition at line 746 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getJobOptName | ( | self | ) |
Definition at line 734 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getName | ( | self | ) |
Definition at line 728 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getParent | ( | self | ) |
Definition at line 493 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPrintTitle | ( | self | ) |
Definition at line 752 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProp | ( | self, | |
name | |||
) |
Returns the value of the given property.
Definition at line 697 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProperties | ( | self | ) |
Definition at line 609 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPropertiesWithDescription | ( | self | ) |
Get all properties with their description string as { name : (value, desc) }.
Definition at line 619 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getSequence | ( | self | ) |
Definition at line 571 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTitleName | ( | self | ) |
Definition at line 755 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTools | ( | self | ) |
Definition at line 522 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getType | ( | cls | ) |
Definition at line 725 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getValuedProperties | ( | self | ) |
Definition at line 629 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.hasParent | ( | self, | |
parent | |||
) |
Definition at line 496 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 710 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isPublic | ( | self | ) |
Definition at line 737 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.jobOptName | ( | self | ) |
Definition at line 741 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.name | ( | self | ) |
Definition at line 731 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.properties | ( | self | ) |
Definition at line 656 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.remove | ( | self, | |
items | |||
) |
Definition at line 477 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.removeAll | ( | self | ) |
Definition at line 483 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setDefaults | ( | cls, | |
handle | |||
) |
Definition at line 761 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setParent | ( | self, | |
parentName | |||
) |
Definition at line 490 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setProp | ( | self, | |
name, | |||
value | |||
) |
Set the value of a given property
Definition at line 705 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setup | ( | self | ) |
Definition at line 577 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.splitName | ( | self | ) |
Definition at line 795 of file Configurable.py.
|
private |
Definition at line 310 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 311 of file Configurable.py.
|
staticprivate |
Definition at line 138 of file Configurable.py.
|
private |
Definition at line 326 of file Configurable.py.
|
private |
Definition at line 323 of file Configurable.py.
|
private |
Definition at line 316 of file Configurable.py.
|
private |
Definition at line 329 of file Configurable.py.
|
private |
Definition at line 332 of file Configurable.py.
|
static |
Definition at line 134 of file Configurable.py.
|
static |
Definition at line 135 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.