#include <lsmp_int.hh>
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. | |
| LSMP_BufferQ::LSMP_BufferQ | ( | ) | [inline] |
Buffer queue constructor.
| 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.
1.5.4