#include <state_map_vector.hpp>
Public Types | |
using | MapTypeCRTP = typename StateMapBaseCRTP< ImplType >::MapTypeCRTP |
Public Types inherited from tuw::StateMapBaseCRTP< StateMapVector< TNumericType, TLeafType > > | |
using | MapTypeCRTP = Eigen::Map< MatrixTypeCRTP > |
using | MatrixTypeCRTP = Eigen::Matrix< NumericType, MapSize, 1 > |
Public Member Functions | |
StateMapVector & | operator= (const StateMapVector &_rhs) |
StateMapVector & | operator= (StateMapVector &&)=default |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
StateMapVector () | |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
StateMapVector () | |
StateMapVector (RootType *_root, std::shared_ptr< DataBufferContainterType > &_dataBuffer) | |
StateMapVector (const StateMapVector &_rhs) | |
StateMapVector (StateMapVector &&)=default | |
virtual | ~StateMapVector ()=default |
Public Member Functions inherited from tuw::StateMapBaseCRTP< StateMapVector< TNumericType, TLeafType > > | |
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< StateMapVector< TNumericType, TLeafType > >::LeafsTupleTypeExt >::type & | sub () |
const std::tuple_element< _i, typename StateMapBaseCRTPTraits< StateMapVector< TNumericType, TLeafType > >::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< StateMapVector< TNumericType, TLeafType > >::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 = StateMapVector< TNumericType, TLeafType > |
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 StateMapVector &_rhs) |
template<typename SubType = LeafType, typename std::enable_if< std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsData (const StateMapVector &_rhs) |
template<typename SubType = LeafType, typename std::enable_if<!std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsSubs (const StateMapVector &_rhs) |
template<typename SubType = LeafType, typename std::enable_if< std::is_same< SubType, NumericType >::value >::type * = nullptr> | |
void | copyRhsSubs (const StateMapVector &_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 |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(!numericLeaf)>::type * = nullptr> | |
void | subResizeImplCRTP (const size_t &_size) |
template<bool numericLeaf = HasNumericLeaf, typename std::enable_if<(numericLeaf)>::type * = nullptr> | |
void | subResizeImplCRTP (const size_t &_size) |
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< StateMapVector< TNumericType, TLeafType > > | |
static constexpr const int | MapSize |
Definition at line 71 of file state_map_vector.hpp.
|
private |
Definition at line 104 of file state_map_vector.hpp.
|
private |
Definition at line 79 of file state_map_vector.hpp.
|
private |
Definition at line 85 of file state_map_vector.hpp.
using tuw::StateMapVector< TNumericType, TLeafType >::MapTypeCRTP = typename StateMapBaseCRTP<ImplType>::MapTypeCRTP |
Definition at line 94 of file state_map_vector.hpp.
|
private |
Definition at line 97 of file state_map_vector.hpp.
|
private |
Definition at line 82 of file state_map_vector.hpp.
|
private |
Definition at line 91 of file state_map_vector.hpp.
|
private |
Definition at line 88 of file state_map_vector.hpp.
|
private |
Definition at line 100 of file state_map_vector.hpp.
|
inline |
Definition at line 124 of file state_map_vector.hpp.
|
inline |
Definition at line 138 of file state_map_vector.hpp.
|
inline |
Definition at line 150 of file state_map_vector.hpp.
|
virtualdefault |
|
inline |
Definition at line 165 of file state_map_vector.hpp.
|
default |
|
inlineprivate |
Definition at line 420 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 427 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 397 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 412 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 294 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 185 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 197 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 205 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 216 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 433 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 439 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 264 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 270 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 515 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 306 of file state_map_vector.hpp.
|
inline |
Definition at line 221 of file state_map_vector.hpp.
|
default |
|
inlineprivate |
Definition at line 446 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 453 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 460 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 467 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 481 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 488 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 495 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 502 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 276 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 282 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 313 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 320 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 327 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 335 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 343 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 373 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 288 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 474 of file state_map_vector.hpp.
|
inlineprivate |
Definition at line 509 of file state_map_vector.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 300 of file state_map_vector.hpp.
|
friend |
Definition at line 534 of file state_map_vector.hpp.
|
friend |
Definition at line 532 of file state_map_vector.hpp.
|
friend |
Definition at line 522 of file state_map_vector.hpp.
|
friend |
Definition at line 524 of file state_map_vector.hpp.
|
friend |
Definition at line 526 of file state_map_vector.hpp.
|
friend |
Definition at line 528 of file state_map_vector.hpp.
|
friend |
Definition at line 530 of file state_map_vector.hpp.
|
staticprivate |
Definition at line 107 of file state_map_vector.hpp.
|
private |
Definition at line 110 of file state_map_vector.hpp.
|
private |
Definition at line 116 of file state_map_vector.hpp.
|
private |
Definition at line 113 of file state_map_vector.hpp.
|
private |
Definition at line 119 of file state_map_vector.hpp.