16 #ifndef STXXL_IO_COMPLETION_HANDLER_HEADER
17 #define STXXL_IO_COMPLETION_HANDLER_HEADER
30 virtual void operator () (
request*) = 0;
35 template <
typename HandlerType>
73 : m_ptr(obj.m_ptr.get() ? obj.m_ptr.get()->clone() : NULL)
77 template <
typename HandlerType>
85 m_ptr.reset(obj.
m_ptr.get() ? obj.
m_ptr.get()->clone() : NULL);
99 #endif // !STXXL_IO_COMPLETION_HANDLER_HEADER
completion_handler(const HandlerType &handler)
Construct a completion handler which calls some function.
Completion handler class (Loki-style).
completion_handler1 * clone() const
completion_handler(const completion_handler &obj)
Copy constructor.
completion_handler1(const HandlerType &handler)
compat_unique_ptr< completion_handler_impl >::result m_ptr
std::auto_ptr< Type > result
#define STXXL_BEGIN_NAMESPACE
completion_handler()
Construct default, no operation completion handler.
Request object encapsulating basic properties like file and offset.
#define STXXL_END_NAMESPACE
virtual ~completion_handler_impl()