gensrc.functions.behaviorloop.BehaviorProcedureLoop Class Reference
Inheritance diagram for gensrc.functions.behaviorloop.BehaviorProcedureLoop:
Collaboration diagram for gensrc.functions.behaviorloop.BehaviorProcedureLoop:

Public Member Functions

def bindPointer (self, inputTypes, returnType)
 public interface More...
 
def bindList (self, inputTypes)
 
def __init__ (self, func)
 private member functions More...
 
- Public Member Functions inherited from gensrc.functions.behaviorloop.BehaviorLoop
def generateBody (self, addin)
 public interface More...
 
def __init__ (self)
 private member functions More...
 

Public Attributes

 func_
 
 functionCodeName_
 
- Public Attributes inherited from gensrc.functions.behaviorloop.BehaviorLoop
 loopParamRef_
 
 functionName_
 
 functionSignature_
 

Static Public Attributes

string BIND_POINTER = '%(returnType)s (__cdecl*)(%(inputTypes)s)'
 class variables
 
string BIND_LIST = 'boost::_bi::list%(listCount)d<%(inputTypes)s > >'
 

Detailed Description

Customize the BehaviorLoop class with some strings specific to Procedure
functions.

Constructor & Destructor Documentation

◆ __init__()

def gensrc.functions.behaviorloop.BehaviorProcedureLoop.__init__ (   self,
  func 
)

private member functions

Save a reference to the function, and configure the function to loop.

Member Function Documentation

◆ bindList()

def gensrc.functions.behaviorloop.BehaviorProcedureLoop.bindList (   self,
  inputTypes 
)
Return source code for a boost::bi::list declaration.

◆ bindPointer()

def gensrc.functions.behaviorloop.BehaviorProcedureLoop.bindPointer (   self,
  inputTypes,
  returnType 
)

public interface

Return source code for a boost::bind declaration.

The documentation for this class was generated from the following file:
  • behaviorloop.py