#include <deadline_timer_service.hpp>
Classes | |
struct | implementation_type |
class | wait_handler |
Public Types | |
typedef Time_Traits::duration_type | duration_type |
typedef Time_Traits::time_type | time_type |
Public Member Functions | |
template<typename Handler > | |
void | async_wait (implementation_type &impl, Handler handler) |
std::size_t | cancel (implementation_type &impl, asio::error_code &ec) |
void | construct (implementation_type &impl) |
deadline_timer_service (asio::io_service &io_service) | |
void | destroy (implementation_type &impl) |
time_type | expires_at (const implementation_type &impl) const |
std::size_t | expires_at (implementation_type &impl, const time_type &expiry_time, asio::error_code &ec) |
duration_type | expires_from_now (const implementation_type &impl) const |
std::size_t | expires_from_now (implementation_type &impl, const duration_type &expiry_time, asio::error_code &ec) |
void | shutdown_service () |
Destroy all user-defined handler objects owned by the service. | |
void | wait (implementation_type &impl, asio::error_code &ec) |
~deadline_timer_service () | |
Private Attributes | |
Timer_Scheduler & | scheduler_ |
timer_queue< Time_Traits > | timer_queue_ |
Definition at line 40 of file detail/deadline_timer_service.hpp.
typedef Time_Traits::duration_type asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::duration_type |
Definition at line 49 of file detail/deadline_timer_service.hpp.
typedef Time_Traits::time_type asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::time_type |
Definition at line 46 of file detail/deadline_timer_service.hpp.
asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::deadline_timer_service | ( | asio::io_service & | io_service | ) | [inline] |
Definition at line 61 of file detail/deadline_timer_service.hpp.
asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::~deadline_timer_service | ( | ) | [inline] |
Definition at line 70 of file detail/deadline_timer_service.hpp.
void asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::async_wait | ( | implementation_type & | impl, |
Handler | handler | ||
) | [inline] |
Definition at line 180 of file detail/deadline_timer_service.hpp.
std::size_t asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::cancel | ( | implementation_type & | impl, |
asio::error_code & | ec | ||
) | [inline] |
Definition at line 95 of file detail/deadline_timer_service.hpp.
void asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::construct | ( | implementation_type & | impl | ) | [inline] |
Definition at line 81 of file detail/deadline_timer_service.hpp.
void asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::destroy | ( | implementation_type & | impl | ) | [inline] |
Definition at line 88 of file detail/deadline_timer_service.hpp.
time_type asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::expires_at | ( | const implementation_type & | impl | ) | const [inline] |
Definition at line 109 of file detail/deadline_timer_service.hpp.
std::size_t asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::expires_at | ( | implementation_type & | impl, |
const time_type & | expiry_time, | ||
asio::error_code & | ec | ||
) | [inline] |
Definition at line 115 of file detail/deadline_timer_service.hpp.
duration_type asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::expires_from_now | ( | const implementation_type & | impl | ) | const [inline] |
Definition at line 125 of file detail/deadline_timer_service.hpp.
std::size_t asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::expires_from_now | ( | implementation_type & | impl, |
const duration_type & | expiry_time, | ||
asio::error_code & | ec | ||
) | [inline] |
Definition at line 131 of file detail/deadline_timer_service.hpp.
void asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::shutdown_service | ( | ) | [inline, virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
Definition at line 76 of file detail/deadline_timer_service.hpp.
void asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::wait | ( | implementation_type & | impl, |
asio::error_code & | ec | ||
) | [inline] |
Definition at line 139 of file detail/deadline_timer_service.hpp.
Timer_Scheduler& asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::scheduler_ [private] |
Definition at line 192 of file detail/deadline_timer_service.hpp.
timer_queue<Time_Traits> asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >::timer_queue_ [private] |
Definition at line 189 of file detail/deadline_timer_service.hpp.