dart
|
Public Types | |
using | Derived = DerivedT |
using | StateData = StateDataT |
using | PropertiesData = PropertiesDataT |
using | CompositeType = CompositeT |
using | State = common::Aspect::MakeState< StateData > |
using | Properties = common::Aspect::MakeProperties< PropertiesData > |
using | AspectStateImpl = common::AspectWithState< Derived, StateData, CompositeType, updateState > |
using | AspectPropertiesImpl = detail::AspectWithVersionedProperties< AspectStateImpl, Derived, PropertiesData, CompositeType, updateProperties > |
using | AspectImpl = AspectWithStateAndVersionedProperties< DerivedT, StateDataT, PropertiesDataT, CompositeT, updateState, updateProperties > |
![]() | |
using | Base = AspectWithState< DerivedT, StateDataT, CompositeT, updateState > |
using | Derived = DerivedT |
using | PropertiesData = PropertiesDataT |
using | CompositeType = CompositeT |
using | Properties = Aspect::MakeProperties< PropertiesData > |
using | AspectImplementation = AspectWithVersionedProperties< Base, Derived, PropertiesData, CompositeT, updateProperties > |
![]() | |
using | Base = DerivedT |
using | Derived = StateDataT |
using | StateData = CompositeT |
using | CompositeType = updateState |
using | State = Aspect::MakeState< StateData > |
using | AspectImplementation = AspectWithState< Base, Derived, StateData, updateState, &NoOp< StateDataT * > > |
Public Member Functions | |
AspectWithStateAndVersionedProperties (const AspectWithStateAndVersionedProperties &)=delete | |
AspectWithStateAndVersionedProperties (const StateData &state=StateData(), const PropertiesData &properties=PropertiesData()) | |
Construct using a StateData and a PropertiesData instance. | |
AspectWithStateAndVersionedProperties (const PropertiesData &properties, const StateData &state=StateData()) | |
Construct using a PropertiesData and a StateData instance. | |
std::unique_ptr< Aspect > | cloneAspect () const override |
![]() | |
AspectWithVersionedProperties (const AspectWithVersionedProperties &)=delete | |
AspectWithVersionedProperties (const PropertiesData &properties=PropertiesData()) | |
Construct using a PropertiesData instance. | |
AspectWithVersionedProperties (const PropertiesData &properties, BaseArgs &&... args) | |
Construct this Aspect and pass args into the constructor of the Base class. | |
void | setAspectProperties (const Aspect::Properties &someProperties) override final |
const Aspect::Properties * | getAspectProperties () const override final |
void | setProperties (const PropertiesData &properties) |
Set the Properties of this Aspect. | |
const Properties & | getProperties () const |
Get the Properties of this Aspect. | |
std::unique_ptr< Aspect > | cloneAspect () const override |
std::size_t | incrementVersion () |
Increment the version of this Aspect and its Composite. | |
void | notifyPropertiesUpdate () |
Call UpdateProperties(this) and incrementVersion() | |
void | notifyPropertiesUpdated () |
Call UpdateProperties(this) and incrementVersion() | |
![]() | |
AspectWithState (const AspectWithState &)=delete | |
AspectWithState (const StateData &state=StateData()) | |
Construct using a StateData instance. | |
AspectWithState (const StateData &state, BaseArgs &&... args) | |
Construct this Aspect and pass args into the constructor of the Base class. | |
void | setAspectState (const Aspect::State &otherState) override final |
const Aspect::State * | getAspectState () const override final |
void | setState (const StateData &state) |
Set the State of this Aspect. | |
const State & | getState () const |
Get the State of this Aspect. | |
std::unique_ptr< Aspect > | cloneAspect () const override |
Static Public Attributes | |
static constexpr void(* | UpdateState )(Derived *) = updateState |
static constexpr void(* | UpdateProperties )(Derived *) = updateProperties |
![]() | |
static constexpr void(* | UpdateProperties )(Derived *) |
![]() | |
static constexpr void(* | UpdateState )(Derived *) |
Additional Inherited Members | |
![]() | |
Properties | mProperties |
Properties of this Aspect. | |
![]() | |
State | mState |
State of this Aspect. | |