OpenGL_accelerate.wrapper

Cython-coded implementation of wrapper module

Classes

PyConverter that takes a callable and calls it on incoming
__init__
Store the function
__repr__
Have a useful representation
C-coded version of the c-arg calculator pattern
__call__
x.__call__(...) <==> x(...)
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__call__
If callable, call converter( pyArgs, index, wrapper ), else return converter
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
C-level API definition for cConverter objects
__call__
Return pyArgs[self.index] or raise a ValueError
__call__
x.__call__(...) <==> x(...)
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
C-level API definition for cArgument convert objects
__call__
Call our function on incoming
__init__
Just store index for future access
__repr__
x.__repr__() <==> repr(x)
CConverter returning named Python argument
Intended for use in cConverters, the function returned retrieves the named pyArg and returns it when called.
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__
x.__repr__() <==> repr(x)
finalise
index
name
C-coded version of the py-arg calculator pattern
__call__
x.__call__(...) <==> x(...)
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__call__
If converter is not None, call converter( pyArgs wrapper, pyArgs ), else return args[self.index
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
C-level API definition for pyArg converter objects
__call__
Call our function on incoming
ReturnValues returning the named pyArgs value
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__
x.__repr__() <==> repr(x)
finalise
index
name
C-level API definition for cArgument convert objects
__call__
Call our function on incoming
ReturnValues returning the named pyArgs value
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__
x.__repr__() <==> repr(x)
finalise
index
name
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__
x.__repr__() <==> repr(x)
finalise
No finalisation required
index
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.
__call__
x.__call__(...) <==> x(...)
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
returnValues
storeValues
wrappedOperation