![]() |
The Gaudi Framework
master (ff829712)
|
Public Member Functions | |
__init__ (self, cpp_type) | |
store (self, value) | |
default (self, value) | |
merge (self, b, a) | |
![]() | |
__init__ (self, cpp_type) | |
name (self) | |
name (self, value) | |
cpp_type (self) | |
cpp_type (self, value) | |
load (self, value) | |
is_set (self, value) | |
opt_value (self, value) | |
Public Attributes | |
handle_type = getattr(GaudiKernel.GaudiHandles, self.cpp_type) | |
![]() | |
cpp_type = cpp_type | |
Static Private Attributes | |
tuple | __handled_types__ = ("PrivateToolHandle", "PublicToolHandle", "ServiceHandle") |
Additional Inherited Members | |
![]() | |
_name = None | |
_cpp_type = value | |
Semantics for component (tool, service) handles. On access, it will create the corresponding Configurable instance and store it in the property.
Definition at line 271 of file semantics.py.
GaudiConfig2.semantics.ComponentHandleSemantics.__init__ | ( | self, | |
cpp_type ) |
Definition at line 279 of file semantics.py.
GaudiConfig2.semantics.ComponentHandleSemantics.default | ( | self, | |
value ) |
Definition at line 311 of file semantics.py.
GaudiConfig2.semantics.ComponentHandleSemantics.merge | ( | self, | |
a, | |||
b ) |
"Merge" two values. Used when merging two Configurable instances, by default just ensure the two values do not conflict, but it can be overridden in derived semantics to, for example, append to the two lists.
Reimplemented from GaudiConfig2.semantics.PropertySemantics.
Definition at line 314 of file semantics.py.
GaudiConfig2.semantics.ComponentHandleSemantics.store | ( | self, | |
value ) |
Validation/transformation of the data to be stored.
Reimplemented from GaudiConfig2.semantics.PropertySemantics.
Definition at line 283 of file semantics.py.
|
staticprivate |
Definition at line 277 of file semantics.py.
GaudiConfig2.semantics.ComponentHandleSemantics.handle_type = getattr(GaudiKernel.GaudiHandles, self.cpp_type) |
Definition at line 281 of file semantics.py.