12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef ASIO_DETAIL_SCHEDULER_TASK_HPP
- #define ASIO_DETAIL_SCHEDULER_TASK_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include "asio/detail/op_queue.hpp"
- #include "asio/detail/push_options.hpp"
- namespace asio {
- namespace detail {
- class scheduler_operation;
- class scheduler_task
- {
- public:
-
- virtual void run(long usec, op_queue<scheduler_operation>& ops) = 0;
-
- virtual void interrupt() = 0;
- protected:
-
- ~scheduler_task()
- {
- }
- };
- }
- }
- #include "asio/detail/pop_options.hpp"
- #endif
|