23 #ifndef __ccxx_AsyncIOTask_hxx 24 #define __ccxx_AsyncIOTask_hxx 110 size_t getBytesTransferred();
119 void _collectResult();
121 inline void setPending(
bool pending)
122 { _pending = pending; }
127 #if defined(CCXX_OS_WINDOWS) 128 inline LPOVERLAPPED getControlBlock()
129 {
return(&_overlapped); }
130 #elif !defined(CCXX_OS_ANDROID) 131 inline struct aiocb *getControlBlock()
140 #if defined(CCXX_OS_WINDOWS) 142 mutable OVERLAPPED _overlapped;
143 #elif !defined(CCXX_OS_ANDROID) 144 mutable struct aiocb* _aiocb;
150 #endif // __ccxx_AsyncIOTask_hxx
An unbuffered I/O stream.
Definition: Stream.h++:60
A class that polls a set of AsyncIOTask objects.
Definition: AsyncIOPoller.h++:35
int FileHandle
Definition: Common.h++:225
#define COMMONCPP_API
Definition: Common.h++:126
A buffer for storing a contiguous sequence of elements.
Definition: Buffer.h++:44
int timespan_ms_t
A timespan expressed in milliseconds.
Definition: Integers.h++:104
Definition: AllocationMap.c++:25
An object representing an asynchronous I/O operation.
Definition: AsyncIOTask.h++:43
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68