Header of ...
More...
Go to the source code of this file.
|
#define | _UNITID(_id) _M_##_id##_Unit |
|
#define | _UNITSLISTID(_id) _M_##_id##_UList |
|
#define | _UNITSPTRLISTID(_id) _M_##_id##_UList |
|
#define | _PCSORDID(_id) _M_##_id##_PcsOrd |
|
#define | _UNITSLISTITERID(_id) _M_##_id##_UListit |
|
#define | _UNITSPTRLISTITERID(_id) _M_##_id##_UPtrListit |
|
#define | _EVENTSLISTITERID(_id) _M_##_id##_EListit |
|
#define | _OPENFLUID_UNITS_ORDERED_LOOP_WITHID(unitclass, unitptr, id) |
|
#define | OPENFLUID_UNITS_ORDERED_LOOP(unitclass, unitptr) _OPENFLUID_UNITS_ORDERED_LOOP_WITHID(unitclass,unitptr,__LINE__) |
|
#define | _OPENFLUID_ALLUNITS_ORDERED_LOOP_WITHID(unitptr, id) |
|
#define | OPENFLUID_ALLUNITS_ORDERED_LOOP(unitptr) _OPENFLUID_ALLUNITS_ORDERED_LOOP_WITHID(unitptr,__LINE__) |
|
#define | _OPENFLUID_UNITSLIST_LOOP_WITHID(unitslist, unitptr, id) |
|
#define | OPENFLUID_UNITSLIST_LOOP(unitslist, unitptr) _OPENFLUID_UNITSLIST_LOOP_WITHID(unitslist,unitptr,__LINE__) |
|
#define | _OPENFLUID_EVENT_COLLECTION_LOOP_WITHID(id, evlist, evobj) |
|
#define | OPENFLUID_EVENT_COLLECTION_LOOP(evlist, evobj) _OPENFLUID_EVENT_COLLECTION_LOOP_WITHID(__LINE__,evlist,evobj) |
|
#define _EVENTSLISTITERID |
( |
|
_id | ) |
_M_##_id##_EListit |
#define _OPENFLUID_ALLUNITS_ORDERED_LOOP_WITHID |
( |
|
unitptr, |
|
|
|
id |
|
) |
| |
Value:
std::list< Unit * > UnitsPtrList_t
Definition: Unit.hpp:72
#define _UNITSPTRLISTITERID(_id)
Definition: LoopMacros.hpp:60
#define _UNITSPTRLISTID(_id)
Definition: LoopMacros.hpp:54
#define _OPENFLUID_EVENT_COLLECTION_LOOP_WITHID |
( |
|
id, |
|
|
|
evlist, |
|
|
|
evobj |
|
) |
| |
Value:for(openfluid::core::EventsList_t::iterator
_EVENTSLISTITERID(
id) = (evlist)->begin(); \
#define _EVENTSLISTITERID(_id)
Definition: LoopMacros.hpp:62
#define _OPENFLUID_UNITS_ORDERED_LOOP_WITHID |
( |
|
unitclass, |
|
|
|
unitptr, |
|
|
|
id |
|
) |
| |
Value:
#define _UNITSLISTITERID(_id)
Definition: LoopMacros.hpp:58
std::list< Unit > UnitsList_t
Definition: UnitsColl.hpp:48
#define _UNITSLISTID(_id)
Definition: LoopMacros.hpp:52
#define _OPENFLUID_UNITSLIST_LOOP_WITHID |
( |
|
unitslist, |
|
|
|
unitptr, |
|
|
|
id |
|
) |
| |
Value:if (unitslist != NULL) \
for (openfluid::core::UnitsPtrList_t::iterator
_UNITSLISTITERID(
id) = unitslist->begin(); \
#define _UNITSLISTITERID(_id)
Definition: LoopMacros.hpp:58
#define _PCSORDID |
( |
|
_id | ) |
_M_##_id##_PcsOrd |
#define _UNITID |
( |
|
_id | ) |
_M_##_id##_Unit |
#define _UNITSLISTID |
( |
|
_id | ) |
_M_##_id##_UList |
#define _UNITSLISTITERID |
( |
|
_id | ) |
_M_##_id##_UListit |
#define _UNITSPTRLISTID |
( |
|
_id | ) |
_M_##_id##_UList |
#define _UNITSPTRLISTITERID |
( |
|
_id | ) |
_M_##_id##_UPtrListit |
Macro for a loop processing all units, following their process order
- Parameters
-
[out] | unitptr | pointer to a openfluid::core::Unit objects, automatically pointing to the current processed unit |
Macro for a loop processing an events list from an event collection
- Parameters
-
[in] | evlist | pointer to a list of events |
[out] | evobj | the current processed event |
Macro for a loop processing all units of a class, following their process order
- Parameters
-
[in] | unitclass | name of the unit class |
[out] | unitptr | pointer to a openfluid::core::Unit objects, automatically pointing to the current processed unit |
Macro for a loop processing a list of units
- Parameters
-