#include <state_map_tuple.hpp>
Public Types | |
using | MapTypeCRTP = typename StateMapBaseCRTP< StateMapTuple< NumericType, TLeafTypes... >>::MapTypeCRTP |
Public Types inherited from tuw::StateMapBaseCRTP< StateMapTuple< TNumericType, TLeafTypes... > > | |
using | MapTypeCRTP = Eigen::Map< MatrixTypeCRTP > |
using | MatrixTypeCRTP = Eigen::Matrix< NumericType, MapSize, 1 > |
Public Member Functions | |
StateMapTuple & | operator= (const StateMapTuple &_rhs) |
StateMapTuple & | operator= (StateMapTuple &&)=default |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename std::enable_if<!numericLeaf &&(mapSize!=Eigen::Dynamic)>::type * = nullptr> | |
StateMapTuple () | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename std::enable_if<!numericLeaf &&(mapSize==Eigen::Dynamic)>::type * = nullptr> | |
StateMapTuple () | |
template<bool numericLeaf = HasNumericLeaf, int mapSize = StateBaseCRTPType::MapSize, typename TDataBuffer , typename std::enable_if<!numericLeaf &&(mapSize!=Eigen::Dynamic)>::type * = nullptr> | |
StateMapTuple (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> | |
StateMapTuple (RootType *_root, std::shared_ptr< TDataBuffer > &_dataBuffer) | |
StateMapTuple (const StateMapTuple &_rhs) | |
StateMapTuple (StateMapTuple &&)=default | |
virtual | ~StateMapTuple ()=default |
Public Member Functions inherited from tuw::StateMapBaseCRTP< StateMapTuple< TNumericType, TLeafTypes... > > | |
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< StateMapTuple< TNumericType, TLeafTypes... > >::LeafsTupleTypeExt >::type & | sub () |
const std::tuple_element< _i, typename StateMapBaseCRTPTraits< StateMapTuple< TNumericType, TLeafTypes... > >::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< StateMapTuple< TNumericType, TLeafTypes... > >::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 = StateMapTuple< TNumericType, TLeafTypes... > |
using | LeafType = EmptyLeafType |
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 |
void | copyRhsData (const StateMapTuple &_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<size_t _i> | |
std::tuple_element< _i, std::tuple< TLeafTypes... > >::type & | subImplCRTP () |
template<size_t _i> | |
const std::tuple_element< _i, std::tuple< TLeafTypes... > >::type & | 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 |
constexpr const size_t | subSizeImplCRTP () const |
const size_t | subSizeImplVirt () const overridefinal |
Private Attributes | |
MapTypeCRTP | map_ |
size_t | mapElementSize_ |
TNumericType * | memStartRef_ |
StateBaseVirtualType * | root_ |
std::tuple< TLeafTypes... > | subs_ |
std::array< StateBaseVirtualType *, sizeof...(TLeafTypes)> | subsBase_ |
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< StateMapTuple< TNumericType, TLeafTypes... > > | |
static constexpr const int | MapSize |
Definition at line 47 of file state_map_tuple.hpp.
|
private |
Definition at line 78 of file state_map_tuple.hpp.
|
private |
Definition at line 53 of file state_map_tuple.hpp.
|
private |
Definition at line 59 of file state_map_tuple.hpp.
using tuw::StateMapTuple< TNumericType, TLeafTypes >::MapTypeCRTP = typename StateMapBaseCRTP<StateMapTuple<NumericType, TLeafTypes...>>::MapTypeCRTP |
Definition at line 68 of file state_map_tuple.hpp.
|
private |
Definition at line 71 of file state_map_tuple.hpp.
|
private |
Definition at line 56 of file state_map_tuple.hpp.
|
private |
Definition at line 65 of file state_map_tuple.hpp.
|
private |
Definition at line 62 of file state_map_tuple.hpp.
|
private |
Definition at line 74 of file state_map_tuple.hpp.
|
inline |
Definition at line 104 of file state_map_tuple.hpp.
|
inline |
Definition at line 125 of file state_map_tuple.hpp.
|
inline |
Definition at line 151 of file state_map_tuple.hpp.
|
inline |
Definition at line 171 of file state_map_tuple.hpp.
|
virtualdefault |
|
inline |
Definition at line 193 of file state_map_tuple.hpp.
|
default |
|
inlineprivate |
Definition at line 372 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 379 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 349 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 364 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 300 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 213 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 385 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 391 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 270 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 276 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 417 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 312 of file state_map_tuple.hpp.
|
inline |
Definition at line 222 of file state_map_tuple.hpp.
|
default |
|
inlineprivate |
Definition at line 398 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 405 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 282 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 288 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 319 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 326 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 333 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 341 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 294 of file state_map_tuple.hpp.
|
inlineprivate |
Definition at line 411 of file state_map_tuple.hpp.
|
inlinefinaloverrideprivatevirtual |
Implements tuw::StateMapBaseVirt< TNumericType >.
Definition at line 306 of file state_map_tuple.hpp.
|
friend |
Definition at line 436 of file state_map_tuple.hpp.
|
friend |
Definition at line 434 of file state_map_tuple.hpp.
|
friend |
Definition at line 424 of file state_map_tuple.hpp.
|
friend |
Definition at line 426 of file state_map_tuple.hpp.
|
friend |
Definition at line 428 of file state_map_tuple.hpp.
|
friend |
Definition at line 430 of file state_map_tuple.hpp.
|
friend |
Definition at line 432 of file state_map_tuple.hpp.
|
staticprivate |
Definition at line 81 of file state_map_tuple.hpp.
|
private |
Definition at line 84 of file state_map_tuple.hpp.
|
private |
Definition at line 90 of file state_map_tuple.hpp.
|
private |
Definition at line 87 of file state_map_tuple.hpp.
|
private |
Definition at line 99 of file state_map_tuple.hpp.
|
private |
Definition at line 93 of file state_map_tuple.hpp.
|
private |
Definition at line 96 of file state_map_tuple.hpp.