EnginePatch Struct Reference

EnginePatch is a tag used with engineFunctor to return the ith patch from a multi-patch engine in a generic way. More...

#include <EnginePatch.h>

List of all members.

Public Types

typedef TreeCombine Combine_t
typedef int PatchID_t

Public Member Functions

 EnginePatch (PatchID_t patch)

Public Attributes

PatchID_t patch_m


Detailed Description

EnginePatch is a tag used with engineFunctor to return the ith patch from a multi-patch engine in a generic way.

Non-multipatch engines are defined to have 1 patch, so you can use EnginePatch on them as well. The syntax looks like:

patchEngine = engineFunctor(engine, EnginePatch(i));


Member Typedef Documentation


Constructor & Destructor Documentation

EnginePatch::EnginePatch ( PatchID_t  patch  )  [inline, explicit]


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Wed Mar 16 06:20:10 2011 for FreePOOMA by  doxygen 1.5.9