OpenGL.plugins
index
/build/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 0x402a9bec>, <OpenGL.plugins.FormatHandler object at 0x402a9c0c>, <OpenGL.plugins.FormatHandler object at 0x402a9c2c>, <OpenGL.plugins.FormatHandler object at 0x402a9c4c>, <OpenGL.plugins.FormatHandler object at 0x402a9c6c>, <OpenGL.plugins.FormatHandler object at 0x402a9c8c>, <OpenGL.plugins.FormatHandler object at 0x402a9cac>, <OpenGL.plugins.FormatHandler object at 0x402a9ccc>, <OpenGL.plugins.FormatHandler object at 0x858866c>, <OpenGL.plugins.FormatHandler object at 0x858868c>, <OpenGL.plugins.FormatHandler object at 0x85886ac>, <OpenGL.plugins.FormatHandler object at 0x85886cc>, <OpenGL.plugins.FormatHandler object at 0x85886ec>, <OpenGL.plugins.FormatHandler object at 0x858870c>, <OpenGL.plugins.FormatHandler object at 0x858872c>, <OpenGL.plugins.FormatHandler object at 0x858874c>]

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 0x402a9aac>, <OpenGL.plugins.PlatformPlugin object at 0x402a9b8c>, <OpenGL.plugins.PlatformPlugin object at 0x402a9bac>, <OpenGL.plugins.PlatformPlugin object at 0x402a9bcc>, <OpenGL.plugins.PlatformPlugin object at 0x85885ec>, <OpenGL.plugins.PlatformPlugin object at 0x858860c>, <OpenGL.plugins.PlatformPlugin object at 0x858862c>, <OpenGL.plugins.PlatformPlugin object at 0x858864c>]

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__ = '/build/buildd/pyopengl-3.0.0~b6/OpenGL/plugins.py'
__name__ = 'OpenGL.plugins'