|
STXXL
1.4.0
|
Completion handler class (Loki-style).
In some situations one needs to execute some actions after completion of an I/O request. In these cases one can use an I/O completion handler - a function object that can be passed as a parameter to asynchronous I/O calls stxxl::file::aread and stxxl::file::awrite .
Definition at line 62 of file completion_handler.h.
Collaboration diagram for stxxl::completion_handler:Public Member Functions | |
| completion_handler () | |
| completion_handler (const completion_handler &obj) | |
| template<typename handler_type > | |
| completion_handler (const handler_type &handler__) | |
| void | operator() (request *req) |
| completion_handler & | operator= (const completion_handler &obj) |
Private Attributes | |
| compat_unique_ptr < completion_handler_impl > ::result | sp_impl_ |
|
inline |
Definition at line 67 of file completion_handler.h.
|
inline |
Definition at line 71 of file completion_handler.h.
|
inline |
Definition at line 76 of file completion_handler.h.
|
inline |
Definition at line 85 of file completion_handler.h.
|
inline |
Definition at line 80 of file completion_handler.h.
References sp_impl_.
|
private |
Definition at line 64 of file completion_handler.h.
Referenced by operator=().