DART
6.7.3
|
Inherit this class to embed both State and Properties into your Composite object. More...
#include <EmbeddedAspect.hpp>
Public Types | |
using | Derived = DerivedT |
using | Aspect = common::EmbeddedStateAndPropertiesAspect< DerivedT, StateDataT, PropertiesDataT > |
using | AspectState = typename Aspect::State |
using | AspectStateData = typename Aspect::StateData |
using | AspectProperties = typename Aspect::Properties |
using | AspectPropertiesData = typename Aspect::PropertiesData |
using | Base = common::RequiresAspect< Aspect > |
Public Member Functions | |
template<typename... Args> | |
EmbedStateAndProperties (Args &&... args) | |
virtual | ~EmbedStateAndProperties ()=default |
const AspectState & | getAspectState () const |
const AspectProperties & | getAspectProperties () const |
Protected Attributes | |
AspectState | mAspectState |
Aspect::State data, directly accessible to your derived class. More... | |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Inherit this class to embed both State and Properties into your Composite object.
DerivedT is the name of your class, StateDataT is a "plain-old data" structure that holds your state information, and PropertiesDataT is a "plain-old data" structure that holds your properties information.
Your derived class must implement the following functions:
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::Aspect = common::EmbeddedStateAndPropertiesAspect< DerivedT, StateDataT, PropertiesDataT> |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::AspectProperties = typename Aspect::Properties |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::AspectPropertiesData = typename Aspect::PropertiesData |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::AspectState = typename Aspect::State |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::AspectStateData = typename Aspect::StateData |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::Base = common::RequiresAspect<Aspect> |
using dart::common::EmbedStateAndProperties< DerivedT, StateDataT, PropertiesDataT >::Derived = DerivedT |
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
protected |
Aspect::Properties data, directly accessible to your derived class.
|
protected |
Aspect::State data, directly accessible to your derived class.