|
| | ActorList ()=default |
| | Default constructor.
|
| | ActorList (ActorList< actors_t... > &&actors) noexcept=default |
| | Default move constructor.
|
| | ActorList (const ActorList< actors_t... > &actors)=default |
| | Default copy constructor.
|
| | ActorList (const std::tuple< actors_t... > &actors) |
| | Constructor from tuple.
|
| | ActorList (std::tuple< actors_t... > &&actors) |
| | Constructor from tuple move.
|
| template<typename propagator_state_t, typename stepper_t, typename navigator_t, typename... Args> |
| Result< void > | act (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, Args &&... args) const |
| | Act call which broadcasts the call to the tuple() members of the list.
|
| template<typename... appendices_t> |
| ActorList< actors_t..., appendices_t... > | append (appendices_t... aps) const |
| | Append new entries and return a new condition.
|
| template<typename propagator_state_t, typename stepper_t, typename navigator_t, typename... Args> |
| bool | checkAbort (propagator_state_t &state, const stepper_t &stepper, const navigator_t &navigator, Args &&... args) const |
| | Check call which broadcasts the call to the tuple() members of the list.
|
| template<typename actor_t> |
| actor_t & | get () |
| | Non-const retrieval of an actor of a specific type.
|
| template<typename actor_t> |
| const actor_t & | get () const |
| | Const retrieval of an actor of a specific type.
|
| ActorList< actors_t... > & | operator= (ActorList< actors_t... > &&actors) noexcept=default |
| | Default move assignment operator.
|
| ActorList< actors_t... > & | operator= (const ActorList< actors_t... > &actors)=default |
| | Default move assignment operator.
|
template<typename... actors_t>
requires ((std::is_default_constructible_v<actors_t> && ...) && (std::is_copy_constructible_v<actors_t> && ...) && (std::is_move_constructible_v<actors_t> && ...) && ((
Types::count<actors_t,
TypeList<actors_t...>>::value == 1) && ...))
struct Acts::ActorList< actors_t >
ActorList implementation to be used with the propagator.
This is the ActorList struct that is used in the propagator to define a list of different actors_t that are each executed during the stepping procedure
template<typename... actors_t>
template<typename propagator_state_t, typename stepper_t, typename navigator_t, typename... Args>
| Result< void > Acts::ActorList< actors_t >::act |
( |
propagator_state_t & | state, |
|
|
const stepper_t & | stepper, |
|
|
const navigator_t & | navigator, |
|
|
Args &&... | args ) const |
Act call which broadcasts the call to the tuple() members of the list.
- Template Parameters
-
| propagator_state_t | is the state type of the propagator |
| stepper_t | Type of the stepper used for the propagation |
| navigator_t | Type of the navigator used for the propagation |
- Parameters
-
| [in,out] | state | This is the propagator state object |
| [in] | stepper | The stepper in use |
| [in] | navigator | The navigator in use |
| [in] | args | The arguments to be passed to the actions |
template<typename... actors_t>
template<typename propagator_state_t, typename stepper_t, typename navigator_t, typename... Args>
| bool Acts::ActorList< actors_t >::checkAbort |
( |
propagator_state_t & | state, |
|
|
const stepper_t & | stepper, |
|
|
const navigator_t & | navigator, |
|
|
Args &&... | args ) const |
Check call which broadcasts the call to the tuple() members of the list.
- Template Parameters
-
| propagator_state_t | is the state type of the propagator |
| stepper_t | Type of the stepper |
| navigator_t | Type of the navigator |
- Parameters
-
| [in,out] | state | is the state object from the propagator |
| [in] | stepper | Stepper used for the propagation |
| [in] | navigator | Navigator used for the propagation |
| [in] | args | are the arguments to be passed to the aborters |
- Returns
- True if propagation should be aborted, false otherwise