The Gaudi Framework  master (37c0b60a)
cpluginsvc Namespace Reference

Classes

class  Factory
 
class  Property
 
class  Registry
 

Functions

def _get_filename ()
 
def registry ()
 
def factories ()
 

Variables

 __doc__
 (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE". More...
 
 __all__
 
 _libname
 
 _lib
 
 _instance
 
 _functions_list
 
 n
 
 func
 
 argtypes
 
 restype
 
 errcheck
 

Function Documentation

◆ _get_filename()

def cpluginsvc._get_filename ( )
private

Definition at line 44 of file cpluginsvc.py.

44 def _get_filename():
45  if _libname:
46  return _libname
47  import platform
48 
49  name = platform.system()
50 
51  fname = {
52  "Darwin": "libGaudiPluginService.dylib",
53  "Windows": "libGaudiPluginService.dll",
54  "Linux": "libGaudiPluginService.so",
55  }[name]
56  return fname
57 
58 

◆ factories()

def cpluginsvc.factories ( )
factories returns the list of components factory informations known to the plugin service

Definition at line 93 of file cpluginsvc.py.

93 def factories():
94  """
95  factories returns the list of components factory informations known to the plugin service
96  """
97  return registry().factories
98 
99 

◆ registry()

def cpluginsvc.registry ( )
registry returns the singleton-like instance of the plugin service.

Definition at line 83 of file cpluginsvc.py.

83 def registry():
84  """registry returns the singleton-like instance of the plugin service."""
85 
86  global _instance
87  if _instance:
88  return _instance
89  _instance = _lib.cgaudi_pluginsvc_instance()
90  return _instance
91 
92 

Variable Documentation

◆ __all__

cpluginsvc.__all__
private

Definition at line 33 of file cpluginsvc.py.

◆ __doc__

cpluginsvc.__doc__
private

(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations # # This software is distributed under the terms of the Apache version 2 licence, # copied verbatim in the file "LICENSE".

# # In applying this licence, CERN does not waive the privileges and immunities # granted to it by virtue of its status as an Intergovernmental Organization # or submit itself to any jurisdiction. #

Definition at line 13 of file cpluginsvc.py.

◆ _functions_list

cpluginsvc._functions_list
private

Definition at line 180 of file cpluginsvc.py.

◆ _instance

cpluginsvc._instance
private

Definition at line 80 of file cpluginsvc.py.

◆ _lib

cpluginsvc._lib
private

Definition at line 60 of file cpluginsvc.py.

◆ _libname

cpluginsvc._libname
private

Definition at line 41 of file cpluginsvc.py.

◆ argtypes

cpluginsvc.argtypes

Definition at line 236 of file cpluginsvc.py.

◆ errcheck

cpluginsvc.errcheck

Definition at line 239 of file cpluginsvc.py.

◆ func

cpluginsvc.func

Definition at line 235 of file cpluginsvc.py.

◆ n

cpluginsvc.n

Definition at line 234 of file cpluginsvc.py.

◆ restype

cpluginsvc.restype

Definition at line 237 of file cpluginsvc.py.

cpluginsvc.registry
def registry()
Definition: cpluginsvc.py:83
cpluginsvc.factories
def factories()
Definition: cpluginsvc.py:93
cpluginsvc._get_filename
def _get_filename()
Definition: cpluginsvc.py:44