FreeWRL/FreeX3D  3.0.0
Pool Class Reference

Public Member Functions

 Pool (int, int, const char *)
 
void * new_buffer (void)
 
void free_buffer (void *)
 
void clear (void)
 

Protected Types

enum  Magic { is_allocated = 0xf3a1, is_free = 0xf1a2 }
 

Protected Attributes

Bufferfreelist
 
char * blocklist [NBLOCKS]
 
int nextblock
 
char * curblock
 
int buffersize
 
int nextsize
 
int nextfree
 
int initsize
 
const char * name
 
Magic magic
 

Detailed Description

Definition at line 50 of file bufpool.h.


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