1 #ifndef __RINGBUFFER_GM_H__
2 #define __RINGBUFFER_GM_H__
18 #include "membuffer.h"
24 inline char * GetMessageHead(
void);
25 inline char * GetBufferOpen(
void);
26 inline void ForceWindowSlide(
void);
27 #define FastGetMessageHead() (_Buffer+_StartPos)
28 #define FastAmountBeffered() (_EndPos - _StartPos)
30 inline bool PutFast(
const char * data,
size_t len);
33 inline size_t AmountBuffered(
void);
34 inline size_t BufferAvailabe(
void);
35 inline void ResetContent(
void);
38 inline void FullCompress(
void);
39 inline void Compress(
void);
40 inline bool Put(
const char * data,
size_t len);
41 inline bool Get(
char * data,
size_t len);
44 #include "ringbuffer.i"
46 #endif //__RINGBUFFER_GM_H__
This is an implemention of the membuffer with ring buffer interface on it....
this a base class designed to be used to for items that will share portions of a memorty buufer and w...