#include <functional>
#include <thread>
#include <vector>
#include <system_error>
#include <openfluid/ware/LoopMacros.hpp>
Go to the source code of this file.
|
| #define | _THREADGROUPID(_id) |
| |
| #define | _THREADID(_id) |
| |
| #define | _RUN_UNIT_GROUP_THREADED(id, iter, end, unitptr, funcptr, cond, ...) |
| |
| #define | _APPLY_UNITS_ORDERED_LOOP_THREADED_WITHID(id, unitsclass, funcptr, ...) |
| |
| #define | APPLY_UNITS_ORDERED_LOOP_THREADED(unitsclass, funcptr, ...) |
| |
| #define | _APPLY_UNITS_UNORDERED_LOOP_THREADED_WITHID(id, unitsclass, funcptr, ...) |
| |
| #define | APPLY_UNITS_UNORDERED_LOOP_THREADED(unitsclass, funcptr, ...) |
| |
| #define | _APPLY_ALLUNITS_ORDERED_LOOP_THREADED_WITHID(id, funcptr, ...) |
| |
| #define | APPLY_ALLUNITS_ORDERED_LOOP_THREADED(funcptr, ...) |
| |
| #define | _APPLY_ALLUNITS_UNORDERED_LOOP_THREADED_WITHID(id, funcptr, ...) |
| |
| #define | APPLY_ALLUNITS_UNORDERED_LOOP_THREADED(funcptr, ...) |
| |
◆ _APPLY_ALLUNITS_ORDERED_LOOP_THREADED_WITHID
| #define _APPLY_ALLUNITS_ORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
◆ _APPLY_ALLUNITS_UNORDERED_LOOP_THREADED_WITHID
| #define _APPLY_ALLUNITS_UNORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
◆ _APPLY_UNITS_ORDERED_LOOP_THREADED_WITHID
| #define _APPLY_UNITS_ORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
unitsclass, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
◆ _APPLY_UNITS_UNORDERED_LOOP_THREADED_WITHID
| #define _APPLY_UNITS_UNORDERED_LOOP_THREADED_WITHID |
( |
|
id, |
|
|
|
unitsclass, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
◆ _RUN_UNIT_GROUP_THREADED
| #define _RUN_UNIT_GROUP_THREADED |
( |
|
id, |
|
|
|
iter, |
|
|
|
end, |
|
|
|
unitptr, |
|
|
|
funcptr, |
|
|
|
cond, |
|
|
|
... |
|
) |
| |
◆ _THREADGROUPID
| #define _THREADGROUPID |
( |
|
_id | ) |
|
◆ _THREADID
◆ APPLY_ALLUNITS_ORDERED_LOOP_THREADED
| #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 |
◆ APPLY_ALLUNITS_UNORDERED_LOOP_THREADED
| #define APPLY_ALLUNITS_UNORDERED_LOOP_THREADED |
( |
|
funcptr, |
|
|
|
... |
|
) |
| |
Macro for applying a threaded simulator to each unit of the domain, without considering process order
- Parameters
-
| [in] | funcptr | member simulator name |
| [in] | ... | extra parameters to pass to the member simulator |
◆ APPLY_UNITS_ORDERED_LOOP_THREADED
| #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 |
◆ APPLY_UNITS_UNORDERED_LOOP_THREADED
| #define APPLY_UNITS_UNORDERED_LOOP_THREADED |
( |
|
unitsclass, |
|
|
|
funcptr, |
|
|
|
... |
|
) |
| |
Macro for applying a threaded simulator to each unit of a class, without considering process order
- Parameters
-
| [in] | unitsclass | name of the units class |
| [in] | funcptr | member simulator name |
| [in] | ... | extra parameters to pass to the member simulator |