Grappa  r3821, hash 22cd626d567a91ead5b23302066d1e9469f45c66
Grappa::IODescriptor Struct Reference

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
 
IODescriptornextCompleted
 

Detailed Description

Basically a wrapper around a POSIX "struct aiocb" with info for resuming the calling Grappa thread.

Definition at line 132 of file FileIO.hpp.


The documentation for this struct was generated from the following file: