#include <oro_allocator.hpp>
Classes | |
| struct | rebind |
Public Types | |
| typedef const value_type * | const_pointer |
| typedef const value_type & | const_reference |
| typedef std::ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
| typedef std::size_t | size_type |
| typedef T | value_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 | construct (pointer p, const value_type &x) |
| void | deallocate (pointer p, size_type) |
| void | destroy (pointer p) |
| size_type | max_size () const |
| rt_allocator () | |
| rt_allocator (const rt_allocator &) | |
| template<class U > | |
| rt_allocator (const rt_allocator< U > &) | |
| ~rt_allocator () | |
Private Member Functions | |
| 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 256 of file oro_allocator.hpp.
| typedef const value_type* RTT::os::rt_allocator< T >::const_pointer |
Definition at line 261 of file oro_allocator.hpp.
| typedef const value_type& RTT::os::rt_allocator< T >::const_reference |
Definition at line 263 of file oro_allocator.hpp.
| typedef std::ptrdiff_t RTT::os::rt_allocator< T >::difference_type |
Definition at line 265 of file oro_allocator.hpp.
| typedef value_type* RTT::os::rt_allocator< T >::pointer |
Definition at line 260 of file oro_allocator.hpp.
| typedef value_type& RTT::os::rt_allocator< T >::reference |
Definition at line 262 of file oro_allocator.hpp.
| typedef std::size_t RTT::os::rt_allocator< T >::size_type |
Definition at line 264 of file oro_allocator.hpp.
| typedef T RTT::os::rt_allocator< T >::value_type |
Definition at line 259 of file oro_allocator.hpp.
| RTT::os::rt_allocator< T >::rt_allocator | ( | ) | [inline] |
Definition at line 298 of file oro_allocator.hpp.
| RTT::os::rt_allocator< T >::rt_allocator | ( | const rt_allocator< T > & | ) | [inline] |
Definition at line 299 of file oro_allocator.hpp.
| RTT::os::rt_allocator< T >::~rt_allocator | ( | ) | [inline] |
Definition at line 300 of file oro_allocator.hpp.
| RTT::os::rt_allocator< T >::rt_allocator | ( | const rt_allocator< U > & | ) | [inline] |
Definition at line 302 of file oro_allocator.hpp.
| pointer RTT::os::rt_allocator< T >::address | ( | reference | x | ) | const [inline] |
Definition at line 268 of file oro_allocator.hpp.
| const_pointer RTT::os::rt_allocator< T >::address | ( | const_reference | x | ) | const [inline] |
Definition at line 272 of file oro_allocator.hpp.
| pointer RTT::os::rt_allocator< T >::allocate | ( | size_type | n, |
| const_pointer | = 0 |
||
| ) | [inline] |
Definition at line 276 of file oro_allocator.hpp.
| void RTT::os::rt_allocator< T >::construct | ( | pointer | p, |
| const value_type & | x | ||
| ) | [inline] |
Definition at line 291 of file oro_allocator.hpp.
| void RTT::os::rt_allocator< T >::deallocate | ( | pointer | p, |
| size_type | |||
| ) | [inline] |
Definition at line 283 of file oro_allocator.hpp.
| void RTT::os::rt_allocator< T >::destroy | ( | pointer | p | ) | [inline] |
Definition at line 295 of file oro_allocator.hpp.
| size_type RTT::os::rt_allocator< T >::max_size | ( | ) | const [inline] |
Definition at line 287 of file oro_allocator.hpp.
| void RTT::os::rt_allocator< T >::operator= | ( | const rt_allocator< T > & | ) | [private] |