|
|
typedef etl::generic_pool< etl::largest< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::size, etl::largest< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::alignment, MAX_SIZE_ > | base_t |
|
typedef size_t | size_type |
|
typedef ipool_iterator< false > | iterator |
|
|
| variant_pool () |
| | Default constructor.
|
|
template<typename T> |
| T * | create () |
| | Creates the object. Default constructor.
|
|
template<typename T, typename TP1> |
| T * | create (const TP1 &p1) |
| | Creates the object. One parameter constructor.
|
|
template<typename T, typename TP1, typename TP2> |
| T * | create (const TP1 &p1, const TP2 &p2) |
| | Creates the object. Two parameter constructor.
|
|
template<typename T, typename TP1, typename TP2, typename TP3> |
| T * | create (const TP1 &p1, const TP2 &p2, const TP3 &p3) |
| | Creates the object. Three parameter constructor.
|
|
template<typename T, typename TP1, typename TP2, typename TP3, typename TP4> |
| T * | create (const TP1 &p1, const TP2 &p2, const TP3 &p3, const TP4 &p4) |
| | Creates the object. Four parameter constructor.
|
|
template<typename T> |
| void | destroy (const T *const p) |
| | Destroys the object.
|
|
size_t | max_size () const |
| | Returns the maximum number of items in the variant_pool.
|
|
| generic_pool () |
| | Constructor.
|
| U * | allocate () |
| U * | create () |
| void | destroy (const U *const p_object) |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
| template<typename T> |
| T * | allocate () |
| template<typename T> |
| T * | create () |
| template<typename T, typename T1> |
| T * | create (const T1 &value1) |
|
template<typename T, typename T1, typename T2> |
| T * | create (const T1 &value1, const T2 &value2) |
|
template<typename T, typename T1, typename T2, typename T3> |
| T * | create (const T1 &value1, const T2 &value2, const T3 &value3) |
|
template<typename T, typename T1, typename T2, typename T3, typename T4> |
| T * | create (const T1 &value1, const T2 &value2, const T3 &value3, const T4 &value4) |
| template<typename T> |
| void | destroy (const T *const p_object) |
| void | release (const void *const p_object) |
|
void | release_all () |
| | Release all objects in the pool.
|
| bool | is_in_pool (const void *const p_object) const |
|
size_t | max_size () const |
| | Returns the maximum number of items in the pool.
|
|
size_t | max_item_size () const |
| | Returns the maximum size of an item in the pool.
|
|
size_t | capacity () const |
| | Returns the maximum number of items in the pool.
|
|
size_t | available () const |
| | Returns the number of free items in the pool.
|
|
size_t | size () const |
| | Returns the number of allocated items in the pool.
|
| bool | empty () const |
| bool | full () const |