#include <UT_ThreadedIO.h>
IO tasks should be subclassed from this. Your destructor will be called on the io thread!
Definition at line 71 of file UT_ThreadedIO.h.
UT_ThreadedIOTask::UT_ThreadedIOTask |
( |
| ) |
|
|
inline |
virtual UT_ThreadedIOTask::~UT_ThreadedIOTask |
( |
| ) |
|
|
inlinevirtual |
virtual void UT_ThreadedIOTask::doWrite |
( |
| ) |
|
|
pure virtual |
This is invoked when it is your turn to write. when you exit from this, your task will be destructed.
virtual exint UT_ThreadedIOTask::memoryEstimate |
( |
| ) |
const |
|
pure virtual |
A rough estimate of the number of bytes of RAM are lost by waiting for this task to finish. This avoids us spooling up too much and swapping.
The documentation for this class was generated from the following file: