Orocos Real-Time Toolkit
2.8.3
|
Implements a list with real-time insertion/removal of elements. More...
#include <rtt/os/rt_list.hpp>
Public Member Functions | |
~rt_list () | |
void | rt_grow (std::size_t items) |
Grow memory pool for list elements. More... | |
void | rt_shrink (std::size_t items) |
Shrink memory pool. More... | |
Public Attributes | |
T | elements |
STL member. More... | |
Protected Types | |
typedef std::list< T, local_allocator< T, Alloc > >::_Node | ItemType |
Implements a list with real-time insertion/removal of elements.
All std::list<T> functions remain available, but use rt_ functions to grow or shrink a memory pool of list items.
T | The value stored in the list. |
Alloc | The allocator which effectivily ( in the end ) allocates the memory. |
Definition at line 56 of file rt_list.hpp.
|
protected |
Definition at line 60 of file rt_list.hpp.
|
inline |
Definition at line 62 of file rt_list.hpp.
References RTT::os::rt_list< T, Alloc >::rt_shrink().
|
inline |
Grow memory pool for list elements.
bad_alloc | if no more memory available. |
Definition at line 71 of file rt_list.hpp.
References RTT::os::local_allocator< T, Alloc >::grow().
|
inline |
Shrink memory pool.
Definition at line 80 of file rt_list.hpp.
References RTT::os::local_allocator< T, Alloc >::shrink().
Referenced by RTT::os::rt_list< T, Alloc >::~rt_list().
|
inherited |
STL member.