13 #ifndef __GEO_Macros_h__
14 #define __GEO_Macros_h__
26 template<
typename DETAIL_TYPE,
typename PRIM_TYPE,
typename SEC_PRIM_TYPE>
28 inline GEO_GBMixGroupFwdIterator(
30 PRIM_TYPE *&prim, SEC_PRIM_TYPE *&sec)
32 gdp->primitives().headMix(group, prim, sec,
36 template<
typename DETAIL_TYPE,
typename PRIM_TYPE,
typename SEC_PRIM_TYPE>
38 inline
int nextMix(DETAIL_TYPE *gdp,
40 PRIM_TYPE *&prim, SEC_PRIM_TYPE *&sec,
41 PRIM_TYPE *&next_prim, SEC_PRIM_TYPE *&next_sec)
43 return gdp->primitives().nextMix(group, prim, sec,
44 next_prim, next_sec, myCache);
50 #define FOR_ALL_MIX_GROUP_PRIMITIVES(gdp, grp, prim, sec) \
51 for (GEO_GBMixGroupFwdIterator __iter(gdp, *grp, prim, sec); prim; \
52 __iter.nextMix(gdp, *grp, prim, sec, prim, sec))
54 #define FOR_SAFE_MIX_GROUP_PRIMITIVES(gdp, grp, prim, sec, nextprim, nextsec) \
55 for (GEO_GBMixGroupFwdIterator __iter(gdp, *grp, prim, sec); \
56 prim && (__iter.nextMix(gdp,*grp,prim,sec,nextprim,nextsec) || true) && prim; \
57 prim = nextprim, sec = nextsec)
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
Class used to avoid O(n^2) traversal of ordered groups.
Create macros which emulate the macros in the obsolete GB library.
#define SYS_DEPRECATED_HDK(__V__)