OpenGL.plugins
index
/tmp/buildd/pyopengl-3.0.0~b6/OpenGL/plugins.py

Simple plug-in mechanism to provide replacement for setuptools plugins

 
Classes
       
object
Plugin
FormatHandler
PlatformPlugin

 
class FormatHandler(Plugin)
    Data-type storage-format handler
 
 
Method resolution order:
FormatHandler
Plugin
object

Class methods defined here:
match(cls, value) from type
Lookup appropriate handler based on value (a type)

Data and other attributes defined here:
registry = [<OpenGL.plugins.FormatHandler object at 0x402a0bac>, <OpenGL.plugins.FormatHandler object at 0x402a0bcc>, <OpenGL.plugins.FormatHandler object at 0x402a0bec>, <OpenGL.plugins.FormatHandler object at 0x402a0c0c>, <OpenGL.plugins.FormatHandler object at 0x402a0c2c>, <OpenGL.plugins.FormatHandler object at 0x402a0c4c>, <OpenGL.plugins.FormatHandler object at 0x402a0c6c>, <OpenGL.plugins.FormatHandler object at 0x402a0c8c>, <OpenGL.plugins.FormatHandler object at 0x8c5d0ec>, <OpenGL.plugins.FormatHandler object at 0x8c5d10c>, <OpenGL.plugins.FormatHandler object at 0x8c5d12c>, <OpenGL.plugins.FormatHandler object at 0x8c5d14c>, <OpenGL.plugins.FormatHandler object at 0x8c5d16c>, <OpenGL.plugins.FormatHandler object at 0x8c5d18c>, <OpenGL.plugins.FormatHandler object at 0x8c5d1ac>, <OpenGL.plugins.FormatHandler object at 0x8c5d1cc>]

Methods inherited from Plugin:
__init__(self, name, import_path, check=None)
Register the plug-in
load(self)
Attempt to load and return our entry point

Class methods inherited from Plugin:
all(cls) from type
Iterate over all registered plugins

Data descriptors inherited from Plugin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from Plugin:
loaded = False

 
class PlatformPlugin(Plugin)
    Platform-level plugin registration
 
 
Method resolution order:
PlatformPlugin
Plugin
object

Class methods defined here:
match(cls, key) from type
Determine what platform module to load
 
key -- (sys.platform,os.name) key to load

Data and other attributes defined here:
registry = [<OpenGL.plugins.PlatformPlugin object at 0x402a0a6c>, <OpenGL.plugins.PlatformPlugin object at 0x402a0b4c>, <OpenGL.plugins.PlatformPlugin object at 0x402a0b6c>, <OpenGL.plugins.PlatformPlugin object at 0x402a0b8c>, <OpenGL.plugins.PlatformPlugin object at 0x8c5d06c>, <OpenGL.plugins.PlatformPlugin object at 0x8c5d08c>, <OpenGL.plugins.PlatformPlugin object at 0x8c5d0ac>, <OpenGL.plugins.PlatformPlugin object at 0x8c5d0cc>]

Methods inherited from Plugin:
__init__(self, name, import_path, check=None)
Register the plug-in
load(self)
Attempt to load and return our entry point

Class methods inherited from Plugin:
all(cls) from type
Iterate over all registered plugins

Data descriptors inherited from Plugin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from Plugin:
loaded = False

 
class Plugin(object)
    Base class for plugins to be loaded
 
  Methods defined here:
__init__(self, name, import_path, check=None)
Register the plug-in
load(self)
Attempt to load and return our entry point

Class methods defined here:
all(cls) from type
Iterate over all registered plugins
match(cls, *args) from type
Match to return the plugin which is appropriate to load

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
loaded = False

 
Functions
       
importByName(fullName)
Import a class by name

 
Data
        __file__ = '/tmp/buildd/pyopengl-3.0.0~b6/OpenGL/plugins.py'
__name__ = 'OpenGL.plugins'