Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Member Functions | List of all members
tuw::StateSimBaseCRTP< TDerived > Class Template Reference

#include <state_sim_base.hpp>

Public Types

using StateForSimType = typename StateSimBaseCRTPTraits< TDerived >::StateForSimType
 
using StateType = typename StateSimBaseCRTPTraits< TDerived >::StateType
 

Public Member Functions

void advance (const NumType &_arc)
 
void advanceSet0 (auto &_state0, const NumType &_tEnd, const NumType &_dt)
 
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr>
void advanceWithGrad (const NumType &_arc)
 
StateSimBaseCRTPoperator= (const StateSimBaseCRTP &)=default
 
StateSimBaseCRTPoperator= (StateSimBaseCRTP &&)=default
 
void simToT (const NumType &_arcEnd, const NumType &_dt)
 
StateForSimTypestate ()
 
const StateForSimTypestate () const
 
 StateSimBaseCRTP ()=default
 
 StateSimBaseCRTP (const StateSimBaseCRTP &)=default
 
 StateSimBaseCRTP (StateSimBaseCRTP &&)=default
 
void toState0 ()
 
 ~StateSimBaseCRTP ()=default
 

Static Public Attributes

static constexpr const bool hasStateGrad
 

Private Types

using NumType = typename StateSimBaseCRTPTraits< TDerived >::NumType
 
using StateNmType = typename StateSimBaseCRTPTraits< TDerived >::StateNmType
 

Private Member Functions

TDerived & thisDerived ()
 
const TDerived & thisDerived () const
 

Detailed Description

template<class TDerived>
class tuw::StateSimBaseCRTP< TDerived >

Definition at line 93 of file state_sim_base.hpp.

Member Typedef Documentation

template<class TDerived>
using tuw::StateSimBaseCRTP< TDerived >::NumType = typename StateSimBaseCRTPTraits<TDerived>::NumType
private

Definition at line 102 of file state_sim_base.hpp.

template<class TDerived>
using tuw::StateSimBaseCRTP< TDerived >::StateForSimType = typename StateSimBaseCRTPTraits<TDerived>::StateForSimType

Definition at line 99 of file state_sim_base.hpp.

template<class TDerived>
using tuw::StateSimBaseCRTP< TDerived >::StateNmType = typename StateSimBaseCRTPTraits<TDerived>::StateNmType
private

Definition at line 105 of file state_sim_base.hpp.

template<class TDerived>
using tuw::StateSimBaseCRTP< TDerived >::StateType = typename StateSimBaseCRTPTraits<TDerived>::StateType

Definition at line 96 of file state_sim_base.hpp.

Constructor & Destructor Documentation

template<class TDerived>
tuw::StateSimBaseCRTP< TDerived >::StateSimBaseCRTP ( )
default
template<class TDerived>
tuw::StateSimBaseCRTP< TDerived >::~StateSimBaseCRTP ( )
default
template<class TDerived>
tuw::StateSimBaseCRTP< TDerived >::StateSimBaseCRTP ( const StateSimBaseCRTP< TDerived > &  )
default
template<class TDerived>
tuw::StateSimBaseCRTP< TDerived >::StateSimBaseCRTP ( StateSimBaseCRTP< TDerived > &&  )
default

Member Function Documentation

template<class TDerived>
void tuw::StateSimBaseCRTP< TDerived >::advance ( const NumType _arc)
inline

Definition at line 138 of file state_sim_base.hpp.

template<class TDerived>
void tuw::StateSimBaseCRTP< TDerived >::advanceSet0 ( auto &  _state0,
const NumType _tEnd,
const NumType _dt 
)
inline

Definition at line 170 of file state_sim_base.hpp.

template<class TDerived>
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr>
void tuw::StateSimBaseCRTP< TDerived >::advanceWithGrad ( const NumType _arc)
inline

Definition at line 132 of file state_sim_base.hpp.

template<class TDerived>
StateSimBaseCRTP& tuw::StateSimBaseCRTP< TDerived >::operator= ( const StateSimBaseCRTP< TDerived > &  )
default
template<class TDerived>
StateSimBaseCRTP& tuw::StateSimBaseCRTP< TDerived >::operator= ( StateSimBaseCRTP< TDerived > &&  )
default
template<class TDerived>
void tuw::StateSimBaseCRTP< TDerived >::simToT ( const NumType _arcEnd,
const NumType _dt 
)
inline

Definition at line 144 of file state_sim_base.hpp.

template<class TDerived>
StateForSimType& tuw::StateSimBaseCRTP< TDerived >::state ( )
inline

Definition at line 158 of file state_sim_base.hpp.

template<class TDerived>
const StateForSimType& tuw::StateSimBaseCRTP< TDerived >::state ( ) const
inline

Definition at line 164 of file state_sim_base.hpp.

template<class TDerived>
TDerived& tuw::StateSimBaseCRTP< TDerived >::thisDerived ( )
inlineprivate

Definition at line 176 of file state_sim_base.hpp.

template<class TDerived>
const TDerived& tuw::StateSimBaseCRTP< TDerived >::thisDerived ( ) const
inlineprivate

Definition at line 182 of file state_sim_base.hpp.

template<class TDerived>
void tuw::StateSimBaseCRTP< TDerived >::toState0 ( )
inline

Definition at line 150 of file state_sim_base.hpp.

Member Data Documentation

template<class TDerived>
constexpr const bool tuw::StateSimBaseCRTP< TDerived >::hasStateGrad
static
Initial value:
=
!std::is_same<EmptyGradType, typename StateSimBaseCRTPTraits<TDerived>::StateWithGradNmType>::value

Definition at line 108 of file state_sim_base.hpp.


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


tuw_control
Author(s): George Todoran
autogenerated on Mon Jun 10 2019 15:27:23