Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

MqBufferLS Struct Reference
[MqBufferLS API]

the object to manage an array of MqBufferS items. More...

#include <bufferL.h>

List of all members.

Public Attributes

MqErrorSP error
 link to the MqErrorS object
MQ_SIZE size
 the total allocated size
MQ_SIZE cursize
 the currently used size (e.g. 0 <= cursize <= size)
MqBufferSPdata
 pointer to the allocated memory (fixed position)
MqBufferSPcur
 pointer to the current position (e.g. data <= cur <= data+cursize, floating position)


Detailed Description

the object to manage an array of MqBufferS items.

every MqBufferLS is able to store a infinite number of MqBufferS objects using dynamic allocation. the MqBufferS objects are stored in a flat array of MqBufferS object pointers. to access an object only the data or the cur member is used (e.g. data[index]). in difference to the data member the cur member has a floating position to implement an increment/decrement like behaviour

Definition at line 36 of file bufferL.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 23 16:13:06 2004 for libFreiburg by  doxygen 1.3.8-20040928