Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Private Attributes | List of all members
PreallocatedMemoryHelper< N > Class Template Reference
Collaboration diagram for PreallocatedMemoryHelper< N >:
Collaboration graph
[legend]

Classes

struct  Chunk
 

Public Member Functions

 PreallocatedMemoryHelper ()
 
void addChunk (void **ptr, size_t sz)
 
size_t getSizeToAllocate () const
 
void setChunkPointers (void *mem) const
 

Private Attributes

Chunk m_chunks [N]
 
int m_numChunks
 

Detailed Description

template<int N>
class PreallocatedMemoryHelper< N >

Definition at line 640 of file btBatchedConstraints.cpp.

Constructor & Destructor Documentation

template<int N>
PreallocatedMemoryHelper< N >::PreallocatedMemoryHelper ( )
inline

Definition at line 650 of file btBatchedConstraints.cpp.

Member Function Documentation

template<int N>
void PreallocatedMemoryHelper< N >::addChunk ( void **  ptr,
size_t  sz 
)
inline

Definition at line 651 of file btBatchedConstraints.cpp.

template<int N>
size_t PreallocatedMemoryHelper< N >::getSizeToAllocate ( ) const
inline

Definition at line 662 of file btBatchedConstraints.cpp.

template<int N>
void PreallocatedMemoryHelper< N >::setChunkPointers ( void *  mem) const
inline

Definition at line 671 of file btBatchedConstraints.cpp.

Member Data Documentation

template<int N>
Chunk PreallocatedMemoryHelper< N >::m_chunks[N]
private

Definition at line 647 of file btBatchedConstraints.cpp.

template<int N>
int PreallocatedMemoryHelper< N >::m_numChunks
private

Definition at line 648 of file btBatchedConstraints.cpp.


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