OpenGL_accelerate.wrapper
Cython-coded implementation of wrapper module
Classes
class CallFuncPyConverter(
pyArgConverter
):
class CArgCalculator(
object
):
class CArgCalculatorElement(
object
):
class cArgConverter(
object
):
class CArgumentCalculator(
object
):
class cArgumentConverter(
object
):
class DefaultCConverter(
cArgConverter
):
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.
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__
x.__repr__() <==> repr(x)
finalise
index
name
class PyArgCalculator(
object
):
class PyArgCalculatorElement(
object
):
__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
class pyArgConverter(
object
):
class returnCArgument(
returnConverter
):
class returnConverter(
object
):
class returnPyArgument(
returnConverter
):
class returnPyArgumentIndex(
returnConverter
):
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