...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Default service implementation for a timer.
template< typename TimeType, typename TimeTraits = boost::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. |
|
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. |
|
(Deprecated: use get_io_service().) Get the io_service object that owns the service. |
|
Destroy all user-defined handler objects owned by the service. |
|
|
Name |
Description |
---|---|
The unique service identifier. |