39 #ifndef ORO_OS_RT_LIST_HPP 40 #define ORO_OS_RT_LIST_HPP 45 namespace RTT {
namespace os {
55 template<
class T,
class Alloc = std::allocator<T> >
57 :
public std::list<T, local_allocator<T,Alloc> >
60 typedef typename std::list<T, local_allocator<T,Alloc> >::_Node
ItemType;
Implements a list with real-time insertion/removal of elements.
A simple local allocator which keeps a small pool which you can grow manually with grow()...
void grow(size_type n, const_pointer hint=0)
Grow local pool with room for at least n additional items.
std::list< T, local_allocator< T, Alloc > >::_Node ItemType
void rt_grow(std::size_t items)
Grow memory pool for list elements.
void shrink(size_type n)
Shrink local pool with n items.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
void rt_shrink(std::size_t items)
Shrink memory pool.