sofa::defaulttype::ExtVectorAllocator< T > Class Template Reference

Custom vector allocator class allowing data to be allocated at a specific location (such as for transmission through DMA, PCI-Express, Shared Memory, Network). More...

#include <VecTypes.h>

Inheritance diagram for sofa::defaulttype::ExtVectorAllocator< T >:

Inheritance graph
[legend]

Public Types

typedef T value_type
typedef unsigned int size_type

Public Member Functions

virtual ~ExtVectorAllocator ()
virtual void resize (value_type *&data, size_type size, size_type &maxsize, size_type &cursize)=0
virtual void close (value_type *data)=0

Detailed Description

template<class T>
class sofa::defaulttype::ExtVectorAllocator< T >

Custom vector allocator class allowing data to be allocated at a specific location (such as for transmission through DMA, PCI-Express, Shared Memory, Network).

Definition at line 127 of file VecTypes.h.


Member Typedef Documentation

template<class T >
typedef unsigned int sofa::defaulttype::ExtVectorAllocator< T >::size_type

template<class T >
typedef T sofa::defaulttype::ExtVectorAllocator< T >::value_type


Constructor & Destructor Documentation

template<class T >
virtual sofa::defaulttype::ExtVectorAllocator< T >::~ExtVectorAllocator (  )  [inline, virtual]

Definition at line 132 of file VecTypes.h.


Member Function Documentation

template<class T >
virtual void sofa::defaulttype::ExtVectorAllocator< T >::close ( value_type *  data  )  [pure virtual]

template<class T >
virtual void sofa::defaulttype::ExtVectorAllocator< T >::resize ( value_type *&  data,
size_type  size,
size_type &  maxsize,
size_type &  cursize 
) [pure virtual]


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

Generated on Sun Nov 23 04:23:55 2008 for Sofa by  doxygen 1.5.7.1