11 #ifndef ASIO_DETAIL_REACTOR_OP_HPP 12 #define ASIO_DETAIL_REACTOR_OP_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 #include "asio/detail/config.hpp" 19 #include "asio/detail/operation.hpp" 21 #include "asio/detail/push_options.hpp" 34 std::size_t bytes_transferred_;
38 enum status { not_done, done, done_and_exhausted };
43 return perform_func_(
this);
47 typedef status (*perform_func_type)(
reactor_op*);
50 perform_func_type perform_func, func_type complete_func)
51 : operation(complete_func),
53 bytes_transferred_(0),
54 perform_func_(perform_func)
59 perform_func_type perform_func_;
65 #include "asio/detail/pop_options.hpp" 67 #endif // ASIO_DETAIL_REACTOR_OP_HPP
Class to represent an error code value.
Definition: error_code.hpp:80
Definition: reactor_op.hpp:26
Definition: any_io_executor.hpp:28