DART  6.7.3
dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT > Class Template Reference

#include <ProxyAspect.hpp>

Inheritance diagram for dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >:
dart::common::detail::ProxyPropertiesAspect< ProxyStateAspect< CompositeT, StateT >, CompositeT, PropertiesT > dart::common::ProxyStateAndPropertiesAspect< CompositeT, StateT, PropertiesT >

Public Types

using Base = BaseT
 
using CompositeType = CompositeT
 
using State = StateT
 

Public Member Functions

virtual ~ProxyStateAspect ()=default
 
template<typename... Args>
 ProxyStateAspect (Args &&... args)
 General constructor. More...
 
void setAspectState (const Aspect::State &state) override final
 
const Aspect::StategetAspectState () const override final
 
std::unique_ptr< AspectcloneAspect () const override
 

Protected Member Functions

void setComposite (Composite *newComposite) override
 Reconfigure the Aspect to link it to this Aspect's new Composite. More...
 
void loseComposite (Composite *oldComposite) override
 Reconfigure the Aspect to unlink it from this Aspect's old Composite. More...
 

Protected Attributes

State mProxyState
 Proxy state for this Aspect. More...
 

Member Typedef Documentation

◆ Base

template<class BaseT , class CompositeT , typename StateT >
using dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::Base = BaseT

◆ CompositeType

template<class BaseT , class CompositeT , typename StateT >
using dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::CompositeType = CompositeT

◆ State

template<class BaseT , class CompositeT , typename StateT >
using dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::State = StateT

Constructor & Destructor Documentation

◆ ~ProxyStateAspect()

template<class BaseT , class CompositeT , typename StateT >
virtual dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::~ProxyStateAspect ( )
virtualdefault

◆ ProxyStateAspect()

template<class BaseT , class CompositeT , typename StateT >
template<typename... Args>
dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::ProxyStateAspect ( Args &&...  args)
inline

General constructor.

Member Function Documentation

◆ cloneAspect()

template<class BaseT , class CompositeT , typename StateT >
std::unique_ptr<Aspect> dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::cloneAspect ( ) const
inlineoverride

◆ getAspectState()

template<class BaseT , class CompositeT , typename StateT >
const Aspect::State* dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::getAspectState ( ) const
inlinefinaloverride

◆ loseComposite()

template<class BaseT , class CompositeT , typename StateT >
void dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::loseComposite ( Composite oldComposite)
inlineoverrideprotected

Reconfigure the Aspect to unlink it from this Aspect's old Composite.

◆ setAspectState()

template<class BaseT , class CompositeT , typename StateT >
void dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::setAspectState ( const Aspect::State state)
inlinefinaloverride

◆ setComposite()

template<class BaseT , class CompositeT , typename StateT >
void dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::setComposite ( Composite newComposite)
inlineoverrideprotected

Reconfigure the Aspect to link it to this Aspect's new Composite.

Member Data Documentation

◆ mProxyState

template<class BaseT , class CompositeT , typename StateT >
State dart::common::detail::ProxyStateAspect< BaseT, CompositeT, StateT >::mProxyState
protected

Proxy state for this Aspect.