lsst.meas.base  20.0.0-4-gb4befbc+925a411f2f
Public Member Functions | Public Attributes | List of all members
lsst.meas.base.pluginRegistry.PluginRegistry.Configurable Class Reference

Public Member Functions

def __init__ (self, name, PluginClass)
 
def ConfigClass (self)
 
def __call__ (self, config)
 

Public Attributes

 name
 
 PluginClass
 

Detailed Description

Class used as the element in the plugin registry.

Parameters
----------
name : `str`
    Name under which the plugin is registerd.
PluginClass : subclass of `BasePlugin`
    The class of plugin which can be stored in the registry.

Notes
-----
Rather than constructing a Plugin instance, its __call__ method
(invoked by RegistryField.apply) returns a tuple
of ``(executionOrder, name, config, PluginClass)``, which can then
be sorted before the plugins are instantiated.

Definition at line 87 of file pluginRegistry.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.meas.base.pluginRegistry.PluginRegistry.Configurable.__init__ (   self,
  name,
  PluginClass 
)

Definition at line 107 of file pluginRegistry.py.

Member Function Documentation

◆ __call__()

def lsst.meas.base.pluginRegistry.PluginRegistry.Configurable.__call__ (   self,
  config 
)

Definition at line 115 of file pluginRegistry.py.

◆ ConfigClass()

def lsst.meas.base.pluginRegistry.PluginRegistry.Configurable.ConfigClass (   self)

Definition at line 112 of file pluginRegistry.py.

Member Data Documentation

◆ name

lsst.meas.base.pluginRegistry.PluginRegistry.Configurable.name

Definition at line 108 of file pluginRegistry.py.

◆ PluginClass

lsst.meas.base.pluginRegistry.PluginRegistry.Configurable.PluginClass

Definition at line 109 of file pluginRegistry.py.


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