| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Private Attributes | List of all members
GaudiPluginService.cpluginsvc.Factory Class Reference
Inheritance diagram for GaudiPluginService.cpluginsvc.Factory:
[legend]
Collaboration diagram for GaudiPluginService.cpluginsvc.Factory:
[legend]

## Public Member Functions
def | name (self)
def | library (self)
def | type (self)
def | rtype (self)
def | classname (self)
def | properties (self)
def | load (self)
def | __repr__ (self)

## Static Private Attributes
list | _fields_

## Detailed Description

    Factory holds informations about a component's factory:
    - its name
    - the library hosting that component
    - the type of component (algorithm, service, tool, ...)
    - the return type of this factory
    - the C++ class name of that component
    - the properties which may decorate that component.

Definition at line 87 of file cpluginsvc.py.

## Member Function Documentation

def GaudiPluginService.cpluginsvc.Factory.__repr__ | ( |  | self | ) |

Definition at line 136 of file cpluginsvc.py.

136 def __repr__(self):
137 return "<Factory id=%s library=%s type=%s rtype=%s class=%s props=%d>" % (
138 self._id,
139 self.library,
140 self.type,
141 self.rtype,
142 self.classname,
143 len(self.properties),
144 )
GaudiPluginService.cpluginsvc.Factory.type
def type(self)
Definition: cpluginsvc.py:111
GaudiPluginService.cpluginsvc.Factory.classname
def classname(self)
Definition: cpluginsvc.py:119
GaudiPluginService.cpluginsvc.Factory.library
def library(self)
Definition: cpluginsvc.py:107
GaudiPluginService.cpluginsvc.Factory.properties
def properties(self)
Definition: cpluginsvc.py:123
GaudiPluginService.cpluginsvc.Factory.rtype
def rtype(self)
Definition: cpluginsvc.py:115
GaudiPluginService.cpluginsvc.Factory.__repr__
def __repr__(self)
Definition: cpluginsvc.py:136

def GaudiPluginService.cpluginsvc.Factory.classname | ( |  | self | ) |

Definition at line 119 of file cpluginsvc.py.

119 def classname(self):
120 return _lib.cgaudi_factory_get_classname(self)
121
GaudiPluginService.cpluginsvc.Factory.classname
def classname(self)
Definition: cpluginsvc.py:119

def GaudiPluginService.cpluginsvc.Factory.library | ( |  | self | ) |

Definition at line 107 of file cpluginsvc.py.

107 def library(self):
108 return _lib.cgaudi_factory_get_library(self)
109
GaudiPluginService.cpluginsvc.Factory.library
def library(self)
Definition: cpluginsvc.py:107

def GaudiPluginService.cpluginsvc.Factory.load | ( |  | self | ) |

    load the C++ library hosting this factory

Definition at line 131 of file cpluginsvc.py.

131 def load(self):
132 '''load the C++ library hosting this factory
133 '''
134 return ctypes.cdll.LoadLibrary(self.library)
135
GaudiPluginService.cpluginsvc.Factory.library
def library(self)
Definition: cpluginsvc.py:107
GaudiPluginService.cpluginsvc.Factory.load
def load(self)
Definition: cpluginsvc.py:131

def GaudiPluginService.cpluginsvc.Factory.name | ( |  | self | ) |

Definition at line 103 of file cpluginsvc.py.

103 def name(self):
104 return self._id
105
GaudiPluginService.cpluginsvc.Factory.name
def name(self)
Definition: cpluginsvc.py:103

def GaudiPluginService.cpluginsvc.Factory.properties | ( |  | self | ) |

Definition at line 123 of file cpluginsvc.py.

123 def properties(self):
124 props = {}
125 nprops = _lib.cgaudi_factory_get_property_size(self)
126 for i in range(nprops):
127 prop = _lib.cgaudi_factory_get_property_at(self, i)
128 props[prop.key] = prop.value
129 return props
130
GaudiPluginService.cpluginsvc.Factory.properties
def properties(self)
Definition: cpluginsvc.py:123
Gaudi::Functional::details::zip::range
decltype(auto) range(Args &&...args)
Zips multiple containers together to form a single range.
Definition: FunctionalDetails.h:85

def GaudiPluginService.cpluginsvc.Factory.rtype | ( |  | self | ) |

Definition at line 115 of file cpluginsvc.py.

115 def rtype(self):
116 return _lib.cgaudi_factory_get_rtype(self)
117
GaudiPluginService.cpluginsvc.Factory.rtype
def rtype(self)
Definition: cpluginsvc.py:115

def GaudiPluginService.cpluginsvc.Factory.type | ( |  | self | ) |

Definition at line 111 of file cpluginsvc.py.

111 def type(self):
112 return _lib.cgaudi_factory_get_type(self)
113
GaudiPluginService.cpluginsvc.Factory.type
def type(self)
Definition: cpluginsvc.py:111

## Member Data Documentation

list GaudiPluginService.cpluginsvc.Factory._fields_
| static private

Initial value:
1 = [
2 ("_registry", Registry),
3 ("_id", ctypes.c_char_p),
4 ]

Definition at line 97 of file cpluginsvc.py.

The documentation for this class was generated from the following file:

- GaudiPluginService/python/GaudiPluginService/cpluginsvc.py