Classes | |
class | ConfigurationInfo |
Public Member Functions | |
def | __init__ |
def | registry |
def | registerLoader |
def | get |
def | defaultConfiguration |
def | setConfiguration |
def | setup |
def | __init__ |
def | registry |
def | registerLoader |
def | get |
def | defaultConfiguration |
def | setConfiguration |
def | setup |
Public Member Functions inherited from LArSoftUtils.ServiceManagerInterface | |
def | registry |
def | loaders |
def | loaded |
def | supported |
def | registerLoader |
def | get |
def | __call__ |
def | registry |
def | loaders |
def | loaded |
def | supported |
def | registerLoader |
def | get |
def | __call__ |
Public Attributes | |
manager | |
configuration | |
Static Public Attributes | |
dictionary | StandardLoadingTable |
A service manager with a lazy setup.
Definition at line 396 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.__init__ | ( | self | ) |
Definition at line 446 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.__init__ | ( | self | ) |
Definition at line 446 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.defaultConfiguration | ( | self | ) |
Definition at line 477 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.defaultConfiguration | ( | self | ) |
Definition at line 477 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.get | ( | self, | |
serviceKey, | |||
interfaceClass = None |
|||
) |
Return (and load first when needed) the specified service. The service can be specified by name or by class. In the former case, if the service is not already configured, an exception will be raised.
Definition at line 465 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.get | ( | self, | |
serviceKey, | |||
interfaceClass = None |
|||
) |
Return (and load first when needed) the specified service. The service can be specified by name or by class. In the former case, if the service is not already configured, an exception will be raised.
Definition at line 465 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.registerLoader | ( | self, | |
serviceKey, | |||
loader | |||
) |
Registers a service provider loader, that can then be invoked to create the service. It returns the service manager.
Definition at line 455 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.registerLoader | ( | self, | |
serviceKey, | |||
loader | |||
) |
Registers a service provider loader, that can then be invoked to create the service. It returns the service manager.
Definition at line 455 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.registry | ( | self | ) |
Returns the service registry.
Definition at line 450 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.registry | ( | self | ) |
Returns the service registry.
Definition at line 450 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.setConfiguration | ( | self, | |
configFile, | |||
serviceTable = None |
|||
) |
Sets which configuration to use for setup. If `serviceTable` is not `None`, a new configuration is created with the service table as `serviceTable`, and `configPath` is included in that configuration (presumably to define `serviceTable`). If `serviceTable` is `None` instead, the configuration file in `configPath` is included directly, and it is assumed that it already properly defines a `services` table.
Definition at line 479 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.setConfiguration | ( | self, | |
configFile, | |||
serviceTable = None |
|||
) |
Sets which configuration to use for setup. If `serviceTable` is not `None`, a new configuration is created with the service table as `serviceTable`, and `configPath` is included in that configuration (presumably to define `serviceTable`). If `serviceTable` is `None` instead, the configuration file in `configPath` is included directly, and it is assumed that it already properly defines a `services` table.
Definition at line 479 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.setup | ( | self | ) |
Prepares for service provider access in python/Gallery.
Definition at line 495 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.ServiceManagerInstance.setup | ( | self | ) |
Prepares for service provider access in python/Gallery.
Definition at line 495 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.
LArSoftUtils.ServiceManagerInstance.configuration |
Definition at line 448 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
LArSoftUtils.ServiceManagerInstance.manager |
Definition at line 447 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
|
static |
Definition at line 401 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.