Orocos Real-Time Toolkit
2.9.0
|
A real-time malloc allocator which allocates every block with oro_rt_malloc() and deallocates with oro_rt_free(). More...
#include <rtt/os/oro_allocator.hpp>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const_pointer=0) |
void | deallocate (pointer p, size_type) |
size_type | max_size () const |
void | construct (pointer p, const value_type &x) |
void | destroy (pointer p) |
rt_allocator () | |
rt_allocator (const rt_allocator &) | |
~rt_allocator () | |
template<class U > | |
rt_allocator (const rt_allocator< U > &) | |
void | operator= (const rt_allocator &) |
A real-time malloc allocator which allocates every block with oro_rt_malloc() and deallocates with oro_rt_free().
This relies on the TLSF implementation.
Definition at line 251 of file oro_allocator.hpp.
typedef const value_type* RTT::os::rt_allocator< T >::const_pointer |
Definition at line 256 of file oro_allocator.hpp.
typedef const value_type& RTT::os::rt_allocator< T >::const_reference |
Definition at line 258 of file oro_allocator.hpp.
typedef std::ptrdiff_t RTT::os::rt_allocator< T >::difference_type |
Definition at line 260 of file oro_allocator.hpp.
typedef value_type* RTT::os::rt_allocator< T >::pointer |
Definition at line 255 of file oro_allocator.hpp.
typedef value_type& RTT::os::rt_allocator< T >::reference |
Definition at line 257 of file oro_allocator.hpp.
typedef std::size_t RTT::os::rt_allocator< T >::size_type |
Definition at line 259 of file oro_allocator.hpp.
typedef T RTT::os::rt_allocator< T >::value_type |
Definition at line 254 of file oro_allocator.hpp.
|
inline |
Definition at line 293 of file oro_allocator.hpp.
|
inline |
Definition at line 294 of file oro_allocator.hpp.
|
inline |
Definition at line 295 of file oro_allocator.hpp.
|
inline |
Definition at line 297 of file oro_allocator.hpp.
|
inline |
Definition at line 263 of file oro_allocator.hpp.
|
inline |
Definition at line 267 of file oro_allocator.hpp.
|
inline |
Definition at line 271 of file oro_allocator.hpp.
References oro_rt_malloc.
|
inline |
Definition at line 286 of file oro_allocator.hpp.
|
inline |
Definition at line 278 of file oro_allocator.hpp.
References oro_rt_free.
|
inline |
Definition at line 290 of file oro_allocator.hpp.
|
inline |
Definition at line 282 of file oro_allocator.hpp.
|
inline |
Definition at line 298 of file oro_allocator.hpp.