#include <functional>
#include <QtGlobal>
#include <QtConcurrent>
#include <QtConcurrentRun>
#include <QFutureSynchronizer>
#include <openfluid/ware/LoopMacros.hpp>
Go to the source code of this file.
#define _APPLY_ALLUNITS_ORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
#define _APPLY_UNITS_ORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
unitsclass, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
#define _THREADSYNCID |
( |
|
_id | ) |
|
#define APPLY_ALLUNITS_ORDERED_LOOP_THREADED |
( |
|
funcptr, |
|
|
|
... |
|
) |
| |
Macro for applying a threaded simulator to each unit of the domain, following their process order
- Parameters
-
[in] | funcptr | member simulator name |
[in] | ... | extra parameters to pass to the member simulator |
#define APPLY_UNITS_ORDERED_LOOP_THREADED |
( |
|
unitsclass, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
Macro for applying a threaded simulator to each unit of a class, following their process order
- Parameters
-
[in] | unitsclass | name of the units class |
[in] | funcptr | member simulator name |
[in] | ... | extra parameters to pass to the member simulator |