ATLAS Offline Software
|
Classes | |
class | DefaultCollector |
class | DefaultName |
Public Member Functions | |
def | __new__ (cls, *args, **kwargs) |
def | __init__ (self, name=DefaultName) |
def | __getstate__ (self) |
def | __setstate__ (self, dct) |
def | __getnewargs__ (self) |
def | __len__ (self) |
def | __iter__ (self) |
def | __deepcopy__ (self, memo) |
def | __iadd__ (self, configs, descr=None, index=None) |
def | __getattr__ (self, attr) |
def | __delattr__ (self, attr) |
def | remove (self, items) |
def | removeAll (self) |
def | clone (self, newname) |
def | copyChild (self, child) |
def | setParent (self, parentName) |
def | getParent (self) |
def | hasParent (self, parent) |
def | copyChildAndSetParent (self, cfg, parent) |
def | getChildren (self) |
def | overwriteChild (self, idx, newChild) |
def | getAllChildren (self) |
def | getSequence (self) |
def | setup (self) |
def | lock (self) |
def | unlock (self) |
def | isLocked (self) |
def | isPrinting (self) |
def | getProperties (self) |
def | getValuedProperties (self) |
def | properties (self) |
def | getDefaultProperties (cls) |
def | getDefaultProperty (cls, name) |
def | getType (cls) |
def | getName (self) |
def | name (self) |
def | getJobOptName (self) |
def | isPublic (self) |
def | getFullName (self) |
def | getFullJobOptName (self) |
def | getPrintTitle (self) |
def | getTitleName (self) |
def | setDefaults (cls, handle) |
def | __repr__ (self) |
def | __str__ (self, indent=0, headerLastIndentUnit=indentUnit) |
def | getFlattenedProperties (self) |
def | getStrDescriptor (self) |
def | __eq__ (self, rhs) |
def | __ne__ (self, rhs) |
def | __bool__ (self) |
def | __new__ (self, name, bases, dct) |
def | __call__ (cls, *args, **kwargs) |
Static Public Attributes | |
propertyNoValue | |
string | indentUnit = '| ' |
int | printHeaderWidth = 100 |
int | printHeaderPre = 5 |
allConfigurables = weakref.WeakValueDictionary() | |
Private Member Functions | |
def | _isInSetDefaults (self) |
def | __setupDlls (self) |
def | __setupDefaults (self) |
Static Private Member Functions | |
def | _printHeader (indentStr, title) |
def | _printFooter (indentStr, title) |
Private Attributes | |
__children | |
_name | |
_flags | |
Static Private Attributes | |
int | _fInSetDefaults = 0x01 |
int | _fIsLocked = 0x02 |
int | _fIsPrinting = 0x04 |
int | _fInitOk = 0x08 |
int | _fSetupOk = 0x10 |
tuple | __slots__ |
int | _printOnce = 0 |
bool | _useGlobalInstances = True |
__hash__ = object.__hash__ | |
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 47 of file Configurable.py.
def python.Configurable.Configurable.__init__ | ( | self, | |
name = DefaultName |
|||
) |
Reimplemented in python.Configurable.ConfigurableAuditor, python.Configurable.ConfigurableAlgTool, and python.Configurable.ConfigurableAlgorithm.
Definition at line 203 of file Configurable.py.
def python.Configurable.Configurable.__bool__ | ( | self | ) |
Definition at line 809 of file Configurable.py.
|
inherited |
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 95 of file ConfigurableMeta.py.
def python.Configurable.Configurable.__deepcopy__ | ( | self, | |
memo | |||
) |
Reimplemented in python.Configurable.ConfigurableService, and python.Configurable.ConfigurableAlgorithm.
Definition at line 285 of file Configurable.py.
def python.Configurable.Configurable.__delattr__ | ( | self, | |
attr | |||
) |
Definition at line 348 of file Configurable.py.
def python.Configurable.Configurable.__eq__ | ( | self, | |
rhs | |||
) |
Definition at line 792 of file Configurable.py.
def python.Configurable.Configurable.__getattr__ | ( | self, | |
attr | |||
) |
Definition at line 339 of file Configurable.py.
def python.Configurable.Configurable.__getnewargs__ | ( | self | ) |
Definition at line 274 of file Configurable.py.
def python.Configurable.Configurable.__getstate__ | ( | self | ) |
Definition at line 241 of file Configurable.py.
def python.Configurable.Configurable.__iadd__ | ( | self, | |
configs, | |||
descr = None , |
|||
index = None |
|||
) |
Definition at line 301 of file Configurable.py.
def python.Configurable.Configurable.__iter__ | ( | self | ) |
Definition at line 281 of file Configurable.py.
def python.Configurable.Configurable.__len__ | ( | self | ) |
Definition at line 278 of file Configurable.py.
def python.Configurable.Configurable.__ne__ | ( | self, | |
rhs | |||
) |
Definition at line 804 of file Configurable.py.
def python.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 89 of file Configurable.py.
|
inherited |
Definition at line 27 of file ConfigurableMeta.py.
def python.Configurable.Configurable.__repr__ | ( | self | ) |
Definition at line 646 of file Configurable.py.
def python.Configurable.Configurable.__setstate__ | ( | self, | |
dct | |||
) |
Definition at line 257 of file Configurable.py.
|
private |
Definition at line 625 of file Configurable.py.
|
private |
Definition at line 614 of file Configurable.py.
def python.Configurable.Configurable.__str__ | ( | self, | |
indent = 0 , |
|||
headerLastIndentUnit = indentUnit |
|||
) |
Definition at line 649 of file Configurable.py.
|
private |
Definition at line 611 of file Configurable.py.
|
staticprivate |
Definition at line 640 of file Configurable.py.
|
staticprivate |
Definition at line 633 of file Configurable.py.
def python.Configurable.Configurable.clone | ( | self, | |
newname | |||
) |
Definition at line 380 of file Configurable.py.
def python.Configurable.Configurable.copyChild | ( | self, | |
child | |||
) |
Reimplemented in python.Configurable.ConfigurableService.
Definition at line 388 of file Configurable.py.
def python.Configurable.Configurable.copyChildAndSetParent | ( | self, | |
cfg, | |||
parent | |||
) |
Definition at line 400 of file Configurable.py.
def python.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 414 of file Configurable.py.
def python.Configurable.Configurable.getChildren | ( | self | ) |
Definition at line 408 of file Configurable.py.
def python.Configurable.Configurable.getDefaultProperties | ( | cls | ) |
Definition at line 544 of file Configurable.py.
def python.Configurable.Configurable.getDefaultProperty | ( | cls, | |
name | |||
) |
Definition at line 558 of file Configurable.py.
def python.Configurable.Configurable.getFlattenedProperties | ( | self | ) |
Definition at line 759 of file Configurable.py.
def python.Configurable.Configurable.getFullJobOptName | ( | self | ) |
Definition at line 596 of file Configurable.py.
def python.Configurable.Configurable.getFullName | ( | self | ) |
Definition at line 593 of file Configurable.py.
def python.Configurable.Configurable.getJobOptName | ( | self | ) |
Reimplemented in python.Configurable.ConfigurableAuditor, python.Configurable.ConfigurableAlgTool, and python.Configurable.ConfigurableAlgorithm.
Definition at line 586 of file Configurable.py.
def python.Configurable.Configurable.getName | ( | self | ) |
Definition at line 580 of file Configurable.py.
def python.Configurable.Configurable.getParent | ( | self | ) |
Reimplemented in python.Configurable.ConfigurableAlgTool.
Definition at line 394 of file Configurable.py.
def python.Configurable.Configurable.getPrintTitle | ( | self | ) |
Reimplemented in python.Configurable.ConfigurableAlgTool.
Definition at line 599 of file Configurable.py.
def python.Configurable.Configurable.getProperties | ( | self | ) |
Definition at line 515 of file Configurable.py.
def python.Configurable.Configurable.getSequence | ( | self | ) |
Definition at line 453 of file Configurable.py.
def python.Configurable.Configurable.getStrDescriptor | ( | self | ) |
Definition at line 780 of file Configurable.py.
def python.Configurable.Configurable.getTitleName | ( | self | ) |
Definition at line 602 of file Configurable.py.
def python.Configurable.Configurable.getType | ( | cls | ) |
Reimplemented in python.AppMgr.AthServiceManager.
Definition at line 577 of file Configurable.py.
def python.Configurable.Configurable.getValuedProperties | ( | self | ) |
Definition at line 525 of file Configurable.py.
def python.Configurable.Configurable.hasParent | ( | self, | |
parent | |||
) |
Reimplemented in python.Configurable.ConfigurableAlgTool.
Definition at line 397 of file Configurable.py.
def python.Configurable.Configurable.isLocked | ( | self | ) |
Definition at line 507 of file Configurable.py.
def python.Configurable.Configurable.isPrinting | ( | self | ) |
Definition at line 511 of file Configurable.py.
def python.Configurable.Configurable.isPublic | ( | self | ) |
Reimplemented in python.Configurable.ConfigurableAlgTool.
Definition at line 589 of file Configurable.py.
def python.Configurable.Configurable.lock | ( | self | ) |
Definition at line 487 of file Configurable.py.
def python.Configurable.Configurable.name | ( | self | ) |
Definition at line 583 of file Configurable.py.
def python.Configurable.Configurable.overwriteChild | ( | self, | |
idx, | |||
newChild | |||
) |
Definition at line 411 of file Configurable.py.
def python.Configurable.Configurable.properties | ( | self | ) |
Definition at line 540 of file Configurable.py.
def python.Configurable.Configurable.remove | ( | self, | |
items | |||
) |
Definition at line 370 of file Configurable.py.
def python.Configurable.Configurable.removeAll | ( | self | ) |
Definition at line 376 of file Configurable.py.
def python.Configurable.Configurable.setDefaults | ( | cls, | |
handle | |||
) |
Definition at line 608 of file Configurable.py.
def python.Configurable.Configurable.setParent | ( | self, | |
parentName | |||
) |
Reimplemented in python.Configurable.ConfigurableAlgTool.
Definition at line 391 of file Configurable.py.
def python.Configurable.Configurable.setup | ( | self | ) |
def python.Configurable.Configurable.unlock | ( | self | ) |
Definition at line 498 of file Configurable.py.
|
private |
Definition at line 212 of file Configurable.py.
|
staticprivate |
Definition at line 807 of file Configurable.py.
|
staticprivate |
Definition at line 72 of file Configurable.py.
|
staticprivate |
Definition at line 69 of file Configurable.py.
|
staticprivate |
Definition at line 66 of file Configurable.py.
|
staticprivate |
Definition at line 67 of file Configurable.py.
|
staticprivate |
Definition at line 68 of file Configurable.py.
|
private |
Definition at line 223 of file Configurable.py.
|
staticprivate |
Definition at line 70 of file Configurable.py.
|
private |
Definition at line 217 of file Configurable.py.
|
staticprivate |
Definition at line 83 of file Configurable.py.
|
staticprivate |
Definition at line 87 of file Configurable.py.
|
static |
Definition at line 79 of file Configurable.py.
|
static |
Definition at line 62 of file Configurable.py.
|
static |
Definition at line 64 of file Configurable.py.
|
static |
Definition at line 63 of file Configurable.py.
|
static |
Definition at line 61 of file Configurable.py.