terimber_aiofile_callback Class Reference
#include <aiofilefactory.h>
List of all members.
|
Public Member Functions |
virtual | ~terimber_aiofile_callback () |
| destructor
|
virtual void | v_on_error (size_t handle, int err, aiofile_type type, void *userdata)=0 |
| port will call function after error occured
|
virtual void | v_on_write (size_t handle, void *buf, size_t requested, size_t processed, void *userdata)=0 |
| port will call function after successfully sending buffer to file
|
virtual void | v_on_read (size_t handle, void *buf, size_t requested, size_t processed, void *userdata)=0 |
| port will call function after successfully receiving buffer from file
|
Detailed Description
Definition at line 44 of file aiofilefactory.h.
Constructor & Destructor Documentation
virtual terimber_aiofile_callback::~terimber_aiofile_callback |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual void terimber_aiofile_callback::v_on_error |
( |
size_t |
handle, |
|
|
int |
err, |
|
|
aiofile_type |
type, |
|
|
void * |
userdata | |
|
) |
| | [pure virtual] |
virtual void terimber_aiofile_callback::v_on_write |
( |
size_t |
handle, |
|
|
void * |
buf, |
|
|
size_t |
requested, |
|
|
size_t |
processed, |
|
|
void * |
userdata | |
|
) |
| | [pure virtual] |
port will call function after successfully sending buffer to file
- Parameters:
-
handle |
file ident |
buf |
buffer |
requested |
requested bytes to write |
processed |
actual bytes processed |
userdata |
user defined data |
Referenced by aiofile::v_do_job().
virtual void terimber_aiofile_callback::v_on_read |
( |
size_t |
handle, |
|
|
void * |
buf, |
|
|
size_t |
requested, |
|
|
size_t |
processed, |
|
|
void * |
userdata | |
|
) |
| | [pure virtual] |
port will call function after successfully receiving buffer from file
- Parameters:
-
handle |
file ident |
buf |
buffer |
requested |
requested bytes to read |
processed |
actual bytes processed |
userdata |
user defined data |
Referenced by aiofile::v_do_job().
The documentation for this class was generated from the following file: