dart
|
Public Member Functions | |
CompositeTrackingAspect () | |
Default constructor. | |
CompositeType * | getComposite () |
Get the Composite of this Aspect. | |
const CompositeType * | getComposite () const |
Get the Composite of this Aspect. | |
bool | hasComposite () const |
Returns true if this Aspect has a Composite that matches CompositeType. | |
![]() | |
virtual | ~Aspect ()=default |
Virtual destructor. | |
virtual std::unique_ptr< Aspect > | cloneAspect () const =0 |
Clone this Aspect into a new composite. | |
virtual void | setAspectState (const State &otherState) |
Set the State of this Aspect. By default, this does nothing. | |
virtual const State * | getAspectState () const |
Get the State of this Aspect. More... | |
virtual void | setAspectProperties (const Properties &someProperties) |
Set the Properties of this Aspect. By default, this does nothing. | |
virtual const Properties * | getAspectProperties () const |
Get the Properties of this Aspect. More... | |
Protected Member Functions | |
void | setComposite (Composite *newComposite) override |
Grab the new Composite. | |
void | loseComposite (Composite *oldComposite) override |
Clear the old Composite. | |
Protected Attributes | |
CompositeType * | mComposite |
Pointer to the current Composite of this Aspect. | |
Additional Inherited Members | |
![]() | |
template<class Mixin > | |
using | MakeState = MakeCloneable< State, Mixin > |
Use the MakeState class to easily create a State extension from an existing class or struct. More... | |
template<class Mixin > | |
using | MakeProperties = MakeCloneable< Properties, Mixin > |
Use the MakeProperties class to easily create a Properties extension from an existing class or struct. More... | |