◆ MakeProperties
Use the MakeProperties class to easily create a Properties extension from an existing class or struct.
◆ MakeState
Use the MakeState class to easily create a State extension from an existing class or struct.
◆ getAspectProperties()
◆ getAspectState()
const Aspect::State * dart::common::Aspect::getAspectState |
( |
| ) |
const |
|
virtual |
◆ loseComposite()
void dart::common::Aspect::loseComposite |
( |
Composite * |
oldComposite | ) |
|
|
protectedvirtual |
This function will be triggered if your Aspect is about to be removed from its Composite.
While this function is being called, the Aspect is still a valid part of the Composite; it will be removed immediately after this function call. By default, this function does nothing.
Reimplemented in dart::common::detail::EmbeddedPropertiesAspect< detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, StateDataT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, PropertiesDataT >, dart::common::detail::EmbeddedPropertiesAspect< CompositeTrackingAspect< CompositeT >, EmbeddedPropertiesAspect< CompositeT, PropertiesDataT >, PropertiesDataT >, dart::common::detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, StateDataT >, dart::common::detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAspect< CompositeT, StateDataT >, StateDataT >, dart::common::CompositeTrackingAspect< CompositeType >, and dart::common::CompositeTrackingAspect< CompositeT >.
◆ setComposite()
void dart::common::Aspect::setComposite |
( |
Composite * |
newComposite | ) |
|
|
protectedvirtual |
This function will be triggered (1) after the Aspect has been created [transfer will be false] and (2) after the Aspect has been transferred to a new Composite [transfer will be true].
You should override this function if your Aspect requires special handling in either of those cases. By default, this function does nothing.
Reimplemented in dart::common::detail::EmbeddedPropertiesAspect< detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, StateDataT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, PropertiesDataT >, dart::common::detail::EmbeddedPropertiesAspect< CompositeTrackingAspect< CompositeT >, EmbeddedPropertiesAspect< CompositeT, PropertiesDataT >, PropertiesDataT >, dart::common::detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAndPropertiesAspect< CompositeT, StateDataT, PropertiesDataT >, StateDataT >, dart::common::detail::EmbeddedStateAspect< CompositeTrackingAspect< CompositeT >, EmbeddedStateAspect< CompositeT, StateDataT >, StateDataT >, dart::common::CompositeTrackingAspect< CompositeType >, and dart::common::CompositeTrackingAspect< CompositeT >.
The documentation for this class was generated from the following files: