dart
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
dart::common::CompositeTrackingAspect< CompositeType > Class Template Reference
Inheritance diagram for dart::common::CompositeTrackingAspect< CompositeType >:
Inheritance graph
[legend]
Collaboration diagram for dart::common::CompositeTrackingAspect< CompositeType >:
Collaboration graph
[legend]

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.
 
- Public Member Functions inherited from dart::common::Aspect
virtual ~Aspect ()=default
 Virtual destructor.
 
virtual std::unique_ptr< AspectcloneAspect () 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 StategetAspectState () 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 PropertiesgetAspectProperties () 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

- Public Types inherited from dart::common::Aspect
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...
 

The documentation for this class was generated from the following file: