Default service implementation for a timer.
template< typename TimeType, typename TimeTraits = asio::time_traits<TimeType>> class deadline_timer_service : public io_service::service
Name |
Description |
---|---|
The duration type. |
|
The implementation type of the deadline timer. |
|
The time type. |
|
The time 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. |
|
Construct a new timer service for the specified io_service. |
|
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. |
|
Name |
Description |
---|---|
The unique service identifier. |
Header: asio/deadline_timer_service.hpp
Convenience header: asio.hpp