RTT::os::rt_allocator< T > Class Template Reference

#include <oro_allocator.hpp>

List of all members.

Classes

struct  rebind

Public Types

typedef const value_typeconst_pointer
typedef const value_typeconst_pointer
typedef const value_typeconst_reference
typedef const value_typeconst_reference
typedef std::ptrdiff_t difference_type
typedef std::ptrdiff_t difference_type
typedef value_typepointer
typedef value_typepointer
typedef value_typereference
typedef value_typereference
typedef std::size_t size_type
typedef std::size_t size_type
typedef T value_type
typedef T value_type

Public Member Functions

const_pointer address (const_reference x) const
pointer address (reference x) const
const_pointer address (const_reference x) const
pointer address (reference x) const
pointer allocate (size_type n, const_pointer=0)
pointer allocate (size_type n, const_pointer=0)
void construct (pointer p, const value_type &x)
void construct (pointer p, const value_type &x)
void deallocate (pointer p, size_type)
void deallocate (pointer p, size_type)
void destroy (pointer p)
void destroy (pointer p)
size_type max_size () const
size_type max_size () const
template<class U >
 rt_allocator (const rt_allocator< U > &)
 rt_allocator (const rt_allocator &)
 rt_allocator ()
template<class U >
 rt_allocator (const rt_allocator< U > &)
 rt_allocator (const rt_allocator &)
 rt_allocator ()
 ~rt_allocator ()
 ~rt_allocator ()

Private Member Functions

void operator= (const rt_allocator &)
void operator= (const rt_allocator &)

Detailed Description

template<class T>
class RTT::os::rt_allocator< T >

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 254 of file install/include/rtt/os/oro_allocator.hpp.


Member Typedef Documentation

template<class T >
typedef const value_type* RTT::os::rt_allocator< T >::const_pointer

Definition at line 259 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef const value_type* RTT::os::rt_allocator< T >::const_pointer

Definition at line 259 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef const value_type& RTT::os::rt_allocator< T >::const_reference

Definition at line 261 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef const value_type& RTT::os::rt_allocator< T >::const_reference

Definition at line 261 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef std::ptrdiff_t RTT::os::rt_allocator< T >::difference_type

Definition at line 263 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef std::ptrdiff_t RTT::os::rt_allocator< T >::difference_type

Definition at line 263 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef value_type* RTT::os::rt_allocator< T >::pointer

Definition at line 258 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef value_type* RTT::os::rt_allocator< T >::pointer

Definition at line 258 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef value_type& RTT::os::rt_allocator< T >::reference

Definition at line 260 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef value_type& RTT::os::rt_allocator< T >::reference

Definition at line 260 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef std::size_t RTT::os::rt_allocator< T >::size_type

Definition at line 262 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef std::size_t RTT::os::rt_allocator< T >::size_type

Definition at line 262 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
typedef T RTT::os::rt_allocator< T >::value_type

Definition at line 257 of file rtt/os/oro_allocator.hpp.

template<class T >
typedef T RTT::os::rt_allocator< T >::value_type

Definition at line 257 of file install/include/rtt/os/oro_allocator.hpp.


Constructor & Destructor Documentation

template<class T >
RTT::os::rt_allocator< T >::rt_allocator (  )  [inline]

Definition at line 296 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
RTT::os::rt_allocator< T >::rt_allocator ( const rt_allocator< T > &   )  [inline]

Definition at line 297 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
RTT::os::rt_allocator< T >::~rt_allocator (  )  [inline]

Definition at line 298 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
template<class U >
RTT::os::rt_allocator< T >::rt_allocator ( const rt_allocator< U > &   )  [inline]

Definition at line 300 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
RTT::os::rt_allocator< T >::rt_allocator (  )  [inline]

Definition at line 296 of file rtt/os/oro_allocator.hpp.

template<class T >
RTT::os::rt_allocator< T >::rt_allocator ( const rt_allocator< T > &   )  [inline]

Definition at line 297 of file rtt/os/oro_allocator.hpp.

template<class T >
RTT::os::rt_allocator< T >::~rt_allocator (  )  [inline]

Definition at line 298 of file rtt/os/oro_allocator.hpp.

template<class T >
template<class U >
RTT::os::rt_allocator< T >::rt_allocator ( const rt_allocator< U > &   )  [inline]

Definition at line 300 of file rtt/os/oro_allocator.hpp.


Member Function Documentation

template<class T >
const_pointer RTT::os::rt_allocator< T >::address ( const_reference  x  )  const [inline]

Definition at line 270 of file rtt/os/oro_allocator.hpp.

template<class T >
pointer RTT::os::rt_allocator< T >::address ( reference  x  )  const [inline]

Definition at line 266 of file rtt/os/oro_allocator.hpp.

template<class T >
const_pointer RTT::os::rt_allocator< T >::address ( const_reference  x  )  const [inline]

Definition at line 270 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
pointer RTT::os::rt_allocator< T >::address ( reference  x  )  const [inline]

Definition at line 266 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
pointer RTT::os::rt_allocator< T >::allocate ( size_type  n,
const_pointer  = 0 
) [inline]

Definition at line 274 of file rtt/os/oro_allocator.hpp.

template<class T >
pointer RTT::os::rt_allocator< T >::allocate ( size_type  n,
const_pointer  = 0 
) [inline]

Definition at line 274 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::construct ( pointer  p,
const value_type x 
) [inline]

Definition at line 289 of file rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::construct ( pointer  p,
const value_type x 
) [inline]

Definition at line 289 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 281 of file rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 281 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::destroy ( pointer  p  )  [inline]

Definition at line 293 of file rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::destroy ( pointer  p  )  [inline]

Definition at line 293 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
size_type RTT::os::rt_allocator< T >::max_size (  )  const [inline]

Definition at line 285 of file rtt/os/oro_allocator.hpp.

template<class T >
size_type RTT::os::rt_allocator< T >::max_size (  )  const [inline]

Definition at line 285 of file install/include/rtt/os/oro_allocator.hpp.

template<class T >
void RTT::os::rt_allocator< T >::operator= ( const rt_allocator< T > &   )  [private]
template<class T >
void RTT::os::rt_allocator< T >::operator= ( const rt_allocator< T > &   )  [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:10 2013