DART
6.7.3
|
Inherit this class to embed Properties into your Composite object. More...
#include <EmbeddedAspect.hpp>
Public Types | |
using | Derived = DerivedT |
using | Aspect = common::EmbeddedPropertiesAspect< Derived, PropertiesDataT > |
using | AspectProperties = typename Aspect::Properties |
using | AspectPropertiesData = typename Aspect::PropertiesData |
using | Base = common::RequiresAspect< Aspect > |
Public Member Functions | |
template<typename... Args> | |
EmbedProperties (Args &&... args) | |
virtual | ~EmbedProperties ()=default |
const AspectProperties & | getAspectProperties () const |
Protected Attributes | |
AspectProperties | mAspectProperties |
Aspect::Properties data, directly accessible to your derived class. More... | |
Inherit this class to embed Properties into your Composite object.
DerivedT is the name of your class and PropertiesDataT is a "plain-old data" structure that holds your properties information.
Your derived class must implement the following function:
To embed both state and properties information, use EmbedStateAndProperties.
It is possible to customize the way an EmbeddedPropertiesAspect interacts with your Composite by using the dart::common::detail::EmbeddedPropertiesAspect class directly instead of inheriting this class.
using dart::common::EmbedProperties< DerivedT, PropertiesDataT >::Aspect = common::EmbeddedPropertiesAspect<Derived, PropertiesDataT> |
using dart::common::EmbedProperties< DerivedT, PropertiesDataT >::AspectProperties = typename Aspect::Properties |
using dart::common::EmbedProperties< DerivedT, PropertiesDataT >::AspectPropertiesData = typename Aspect::PropertiesData |
using dart::common::EmbedProperties< DerivedT, PropertiesDataT >::Base = common::RequiresAspect<Aspect> |
using dart::common::EmbedProperties< DerivedT, PropertiesDataT >::Derived = DerivedT |
|
inline |
|
virtualdefault |
|
inline |
|
protected |
Aspect::Properties data, directly accessible to your derived class.