#include <state_map_array.hpp>
Public Types | |
using | MapTypeCRTP = typename StateMapBaseCRTP< ImplType >::MapTypeCRTP |
Public Types inherited from tuw::StateMapBaseCRTP< StateMapArray< TNumericType, TLeafType, TN > > | |
using | MapTypeCRTP = Eigen::Map< MatrixTypeCRTP > |
using | MatrixTypeCRTP = Eigen::Matrix< NumericType, MapSize, 1 > |
Public Member Functions | |
StateMapArray & | operator= (const StateMapArray &_rhs) |
StateMapArray & | operator= (StateMapArray &&_rhs)=default |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename std::enable_if<!numericLeaf &&(mapSize!=Eigen::Dynamic)>::type * = nullptr> | |
StateMapArray () | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename std::enable_if<!numericLeaf &&(mapSize==Eigen::Dynamic)>::type * = nullptr> | |
StateMapArray () | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename std::enable_if< numericLeaf &&(mapSize!=-1)>::type * = nullptr> | |
StateMapArray () | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename TDataBuffer , typename std::enable_if<!numericLeaf &&(mapSize!=Eigen::Dynamic)>::type * = nullptr> | |
StateMapArray (RootType *_root, std::shared_ptr< TDataBuffer > &_dataBuffer) | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename TDataBuffer , typename std::enable_if<!numericLeaf &&(mapSize==Eigen::Dynamic)>::type * = nullptr> | |
StateMapArray (RootType *_root, std::shared_ptr< TDataBuffer > &_dataBuffer) | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename TDataBuffer , typename std::enable_if< numericLeaf &&(mapSize!=Eigen::Dynamic)>::type * = nullptr> | |
StateMapArray (RootType *_root, std::shared_ptr< TDataBuffer > &_dataBuffer) | |
StateMapArray (const StateMapArray &_rhs) | |
StateMapArray (StateMapArray &&_rhs)=default | |
virtual | ~StateMapArray ()=default |
Public Member Functions inherited from tuw::StateMapBaseCRTP< StateMapArray< TNumericType, TLeafType, TN > > | |
void | bindToMemory (NumericType *_memRef) |
MapTypeCRTP & | data () |
const MapTypeCRTP & | data () const |
NumericType *const | memStartRef () const |
StateMapBaseCRTP & | operator= (StateMapBaseCRTP &&)=default |
StateMapBaseCRTP ()=default | |
StateMapBaseCRTP (StateMapBaseCRTP &&)=default | |
LeafType & | sub (const size_t &_i) |
const LeafType & | sub (const size_t &_i) const |
LeafType & | sub () |
const LeafType & | sub () const |
std::tuple_element< _i, typename StateMapBaseCRTPTraits< StateMapArray< TNumericType, TLeafType, TN > >::LeafsTupleTypeExt >::type & | sub () |
const std::tuple_element< _i, typename StateMapBaseCRTPTraits< StateMapArray< TNumericType, TLeafType, TN > >::LeafsTupleTypeExt >::type & | sub () const |
void | subResize (const size_t &_size) |
constexpr const size_t | subSize () const |
~StateMapBaseCRTP ()=default | |
Public Member Functions inherited from tuw::StateMapBaseVirt< TNumericType > | |
MapTypeVirt | data () |
const MapTypeVirt | data () const |
TNumericType *const | memStartRef () const |
StateMapBaseVirt & | operator= (StateMapBaseVirt &&)=default |
StateMapBaseVirt () | |
StateMapBaseVirt (StateMapBaseVirt &&)=default | |
StateBaseVirtualType & | sub (const size_t &_i) |
const StateBaseVirtualType & | sub (const size_t &_i) const |
void | subResize (const size_t &_size) |
const size_t & | subSize () const |
virtual | ~StateMapBaseVirt ()=default |
Public Member Functions inherited from tuw::DataBuffer< TNumericType, StateMapBaseCRTP< StateMapArray< TNumericType, TLeafType, TN > >::MapSize > | |
DataBuffer (std::shared_ptr< DataBufferContainerType > _dataBuffer) | |
DataBuffer ()=default | |
DataBuffer (DataBuffer &&_other)=default | |
DataBuffer & | operator= (DataBuffer &&_other)=default |
~DataBuffer ()=default | |
Private Types | |
using | DataBufferContainterType = typename DataBuffer< TNumericType, StateBaseCRTPType::MapSize >::DataBufferContainerType |
using | ImplType = StateMapArray< TNumericType, TLeafType, TN > |
using | LeafType = TLeafType |
using | MapTypeVirt = typename StateMapBaseVirt< NumericType >::MapTypeVirt |
using | NumericType = TNumericType |
using | RootType = typename StateMapBaseCRTPTraits< ImplType >::RootType |
using | StateBaseCRTPType = StateMapBaseCRTP< ImplType > |
using | StateBaseVirtualType = typename StateMapBaseVirt< NumericType >::StateBaseVirtualType |
Private Member Functions | |
template<bool dynamicMap = StateBaseCRTPType::MapSize == -1, typename std::enable_if<(dynamicMap)>::type * = nullptr> | |
void | bindMap () |
template<bool dynamicMap = StateBaseCRTPType::MapSize == -1, typename std::enable_if<(!dynamicMap)>::type * = nullptr> | |
void | bindMap () |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
void | bindToMemoryImplCRTP (TNumericType *_memRef) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
void | bindToMemoryImplCRTP (TNumericType *_memRef) |
void | bindToMemoryImplVirt (TNumericType *_memRef) overridefinal |
template<typename SubType = LeafType, typename std::enable_if<!std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsData (const StateMapArray &_rhs) |
template<typename SubType = LeafType, typename std::enable_if< std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsData (const StateMapArray &_rhs) |
template<typename SubType = LeafType, typename std::enable_if<!std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsSubs (const StateMapArray &_rhs) |
template<typename SubType = LeafType, typename std::enable_if< std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsSubs (const StateMapArray &_rhs) |
template<typename SubType = LeafType, typename std::enable_if<!std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | createCopyRhsSubs (const StateMapArray &_rhs) |
template<typename SubType = LeafType, typename std::enable_if< std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | createCopyRhsSubs (const StateMapArray &_rhs) |
MapTypeCRTP & | dataImplCRTP () |
const MapTypeCRTP & | dataImplCRTP () const |
MapTypeVirt | dataImplVirt () overridefinal |
const MapTypeVirt | dataImplVirt () const overridefinal |
NumericType *const | memStartRefImplCRTP () const |
NumericType *const | memStartRefImplVirt () const overridefinal |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
LeafType & | subImplCRTP (const size_t &_i) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
const LeafType & | subImplCRTP (const size_t &_i) const |
template<size_t _i, bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
LeafType & | subImplCRTP () |
template<size_t _i, bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
const LeafType & | subImplCRTP () const |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
LeafType & | subImplCRTP (const size_t &_i) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
const LeafType & | subImplCRTP (const size_t &_i) const |
template<size_t _i, bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
LeafType & | subImplCRTP () |
template<size_t _i, bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
const LeafType & | subImplCRTP () const |
StateBaseVirtualType & | subImplVirt (const size_t &_i) overridefinal |
const StateBaseVirtualType & | subImplVirt (const size_t &_i) const overridefinal |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
StateBaseVirtualType & | subImplVirtDispatch (const size_t &_i) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
const StateBaseVirtualType & | subImplVirtDispatch (const size_t &_i) const |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
StateBaseVirtualType & | subImplVirtDispatch (const size_t &_i) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
const StateBaseVirtualType & | subImplVirtDispatch (const size_t &_i) const |
void | subResizeImplVirt (const size_t &_size) overridefinal |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
const size_t | subSizeImplCRTP () const |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
const size_t | subSizeImplCRTP () const |
const size_t | subSizeImplVirt () const overridefinal |
Private Attributes | |
MapTypeCRTP | map_ |
size_t | mapElementSize_ |
TNumericType * | memStartRef_ |
StateBaseVirtualType * | root_ |
Static Private Attributes | |
static constexpr const bool | HasNumericLeaf = std::is_same<LeafType, NumericType>::value |
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 |
Additional Inherited Members | |
Static Public Attributes inherited from tuw::StateMapBaseCRTP< StateMapArray< TNumericType, TLeafType, TN > > | |
static constexpr const int | MapSize |
Definition at line 56 of file state_map_array.hpp.
|
private |
Definition at line 89 of file state_map_array.hpp.
|
private |
Definition at line 64 of file state_map_array.hpp.
|
private |
Definition at line 70 of file state_map_array.hpp.
using tuw::StateMapArray< TNumericType, TLeafType, TN >::MapTypeCRTP = typename StateMapBaseCRTP<ImplType>::MapTypeCRTP |
Definition at line 79 of file state_map_array.hpp.
|
private |
Definition at line 82 of file state_map_array.hpp.
|
private |
Definition at line 67 of file state_map_array.hpp.
|
private |
Definition at line 76 of file state_map_array.hpp.
|
private |
Definition at line 73 of file state_map_array.hpp.
|
private |
Definition at line 85 of file state_map_array.hpp.
|
inline |
Definition at line 110 of file state_map_array.hpp.
|
inline |
Definition at line 129 of file state_map_array.hpp.
|
inline |
Definition at line 153 of file state_map_array.hpp.
|
inline |
Definition at line 169 of file state_map_array.hpp.
|
inline |
Definition at line 187 of file state_map_array.hpp.
|
inline |
Definition at line 206 of file state_map_array.hpp.
|
virtualdefault |
|
inline |
Definition at line 221 of file state_map_array.hpp.
|
default |
|
inlineprivate |
Definition at line 438 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 445 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 415 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 430 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 366 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 241 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 252 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 259 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 270 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 277 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 288 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 451 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 457 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 336 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 342 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 533 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 378 of file state_map_array.hpp.
|
inline |
Definition at line 293 of file state_map_array.hpp.
|
default |
|
inlineprivate |
Definition at line 464 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 471 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 478 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 485 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 499 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 506 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 513 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 520 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 348 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 354 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 385 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 392 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 399 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 407 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 360 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 492 of file state_map_array.hpp.
|
inlineprivate |
Definition at line 527 of file state_map_array.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 372 of file state_map_array.hpp.
|
friend |
Definition at line 552 of file state_map_array.hpp.
|
friend |
Definition at line 550 of file state_map_array.hpp.
|
friend |
Definition at line 540 of file state_map_array.hpp.
|
friend |
Definition at line 542 of file state_map_array.hpp.
|
friend |
Definition at line 544 of file state_map_array.hpp.
|
friend |
Definition at line 546 of file state_map_array.hpp.
|
friend |
Definition at line 548 of file state_map_array.hpp.
|
staticprivate |
Definition at line 92 of file state_map_array.hpp.
|
private |
Definition at line 95 of file state_map_array.hpp.
|
private |
Definition at line 101 of file state_map_array.hpp.
|
private |
Definition at line 98 of file state_map_array.hpp.
|
private |
Definition at line 104 of file state_map_array.hpp.