Classes | Public Types | Public Member Functions
Eigen::aligned_allocator< T > Class Template Reference

STL compatible allocator to use with with 16 byte aligned types. More...

#include <Memory.h>

List of all members.

Classes

struct  rebind

Public Types

typedef const Tconst_pointer
typedef const Tconst_reference
typedef std::ptrdiff_t difference_type
typedef Tpointer
typedef Treference
typedef size_t size_type
typedef T value_type

Public Member Functions

pointer address (reference value) const
const_pointer address (const_reference value) const
 aligned_allocator ()
 aligned_allocator (const aligned_allocator &)
template<class U >
 aligned_allocator (const aligned_allocator< U > &)
pointer allocate (size_type num, const void *hint=0)
void construct (pointer p, const T &value)
void deallocate (pointer p, size_type)
void destroy (pointer p)
size_type max_size () const
bool operator!= (const aligned_allocator< T > &) const
bool operator== (const aligned_allocator< T > &) const
 ~aligned_allocator ()

Detailed Description

template<class T>
class Eigen::aligned_allocator< T >

STL compatible allocator to use with with 16 byte aligned types.

Example:

 // Matrix4f requires 16 bytes alignment:
 std::map< int, Matrix4f, std::less<int>, 
           aligned_allocator<std::pair<const int, Matrix4f> > > my_map_mat4;
 // Vector3f does not require 16 bytes alignment, no need to use Eigen's allocator:
 std::map< int, Vector3f > my_map_vec3;
See also:
TopicStlContainers.

Definition at line 673 of file Core/util/Memory.h.


Member Typedef Documentation

template<class T >
typedef const T* Eigen::aligned_allocator< T >::const_pointer

Definition at line 679 of file Core/util/Memory.h.

template<class T >
typedef const T& Eigen::aligned_allocator< T >::const_reference

Definition at line 681 of file Core/util/Memory.h.

template<class T >
typedef std::ptrdiff_t Eigen::aligned_allocator< T >::difference_type

Definition at line 677 of file Core/util/Memory.h.

template<class T >
typedef T* Eigen::aligned_allocator< T >::pointer

Definition at line 678 of file Core/util/Memory.h.

template<class T >
typedef T& Eigen::aligned_allocator< T >::reference

Definition at line 680 of file Core/util/Memory.h.

template<class T >
typedef size_t Eigen::aligned_allocator< T >::size_type

Definition at line 676 of file Core/util/Memory.h.

template<class T >
typedef T Eigen::aligned_allocator< T >::value_type

Definition at line 682 of file Core/util/Memory.h.


Constructor & Destructor Documentation

template<class T >
Eigen::aligned_allocator< T >::aligned_allocator ( ) [inline]

Definition at line 700 of file Core/util/Memory.h.

template<class T >
Eigen::aligned_allocator< T >::aligned_allocator ( const aligned_allocator< T > &  ) [inline]

Definition at line 704 of file Core/util/Memory.h.

template<class T >
template<class U >
Eigen::aligned_allocator< T >::aligned_allocator ( const aligned_allocator< U > &  ) [inline]

Definition at line 709 of file Core/util/Memory.h.

template<class T >
Eigen::aligned_allocator< T >::~aligned_allocator ( ) [inline]

Definition at line 713 of file Core/util/Memory.h.


Member Function Documentation

template<class T >
pointer Eigen::aligned_allocator< T >::address ( reference  value) const [inline]

Definition at line 690 of file Core/util/Memory.h.

template<class T >
const_pointer Eigen::aligned_allocator< T >::address ( const_reference  value) const [inline]

Definition at line 695 of file Core/util/Memory.h.

template<class T >
pointer Eigen::aligned_allocator< T >::allocate ( size_type  num,
const void hint = 0 
) [inline]

Definition at line 722 of file Core/util/Memory.h.

template<class T >
void Eigen::aligned_allocator< T >::construct ( pointer  p,
const T value 
) [inline]

Definition at line 729 of file Core/util/Memory.h.

template<class T >
void Eigen::aligned_allocator< T >::deallocate ( pointer  p,
size_type   
) [inline]

Definition at line 739 of file Core/util/Memory.h.

template<class T >
void Eigen::aligned_allocator< T >::destroy ( pointer  p) [inline]

Definition at line 734 of file Core/util/Memory.h.

template<class T >
size_type Eigen::aligned_allocator< T >::max_size ( ) const [inline]

Definition at line 717 of file Core/util/Memory.h.

template<class T >
bool Eigen::aligned_allocator< T >::operator!= ( const aligned_allocator< T > &  ) const [inline]

Definition at line 744 of file Core/util/Memory.h.

template<class T >
bool Eigen::aligned_allocator< T >::operator== ( const aligned_allocator< T > &  ) const [inline]

Definition at line 747 of file Core/util/Memory.h.


The documentation for this class was generated from the following file:


turtlebot_exploration_3d
Author(s): Bona , Shawn
autogenerated on Thu Jun 6 2019 21:00:39