|
enum | DelegateTag { Delegate
} |
|
using | Base = BaseT |
|
using | Derived = DerivedT |
|
using | State = StateT |
|
using | StateData = StateDataT |
|
|
static constexpr void(* | SetEmbeddedState )(Derived *, const State &) = setEmbeddedState |
|
static constexpr const State &(* | GetEmbeddedState )(const Derived *) = getEmbeddedState |
|
◆ EmbeddedStateAspect() [1/3]
template<class BaseT, class DerivedT, typename StateDataT, typename StateT = common::Aspect::MakeState<StateDataT>, void(*)(DerivedT *, const StateT &) setEmbeddedState = &DefaultSetEmbeddedState<DerivedT, StateT>, const StateT &(*)(const DerivedT *) getEmbeddedState = &DefaultGetEmbeddedState<DerivedT, StateT>>
template<typename T , typename... RemainingArgs>
Construct this Aspect.
If the first argument contains StateData, then it will be used by this Aspect. Otherwise, all arguments will be forwarded to the Base class.
◆ EmbeddedStateAspect() [2/3]
template<class BaseT, class DerivedT, typename StateDataT, typename StateT = common::Aspect::MakeState<StateDataT>, void(*)(DerivedT *, const StateT &) setEmbeddedState = &DefaultSetEmbeddedState<DerivedT, StateT>, const StateT &(*)(const DerivedT *) getEmbeddedState = &DefaultGetEmbeddedState<DerivedT, StateT>>
template<typename... RemainingArgs>
Construct this Aspect using the StateData, and pass the remaining arguments into the constructor of the Base class.
◆ EmbeddedStateAspect() [3/3]
template<class BaseT, class DerivedT, typename StateDataT, typename StateT = common::Aspect::MakeState<StateDataT>, void(*)(DerivedT *, const StateT &) setEmbeddedState = &DefaultSetEmbeddedState<DerivedT, StateT>, const StateT &(*)(const DerivedT *) getEmbeddedState = &DefaultGetEmbeddedState<DerivedT, StateT>>
template<typename... BaseArgs>
Construct this Aspect without affecting the State, and pass all the arguments into the constructor of the Base class.
◆ mTemporaryState
template<class BaseT, class DerivedT, typename StateDataT, typename StateT = common::Aspect::MakeState<StateDataT>, void(*)(DerivedT *, const StateT &) setEmbeddedState = &DefaultSetEmbeddedState<DerivedT, StateT>, const StateT &(*)(const DerivedT *) getEmbeddedState = &DefaultGetEmbeddedState<DerivedT, StateT>>
The documentation for this class was generated from the following file: