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

Public Member Functions

def bindPointer (self, inputTypes, returnType)
 public interface More...
 
def bindList (self, inputTypes)
 
def __init__ (self, func)
 private member functions More...
 
def functionReference (self)
 
- 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_
 
 functionSignature_
 
- Public Attributes inherited from gensrc.functions.behaviorloop.BehaviorLoop
 loopParamRef_
 
 functionName_
 
 functionSignature_
 

Static Public Attributes

string BIND_POINTER
 class variables More...
 
string BIND_LIST
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

def gensrc.functions.behaviorloop.BehaviorMemberLoop.__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.BehaviorMemberLoop.bindList (   self,
  inputTypes 
)
Return source code for a boost::bi::list declaration.

◆ bindPointer()

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

public interface

Return source code for a boost::bind declaration.

Member Data Documentation

◆ BIND_LIST

string gensrc.functions.behaviorloop.BehaviorMemberLoop.BIND_LIST
static
Initial value:
= """boost::_bi::list%(listCount)d<
boost::_bi::value<%(functionReference)s >,%(inputTypes)s > >"""

◆ BIND_POINTER

string gensrc.functions.behaviorloop.BehaviorMemberLoop.BIND_POINTER
static
Initial value:
= """boost::_mfi::%(const)smf%(cmfCount)d<
%(returnType)s,
%(functionType)s,%(inputTypes)s>"""

class variables


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