LSMP_BufferQ Class Reference
[Shared memory buffering]

#include <lsmp_int.hh>

List of all members.

Public Member Functions

 LSMP_BufferQ ()
void init ()
bool empty ()
int length (LSMP_buffer *buf) const
void link (LSMP_buffer *buf, int ib)
int remove (LSMP_buffer *buf)
int remove (LSMP_buffer *buf, int ib)

Public Attributes

int head
 Index of the first buffer in the queue.
int tail
 Index of the last buffer in the queue.


Detailed Description

Ligo share memory buffer queue class contains an ordered list of buffers.
Author:
John Zweizig
Version:
2.0; Last Modified March 3, 2008

Constructor & Destructor Documentation

LSMP_BufferQ::LSMP_BufferQ (  )  [inline]

Buffer queue constructor.


Member Function Documentation

void LSMP_BufferQ::init (  )  [inline]

Initialize the buffer queue.

bool LSMP_BufferQ::empty ( void   )  [inline]

Test if the buffer queue is empty.

int LSMP_BufferQ::length ( LSMP_buffer buf  )  const [inline]

Get the length of the buffer queue.

void LSMP_BufferQ::link ( LSMP_buffer buf,
int  ib 
) [inline]

link the Specified buffer to the end of the list.

int LSMP_BufferQ::remove ( LSMP_buffer buf  )  [inline]

Remove the first buffer from the buffer list.

int LSMP_BufferQ::remove ( LSMP_buffer buf,
int  ib 
) [inline]

Remove the specified buffer from the buffer list.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:10 2009 for dmt by  doxygen 1.5.4