OpenGL_accelerate.wrapper
index
/home/mcfletch/pylive/OpenGL_accelerate/wrapper.so

Cython-coded implementation of wrapper module

 
Modules
       
__builtin__
ctypes
OpenGL.error

 
Classes
       
object
CArgCalculator
CArgCalculatorElement
CArgumentCalculator
PyArgCalculator
PyArgCalculatorElement
Wrapper
cArgConverter
DefaultCConverter
getPyArgsName
cArgumentConverter
pyArgConverter
CallFuncPyConverter
returnConverter
returnCArgument
returnPyArgument
returnPyArgumentIndex

 
class CArgCalculator(object)
    C-coded version of the c-arg calculator pattern
 
  Methods defined here:
__call__(...)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb70f20>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e710>

 
class CArgCalculatorElement(object)
     Methods defined here:
__call__(...)
If callable, call converter( pyArgs, index, wrapper ), else return converter
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb70d80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e3c8>

 
class CArgumentCalculator(object)
     Methods defined here:
__call__(...)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71400>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e878>

 
class CallFuncPyConverter(pyArgConverter)
    PyConverter that takes a callable and calls it on incoming
 
 
Method resolution order:
CallFuncPyConverter
pyArgConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
Have a useful representation

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb715a0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e8f0>

Methods inherited from pyArgConverter:
__call__(...)
Call our function on incoming

 
class DefaultCConverter(cArgConverter)
    
Method resolution order:
DefaultCConverter
cArgConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71740>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e918>

Methods inherited from cArgConverter:
__call__(...)
Return pyArgs[self.index] or raise a ValueError

 
class PyArgCalculator(object)
    C-coded version of the py-arg calculator pattern
 
  Methods defined here:
__call__(...)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71260>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e8a0>

 
class PyArgCalculatorElement(object)
     Methods defined here:
__call__(...)
If converter is not None, call converter( pyArgs[self.index],  wrapper, pyArgs ), else return args[self.index]
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb710c0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e7d8>

 
class Wrapper(object)
    C-coded most-generic form of the wrapper's core function
 
Applies a series of wrapper stages to the core function in order 
to expand and/or convert parameters into formats which are compatible
with the underlying (ctypes) library.  Requires the use of the 
Calculator objects defined later in this module in order to provide 
efficient operations.
 
  Methods defined here:
__call__(...)
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data descriptors defined here:
returnValues
storeValues
wrappedOperation

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb718e0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class cArgConverter(object)
    C-level API definition for cConverter objects
 
  Methods defined here:
__call__(...)
Return pyArgs[self.index] or raise a ValueError

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb70700>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e5f8>

 
class cArgumentConverter(object)
    C-level API definition for cArgument convert objects
 
  Methods defined here:
__call__(...)
Call our function on incoming

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb70a40>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e288>

 
class getPyArgsName(cArgConverter)
    CConverter returning named Python argument
 
Intended for use in cConverters, the function returned 
retrieves the named pyArg and returns it when called.
 
 
Method resolution order:
getPyArgsName
cArgConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
finalise(...)

Data descriptors defined here:
index
name

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71a80>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e940>

Methods inherited from cArgConverter:
__call__(...)
Return pyArgs[self.index] or raise a ValueError

 
class pyArgConverter(object)
    C-level API definition for pyArg converter objects
 
  Methods defined here:
__call__(...)
Call our function on incoming

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb708a0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e530>

 
class returnCArgument(returnConverter)
    ReturnValues returning the named pyArgs value
 
 
Method resolution order:
returnCArgument
returnConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
finalise(...)

Data descriptors defined here:
index
name

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71f60>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e648>

Methods inherited from returnConverter:
__call__(...)
Call our function on incoming

 
class returnConverter(object)
    C-level API definition for cArgument convert objects
 
  Methods defined here:
__call__(...)
Call our function on incoming

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb70be0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e6e8>

 
class returnPyArgument(returnConverter)
    ReturnValues returning the named pyArgs value
 
 
Method resolution order:
returnPyArgument
returnConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
finalise(...)

Data descriptors defined here:
index
name

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71c20>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e620>

Methods inherited from returnConverter:
__call__(...)
Call our function on incoming

 
class returnPyArgumentIndex(returnConverter)
    
Method resolution order:
returnPyArgumentIndex
returnConverter
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__repr__(...)
finalise(...)
No finalisation required

Data descriptors defined here:
index

Data and other attributes defined here:
__new__ = <built-in method __new__ of type object at 0x7f8ebcb71dc0>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97e788>

Methods inherited from returnConverter:
__call__(...)
Call our function on incoming

 
Data
        __file__ = '/home/mcfletch/pylive/OpenGL_accelerate/wrapper.so'
__name__ = 'OpenGL_accelerate.wrapper'
__package__ = 'OpenGL_accelerate'