The action type provides a mechanism to add execution elements to the FleCSI control model.
More...
template<typename P>
template<target_type T, control_points_enum CP, bool M = false>
struct flecsi::run::control< P >::action< T, CP, M >
The action type provides a mechanism to add execution elements to the FleCSI control model.
The P::node_policy
structure that gets instantiated was intended originally for sharing of data across actions. This usage is deprecated, and P::node_policy
now should be defined as an empty struct
.
- Template Parameters
-
T | function to call, of type void(P&) if P inherits from control_base and int() otherwise |
CP | The control point under which this action is executed. |
M | Boolean indicating whether or not the action is a meta action. This is intended for specialization developers; application developers should omit this parameter (defaulting it to false ). |
template<typename P >
template<target_type T, control_points_enum CP, bool M = false>
template<target_type U, control_points_enum V>
dependency add |
( |
action< U, V > const & |
from | ) |
|
Add a dependency on the given action.
- Template Parameters
-
V | must be the same as ControlPoint |
- Parameters
-
from | The upstream node in the dependency. |