Basically a wrapper around a POSIX "struct aiocb" with info for resuming the calling Grappa thread. More...
#include <FileIO.hpp>
Public Member Functions | |
IODescriptor (int file_desc=0, size_t file_offset=0, void *buffer=NULL, size_t bufsize=0) | |
void | file (int file_desc) |
void | buf (void *buf, size_t nbytes) |
volatile void * | buf () |
size_t | nbytes () |
template<typename T > | |
size_t | nelems () |
void | offset (size_t of) |
struct aiocb * | desc_ptr () |
void | block_on_read () |
void | handle_completion () |
Public Attributes | |
bool | complete |
ConditionVariable | cv |
struct aiocb | ac |
IODescriptor * | nextCompleted |
Basically a wrapper around a POSIX "struct aiocb" with info for resuming the calling Grappa thread.
Definition at line 121 of file FileIO.hpp.