![]() |
Default service implementation for a timer.
template< typename Clock, typename WaitTraits = asio::wait_traits<Clock>> class waitable_timer_service : public io_service::service
|
Name |
Description |
|---|---|
|
The clock type. |
|
|
The duration type of the clock. |
|
|
The implementation type of the waitable timer. |
|
|
The time point type of the clock. |
|
|
The wait traits type. |
|
Name |
Description |
|---|---|
|
Cancel any asynchronous wait operations associated with the timer. |
|
|
Cancels one asynchronous wait operation associated with the timer. |
|
|
Construct a new timer implementation. |
|
|
Destroy a timer implementation. |
|
|
Get the expiry time for the timer as an absolute time. Set the expiry time for the timer as an absolute time. |
|
|
Get the expiry time for the timer relative to now. Set the expiry time for the timer relative to now. |
|
|
Get the io_service object that owns the service. |
|
|
Construct a new timer service for the specified io_service. |
|
Name |
Description |
|---|---|
|
The unique service identifier. |
Header: asio/waitable_timer_service.hpp
Convenience header: asio.hpp