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

#include <state_map_base.hpp>

Public Types

using MapTypeCRTP = Eigen::Map< MatrixTypeCRTP >
 
using MatrixTypeCRTP = Eigen::Matrix< NumericType, MapSize, 1 >
 

Public Member Functions

void bindToMemory (NumericType *_memRef)
 
MapTypeCRTPdata ()
 
const MapTypeCRTPdata () const
 
NumericType *const memStartRef () const
 
StateMapBaseCRTPoperator= (StateMapBaseCRTP &&)=default
 
 StateMapBaseCRTP ()=default
 
 StateMapBaseCRTP (StateMapBaseCRTP &&)=default
 
template<typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
LeafTypesub (const size_t &_i)
 
template<typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const LeafTypesub (const size_t &_i) const
 
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
LeafTypesub ()
 
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const LeafTypesub () const
 
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
std::tuple_element< _i, typename StateMapBaseCRTPTraits< TDerived >::LeafsTupleTypeExt >::type & sub ()
 
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const std::tuple_element< _i, typename StateMapBaseCRTPTraits< TDerived >::LeafsTupleTypeExt >::type & sub () const
 
template<bool isDynamic = IsDynamic, typename std::enable_if<(isDynamic)>::type * = nullptr>
void subResize (const size_t &_size)
 
constexpr const size_t subSize () const
 
 ~StateMapBaseCRTP ()=default
 

Static Public Attributes

static constexpr const int MapSize = getMapSize<StateMapBaseCRTPTraits<TDerived>>()
 

Private Types

using LeafType = typename StateMapBaseCRTPTraits< TDerived >::LeafTypeExt
 
using NumericType = typename StateMapBaseCRTPTraits< TDerived >::NumericType
 
using RootType = typename StateMapBaseCRTPTraits< TDerived >::RootType
 

Private Member Functions

StateMapBaseCRTPoperator= (const StateMapBaseCRTP &)=default
 
 StateMapBaseCRTP (const StateMapBaseCRTP &)=default
 
TDerived & thisDerived ()
 
const TDerived & thisDerived () const
 

Static Private Attributes

static constexpr const bool IsDynamic = StateMapBaseCRTPTraits<TDerived>::isDynamic
 

Friends

template<class TLeafType2 >
struct LeafTypeContClass
 
template<class TNumericType2 , class TLeafType2 , size_t TN2>
class StateMapArray
 
template<class Derived2 >
class StateMapBaseCRTP
 
template<class Derived2 >
struct StateMapBaseCRTPTraits
 
template<class TNumericType2 >
class StateMapBaseVirt
 
template<class TNumericType2 , class... TLeafTypes2>
class StateMapTuple
 
template<class TNumericType2 , class TLeafType2 >
class StateMapVector
 

Detailed Description

template<class TDerived>
class tuw::StateMapBaseCRTP< TDerived >

Definition at line 304 of file state_map_base.hpp.

Member Typedef Documentation

template<class TDerived>
using tuw::StateMapBaseCRTP< TDerived >::LeafType = typename StateMapBaseCRTPTraits<TDerived>::LeafTypeExt
private

Definition at line 310 of file state_map_base.hpp.

template<class TDerived>
using tuw::StateMapBaseCRTP< TDerived >::MapTypeCRTP = Eigen::Map<MatrixTypeCRTP>

Definition at line 325 of file state_map_base.hpp.

template<class TDerived>
using tuw::StateMapBaseCRTP< TDerived >::MatrixTypeCRTP = Eigen::Matrix<NumericType, MapSize, 1>

Definition at line 319 of file state_map_base.hpp.

template<class TDerived>
using tuw::StateMapBaseCRTP< TDerived >::NumericType = typename StateMapBaseCRTPTraits<TDerived>::NumericType
private

Definition at line 307 of file state_map_base.hpp.

template<class TDerived>
using tuw::StateMapBaseCRTP< TDerived >::RootType = typename StateMapBaseCRTPTraits<TDerived>::RootType
private

Definition at line 313 of file state_map_base.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TDerived>
void tuw::StateMapBaseCRTP< TDerived >::bindToMemory ( NumericType _memRef)
inline

Definition at line 418 of file state_map_base.hpp.

template<class TDerived>
MapTypeCRTP& tuw::StateMapBaseCRTP< TDerived >::data ( )
inline

Definition at line 351 of file state_map_base.hpp.

template<class TDerived>
const MapTypeCRTP& tuw::StateMapBaseCRTP< TDerived >::data ( ) const
inline

Definition at line 357 of file state_map_base.hpp.

template<class TDerived>
NumericType* const tuw::StateMapBaseCRTP< TDerived >::memStartRef ( ) const
inline

Definition at line 430 of file state_map_base.hpp.

template<class TDerived>
StateMapBaseCRTP& tuw::StateMapBaseCRTP< TDerived >::operator= ( const StateMapBaseCRTP< TDerived > &  )
privatedefault
template<class TDerived>
StateMapBaseCRTP& tuw::StateMapBaseCRTP< TDerived >::operator= ( StateMapBaseCRTP< TDerived > &&  )
default
template<class TDerived>
template<typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
LeafType& tuw::StateMapBaseCRTP< TDerived >::sub ( const size_t &  _i)
inline

Definition at line 365 of file state_map_base.hpp.

template<class TDerived>
template<typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const LeafType& tuw::StateMapBaseCRTP< TDerived >::sub ( const size_t &  _i) const
inline

Definition at line 373 of file state_map_base.hpp.

template<class TDerived>
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
LeafType& tuw::StateMapBaseCRTP< TDerived >::sub ( )
inline

Definition at line 381 of file state_map_base.hpp.

template<class TDerived>
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(!std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const LeafType& tuw::StateMapBaseCRTP< TDerived >::sub ( ) const
inline

Definition at line 389 of file state_map_base.hpp.

template<class TDerived>
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
std::tuple_element<_i, typename StateMapBaseCRTPTraits<TDerived>::LeafsTupleTypeExt>::type& tuw::StateMapBaseCRTP< TDerived >::sub ( )
inline

Definition at line 397 of file state_map_base.hpp.

template<class TDerived>
template<size_t _i, typename leafType = LeafType, typename std::enable_if<(std::is_same< EmptyLeafType, leafType >::value)>::type * = nullptr>
const std::tuple_element<_i, typename StateMapBaseCRTPTraits<TDerived>::LeafsTupleTypeExt>::type& tuw::StateMapBaseCRTP< TDerived >::sub ( ) const
inline

Definition at line 405 of file state_map_base.hpp.

template<class TDerived>
template<bool isDynamic = IsDynamic, typename std::enable_if<(isDynamic)>::type * = nullptr>
void tuw::StateMapBaseCRTP< TDerived >::subResize ( const size_t &  _size)
inline

Definition at line 412 of file state_map_base.hpp.

template<class TDerived>
constexpr const size_t tuw::StateMapBaseCRTP< TDerived >::subSize ( ) const
inline

Definition at line 424 of file state_map_base.hpp.

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

Definition at line 436 of file state_map_base.hpp.

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

Definition at line 442 of file state_map_base.hpp.

Friends And Related Function Documentation

template<class TDerived>
template<class TLeafType2 >
friend struct LeafTypeContClass
friend

Definition at line 461 of file state_map_base.hpp.

template<class TDerived>
template<class TNumericType2 , class TLeafType2 , size_t TN2>
friend class StateMapArray
friend

Definition at line 459 of file state_map_base.hpp.

template<class TDerived>
template<class Derived2 >
friend class StateMapBaseCRTP
friend

Definition at line 449 of file state_map_base.hpp.

template<class TDerived>
template<class Derived2 >
friend struct StateMapBaseCRTPTraits
friend

Definition at line 451 of file state_map_base.hpp.

template<class TDerived>
template<class TNumericType2 >
friend class StateMapBaseVirt
friend

Definition at line 453 of file state_map_base.hpp.

template<class TDerived>
template<class TNumericType2 , class... TLeafTypes2>
friend class StateMapTuple
friend

Definition at line 455 of file state_map_base.hpp.

template<class TDerived>
template<class TNumericType2 , class TLeafType2 >
friend class StateMapVector
friend

Definition at line 457 of file state_map_base.hpp.

Member Data Documentation

template<class TDerived>
constexpr const bool tuw::StateMapBaseCRTP< TDerived >::IsDynamic = StateMapBaseCRTPTraits<TDerived>::isDynamic
staticprivate

Definition at line 329 of file state_map_base.hpp.

template<class TDerived>
constexpr const int tuw::StateMapBaseCRTP< TDerived >::MapSize = getMapSize<StateMapBaseCRTPTraits<TDerived>>()
static

Definition at line 316 of file state_map_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