#include <fwd.hpp>
Public Types | |
| enum | { Options = _Options } |
| typedef DataTpl< Scalar, Options, JointCollectionTpl > | Data |
| typedef std::vector< Data, Eigen::aligned_allocator< Data > > | DataVector |
| typedef ModelTpl< Scalar, Options, JointCollectionTpl > | Model |
| typedef std::vector< Model, Eigen::aligned_allocator< Model > > | ModelVector |
Public Member Functions | |
| Data & | getData (const size_t index) |
| Returns a specific data. More... | |
| const Data & | getData (const size_t index) const |
| Return a specific data. More... | |
| DataVector & | getDatas () |
| Returns the data vector. More... | |
| const DataVector & | getDatas () const |
| Returns the data vector. More... | |
| Model & | getModel (const size_t index) |
| Returns a specific model. More... | |
| const Model & | getModel (const size_t index) const |
| Return a specific model. More... | |
| ModelVector & | getModels () |
| Returns the vector of models. More... | |
| const ModelVector & | getModels () const |
| Returns the vector of models. More... | |
| ModelPoolTpl (const Model &model, const size_t pool_size=(size_t) omp_get_max_threads()) | |
| Default constructor from a model and a pool size. More... | |
| ModelPoolTpl (const ModelPoolTpl &pool) | |
| Copy constructor from an other PoolModel. More... | |
| void | resize (const size_t new_size) |
| Set the size of the pool and perform the appropriate resize. More... | |
| size_t | size () const |
| Returns the size of the pool. More... | |
| void | update (const Data &data) |
| Update all the datas with the input data value. More... | |
| virtual | ~ModelPoolTpl () |
| More... | |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Protected Member Functions | |
| virtual void | doResize (const size_t new_size) |
| More... | |
Protected Attributes | |
| DataVector | m_datas |
| More... | |
| ModelVector | m_models |
| More... | |
Definition at line 17 of file multibody/pool/fwd.hpp.
| typedef DataTpl<Scalar, Options, JointCollectionTpl> pinocchio::ModelPoolTpl< _Scalar, _Options, JointCollectionTpl >::Data |
Definition at line 31 of file multibody/pool/model.hpp.
| typedef std::vector<Data, Eigen::aligned_allocator<Data> > pinocchio::ModelPoolTpl< _Scalar, _Options, JointCollectionTpl >::DataVector |
Definition at line 34 of file multibody/pool/model.hpp.
| typedef ModelTpl<Scalar, Options, JointCollectionTpl> pinocchio::ModelPoolTpl< _Scalar, _Options, JointCollectionTpl >::Model |
Definition at line 30 of file multibody/pool/model.hpp.
| typedef std::vector<Model, Eigen::aligned_allocator<Model> > pinocchio::ModelPoolTpl< _Scalar, _Options, JointCollectionTpl >::ModelVector |
Definition at line 33 of file multibody/pool/model.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| Options | |
Definition at line 25 of file multibody/pool/model.hpp.
|
inlineexplicit |
Default constructor from a model and a pool size.
| [in] | model | input model used for parallel computations. |
| [in] | pool_size | total size of the pool. |
Definition at line 41 of file multibody/pool/model.hpp.
|
inline |
Copy constructor from an other PoolModel.
| [in] | pool_model | PoolModel to copy. |
Definition at line 52 of file multibody/pool/model.hpp.
|
inlinevirtual |
|
inlineprotectedvirtual |
Method to implement in the derived classes.
Definition at line 161 of file multibody/pool/model.hpp.
|
inline |
Returns a specific data.
Definition at line 143 of file multibody/pool/model.hpp.
|
inline |
Return a specific data.
Definition at line 135 of file multibody/pool/model.hpp.
|
inline |
Returns the data vector.
Definition at line 129 of file multibody/pool/model.hpp.
|
inline |
Returns the data vector.
Definition at line 123 of file multibody/pool/model.hpp.
|
inline |
Returns a specific model.
Definition at line 115 of file multibody/pool/model.hpp.
|
inline |
Return a specific model.
Definition at line 107 of file multibody/pool/model.hpp.
|
inline |
Returns the vector of models.
Definition at line 101 of file multibody/pool/model.hpp.
|
inline |
Returns the vector of models.
Definition at line 95 of file multibody/pool/model.hpp.
|
inline |
Set the size of the pool and perform the appropriate resize.
Definition at line 74 of file multibody/pool/model.hpp.
|
inline |
Returns the size of the pool.
Definition at line 68 of file multibody/pool/model.hpp.
|
inline |
Update all the datas with the input data value.
| [in] | data | new value to use and to copy within the vector of data. |
Definition at line 62 of file multibody/pool/model.hpp.
|
protected |
|
protected |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar pinocchio::ModelPoolTpl< _Scalar, _Options, JointCollectionTpl >::Scalar |
Definition at line 24 of file multibody/pool/model.hpp.