PPL Logo

growableBufferT< T > Class Template Reference

#include <collide_buffers.h>

Inheritance diagram for growableBufferT< T >:

Inheritance graph
[legend]
Collaboration diagram for growableBufferT< T >:

Collaboration graph
[legend]

Public Member Functions

 growableBufferT ()
 growableBufferT (size_t Len)
int length (void) const
int size (void) const
intlength (void)
int capacity (void) const
T * detachBuffer (void)
void empty (void)
void push_back (const T &v)
void push_fast (const T &v)
void grow (int min)
void atLeast (int min)
void resize (int Len)
void reallocate (int Len)

Private Types

enum  { sT = sizeof(T) }
typedef bufferT< T > super

Private Member Functions

 growableBufferT (const growableBufferT< T > &in)
growableBufferT< T > & operator= (const growableBufferT< T > &in)

Private Attributes

memoryBuffer buf
int max

Detailed Description

template<class T>
class growableBufferT< T >

Definition at line 70 of file collide_buffers.h.


Member Typedef Documentation

template<class T>
typedef bufferT<T> growableBufferT< T >::super [private]

Definition at line 71 of file collide_buffers.h.


Member Enumeration Documentation

template<class T>
anonymous enum [private]

Enumerator:
sT 

Definition at line 72 of file collide_buffers.h.


Constructor & Destructor Documentation

template<class T>
growableBufferT< T >::growableBufferT ( const growableBufferT< T > &  in  )  [private]

template<class T>
growableBufferT< T >::growableBufferT (  )  [inline]

template<class T>
growableBufferT< T >::growableBufferT ( size_t  Len  )  [inline]


Member Function Documentation

template<class T>
growableBufferT<T>& growableBufferT< T >::operator= ( const growableBufferT< T > &  in  )  [private]

template<class T>
int growableBufferT< T >::length ( void   )  const [inline]

template<class T>
int growableBufferT< T >::size ( void   )  const [inline]

Definition at line 83 of file collide_buffers.h.

Referenced by threadCollideMgr::collisions(), and listToMessage().

Here is the caller graph for this function:

template<class T>
int& growableBufferT< T >::length ( void   )  [inline]

Definition at line 84 of file collide_buffers.h.

template<class T>
int growableBufferT< T >::capacity ( void   )  const [inline]

Definition at line 85 of file collide_buffers.h.

template<class T>
T* growableBufferT< T >::detachBuffer ( void   )  [inline]

Definition at line 87 of file collide_buffers.h.

Referenced by listToMessage(), and voxelAggregator::send().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::empty ( void   )  [inline]

Definition at line 94 of file collide_buffers.h.

template<class T>
void growableBufferT< T >::push_back ( const T &  v  )  [inline]

Definition at line 95 of file collide_buffers.h.

Referenced by collideVoxel::add(), and threadCollideMgr::sift().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::push_fast ( const T &  v  )  [inline]

Definition at line 100 of file collide_buffers.h.

Referenced by collideVoxel::collide().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::grow ( int  min  )  [inline]

Definition at line 104 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::push_back(), and growableBufferT< CollideObjRec >::push_fast().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::atLeast ( int  min  )  [inline]

Definition at line 115 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::grow().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::resize ( int  Len  )  [inline]

Definition at line 118 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::atLeast(), and growableBufferT< CollideObjRec >::grow().

Here is the caller graph for this function:

template<class T>
void growableBufferT< T >::reallocate ( int  Len  )  [inline]

Definition at line 123 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::empty().

Here is the caller graph for this function:


Field Documentation

template<class T>
memoryBuffer growableBufferT< T >::buf [private]

Definition at line 73 of file collide_buffers.h.

template<class T>
int growableBufferT< T >::max [private]

Definition at line 74 of file collide_buffers.h.


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

Generated on Mon Sep 21 08:25:31 2020 for Charm++ by  doxygen 1.5.5