
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 |
| typedef _Scalar | Scalar |
Public Member Functions | |
| ModelPoolTpl (const Model &model, const size_t pool_size=(size_t) omp_get_max_threads()) | |
| Default constructor from a model and a pool size. | |
| ModelPoolTpl (const ModelPoolTpl &pool) | |
| Copy constructor from an other PoolModel. | |
| virtual | ~ModelPoolTpl () |
| | |
| Data & | getData (const size_t index) |
| Returns a specific data. | |
| const Data & | getData (const size_t index) const |
| Return a specific data. | |
| DataVector & | getDatas () |
| Returns the data vector. | |
| const DataVector & | getDatas () const |
| Returns the data vector. | |
| Model & | getModel (const size_t index) |
| Returns a specific model. | |
| const Model & | getModel (const size_t index) const |
| Return a specific model. | |
| ModelVector & | getModels () |
| Returns the vector of models. | |
| const ModelVector & | getModels () const |
| Returns the vector of models. | |
| void | resize (const size_t new_size) |
| Set the size of the pool and perform the appropriate resize. | |
| size_t | size () const |
| Returns the size of the pool. | |
| void | update (const Data &data) |
| Update all the datas with the input data value. | |
Protected Member Functions | |
| virtual void | doResize (const size_t new_size) |
| | |
Protected Attributes | |
| DataVector | m_datas |
| | |
| ModelVector | m_models |
| | |
|
inlineexplicit |
|
inline |
|
inlinevirtual |
Method to implement in the derived classes.
Reimplemented in BroadPhaseManagerPoolBase< _BroadPhaseManagerDerived, _Scalar, _Options, JointCollectionTpl >, and GeometryPoolTpl< _Scalar, _Options, JointCollectionTpl >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |