Edinburgh Speech Tools  2.1-release
EST_TBuffer.h File Reference
#include "EST_bool.h"
Include dependency graph for EST_TBuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  old_tbuffer
 
class  EST_TBuffer< T >
 Extending buffer class. More...
 
#define TBUFFER_N_OLD   (10)
 How many chunks of memory to keep around for re-use. More...
 
#define TBUFFER_DEFAULT_SIZE   0
 Initial size for buffers created with no size specified. More...
 
#define TBUFFER_DEFAULT_STEP   100
 Amount to increment buffer size by. More...
 
struct old_tbuffer EST_old_buffers [TBUFFER_N_OLD]
 Memory of old buffers. More...
 

Detailed Description

Extending buffers, ie arrays which grow as needed. I got fed up of writing equivalent code all over the place.

See also
EST_TBuffer
Author
Richard Caley rjc@c.nosp@m.str..nosp@m.ed.ac.nosp@m..uk
Version
Id
EST_TBuffer.h,v 1.4 2004/09/29 08:24:17 robert Exp

Definition in file EST_TBuffer.h.

Macro Definition Documentation

#define TBUFFER_N_OLD   (10)

How many chunks of memory to keep around for re-use.

Definition at line 49 of file EST_TBuffer.h.

#define TBUFFER_DEFAULT_SIZE   0

Initial size for buffers created with no size specified.

Definition at line 52 of file EST_TBuffer.h.

#define TBUFFER_DEFAULT_STEP   100

Amount to increment buffer size by.

Definition at line 55 of file EST_TBuffer.h.

Variable Documentation

struct old_tbuffer EST_old_buffers[TBUFFER_N_OLD]

Memory of old buffers.

Definition at line 42 of file tbuffer_t.cc.