|
| | Timer (io_poll_t *poll, ev_exec_t *exec, clockid_t clockid) |
| |
| | ~Timer () |
| |
| Clock | get_clock () const noexcept |
| |
| int | getoverrun (::std::error_code &ec) const noexcept |
| |
| int | getoverrun () const |
| |
| ::std::pair< duration, duration > | gettime (::std::error_code &ec) const noexcept |
| |
| ::std::pair< duration, duration > | gettime () const |
| |
| ::std::pair< duration, duration > | settime (const duration &expiry, const duration &period, ::std::error_code &ec) noexcept |
| |
| ::std::pair< duration, duration > | settime (const duration &expiry, const duration &period={}) |
| |
| ::std::pair< duration, duration > | settime (const time_point &expiry, const duration &period, ::std::error_code &ec) noexcept |
| |
| ::std::pair< duration, duration > | settime (const time_point &expiry, const duration &period={}) |
| |
| void | submit_wait (io_timer_wait &wait) noexcept |
| |
| template<class F > |
| void | submit_wait (ev_exec_t *exec, F &&f) |
| |
| template<class F > |
| typename::std::enable_if<!::std::is_base_of< io_timer_wait, typename::std::decay< F >::type >::value >::type | submit_wait (F &&f) |
| |
| bool | cancel_wait (struct io_timer_wait &wait) noexcept |
| |
| bool | abort_wait (struct io_timer_wait &wait) noexcept |
| |
| ev::Future< int, int > | async_wait (ev_exec_t *exec, struct io_timer_wait **pwait=nullptr) |
| |
| ev::Future< int, int > | async_wait (struct io_timer_wait **pwait=nullptr) |
| |
| ContextBase | get_ctx () const noexcept |
| |
| ev::Executor | get_executor () const noexcept |
| |
| bool | cancel (ev_task &task) noexcept |
| |
| ::std::size_t | cancel_all () noexcept |
| |
| bool | abort (ev_task &task) noexcept |
| |
| ::std::size_t | abort_all () noexcept |
| |
An I/O system timer.
Definition at line 36 of file timer.hpp.