#include <collide_buffers.h>
Public Member Functions | |
growableBufferT () | |
growableBufferT (size_t Len) | |
int | length (void) const |
int | size (void) const |
int & | length (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 |
Definition at line 70 of file collide_buffers.h.
typedef bufferT<T> growableBufferT< T >::super [private] |
Definition at line 71 of file collide_buffers.h.
anonymous enum [private] |
growableBufferT< T >::growableBufferT | ( | const growableBufferT< T > & | in | ) | [private] |
growableBufferT< T >::growableBufferT | ( | ) | [inline] |
growableBufferT< T >::growableBufferT | ( | size_t | Len | ) | [inline] |
growableBufferT<T>& growableBufferT< T >::operator= | ( | const growableBufferT< T > & | in | ) | [private] |
int growableBufferT< T >::length | ( | void | ) | const [inline] |
Reimplemented from bufferT< T >.
Definition at line 82 of file collide_buffers.h.
Referenced by collideVoxel::collide(), serialCollideClient::collisions(), CollideOctant::divide(), collideVoxel::emptyMessages(), collideVoxel::pup(), growableBufferT< CollideObjRec >::push_back(), growableBufferT< CollideObjRec >::push_fast(), voxelAggregator::send(), and collideVoxel::startCollision().
int growableBufferT< T >::size | ( | void | ) | const [inline] |
Definition at line 83 of file collide_buffers.h.
Referenced by threadCollideMgr::collisions(), and listToMessage().
int& growableBufferT< T >::length | ( | void | ) | [inline] |
Definition at line 84 of file collide_buffers.h.
int growableBufferT< T >::capacity | ( | void | ) | const [inline] |
Definition at line 85 of file collide_buffers.h.
T* growableBufferT< T >::detachBuffer | ( | void | ) | [inline] |
Definition at line 87 of file collide_buffers.h.
Referenced by listToMessage(), and voxelAggregator::send().
void growableBufferT< T >::empty | ( | void | ) | [inline] |
Definition at line 94 of file collide_buffers.h.
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().
void growableBufferT< T >::push_fast | ( | const T & | v | ) | [inline] |
Definition at line 100 of file collide_buffers.h.
Referenced by collideVoxel::collide().
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().
void growableBufferT< T >::atLeast | ( | int | min | ) | [inline] |
Definition at line 115 of file collide_buffers.h.
Referenced by growableBufferT< CollideObjRec >::grow().
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().
void growableBufferT< T >::reallocate | ( | int | Len | ) | [inline] |
Definition at line 123 of file collide_buffers.h.
Referenced by growableBufferT< CollideObjRec >::empty().
memoryBuffer growableBufferT< T >::buf [private] |
Definition at line 73 of file collide_buffers.h.
int growableBufferT< T >::max [private] |
Definition at line 74 of file collide_buffers.h.