LosaDev source snapshot 2019

This commit is contained in:
LosaDev committed 2026-11-07 13:30:45 +07:00
commit c198676e97
20588 files changed
+8812878

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
#pragma once
#include "cIocpOv.h"
class cDoubleOV
{
public:
cDoubleOV(void);
~cDoubleOV(void);
void Init();
void Destroy();
public:
void Reset();
uint32 GetDataLength();
uint32 GetBufferLength();
BOOL IsSending();
void Alloc(const uint32 bufferLength);
void CopyBuffer(const uint8* buffer, const uint32 bufferLength);
BOOL AppendBuffer(const uint8* buffer, const uint32 bufferLength);
BOOL Appendable(const uint32 bufferLength);
cIocpOv* Pop();
void Push(cIocpOv* iocpOvl);
protected:
uint32 GetIterator();
protected:
cIocpOv m_iocpOV[2];
uint32 m_iterator;
volatile uint32 m_sending;
};