Fulguro Logo Support This Project

Dynamic Size Fifo
[Data tools]


Detailed Description

Basic tools for manipulating Dynamic Size Fifo.


Data Structures

struct  FLGR_Fifo
struct  FLGR_FifoLink

Functions

FLGR_Fifoflgr_fifo_create (void)
static __inline__ void flgr_fifo_del_current (FLGR_Fifo *fifo)
void flgr_fifo_destroy (FLGR_Fifo *fifo)
void flgr_fifo_flush (FLGR_Fifo *fifo)
static __inline__ void flgr_fifo_get_current (FLGR_Fifo *fifo, int *z, int *y, int *x)
int flgr_fifo_get_size (FLGR_Fifo *fifo)
void flgr_fifo_init (FLGR_Fifo *fifo)
static __inline__ void flgr_fifo_pop (FLGR_Fifo *fifo, int *z, int *y, int *x)
static __inline__ void flgr_fifo_push (FLGR_Fifo *fifo, int z, int y, int x)


Function Documentation

EXPORT_LIB FLGR_Fifo * flgr_fifo_create ( void   ) 

Create a fifo

Returns:
FLGR_Fifo pointer

Definition at line 41 of file flgrDataToolsFifo.c.

static __inline__ void flgr_fifo_del_current ( FLGR_Fifo fifo  )  [static]

Remove current output link

Parameters:
fifo : FLGR_Fifo pointer
Returns:
nothing

Definition at line 113 of file flgrDataToolsFifo.h.

EXPORT_LIB void flgr_fifo_destroy ( FLGR_Fifo fifo  ) 

Destroy a fifo

Parameters:
fifo : FLGR_Fifo pointer
Returns:
nothing

Definition at line 59 of file flgrDataToolsFifo.c.

EXPORT_LIB void flgr_fifo_flush ( FLGR_Fifo fifo  ) 

Purge a fifo

Parameters:
fifo : FLGR_Fifo pointer
Returns:
nothing

Definition at line 53 of file flgrDataToolsFifo.c.

static __inline__ void flgr_fifo_get_current ( FLGR_Fifo fifo,
int *  z,
int *  y,
int *  x 
) [static]

Get the current output link without removing it

Parameters:
fifo : FLGR_Fifo pointer
*z : pointer to interger value for z-axis
*y : pointer to interger value for y-axis
*x : pointer to interger value for x-axis
Returns:
nothing

Definition at line 141 of file flgrDataToolsFifo.h.

EXPORT_LIB int flgr_fifo_get_size ( FLGR_Fifo fifo  ) 

Get fifo size

Parameters:
fifo : FLGR_Fifo pointer
Returns:
nothing

Definition at line 49 of file flgrDataToolsFifo.c.

EXPORT_LIB void flgr_fifo_init ( FLGR_Fifo fifo  ) 

Initialize fifo

Parameters:
fifo : FLGR_Fifo pointer
Returns:
nothing

Definition at line 34 of file flgrDataToolsFifo.c.

static __inline__ void flgr_fifo_pop ( FLGR_Fifo fifo,
int *  z,
int *  y,
int *  x 
) [static]

Pop values (get the current value and remove it)

Parameters:
fifo : FLGR_Fifo pointer
*z : pointer to z data
*y : pointer to y data
*x : pointer to x data
Returns:
nothing

Definition at line 187 of file flgrDataToolsFifo.h.

static __inline__ void flgr_fifo_push ( FLGR_Fifo fifo,
int  z,
int  y,
int  x 
) [static]

Push values

Parameters:
fifo : FLGR_Fifo pointer
z : z data
y : y data
x : x data
Returns:
nothing

Definition at line 158 of file flgrDataToolsFifo.h.


SourceForge.net Logo
Generated on Tue Nov 11 19:17:28 2008 for Fulguro by doxygen 1.5.6