| Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::deadline_timer_service< Time_Type, Time_Traits >:

Public Types | |
| typedef Time_Traits | traits_type |
| The time traits type. | |
| typedef traits_type::time_type | time_type |
| The time type. | |
| typedef traits_type::duration_type | duration_type |
| The duration type. | |
| typedef implementation_defined | implementation_type |
| The implementation type of the deadline timer. | |
Public Member Functions | |
| deadline_timer_service (asio::io_service &io_service) | |
| Construct a new timer service for the specified io_service. | |
| void | shutdown_service () |
| Destroy all user-defined handler objects owned by the service. | |
| void | construct (implementation_type &impl) |
| Construct a new timer implementation. | |
| void | destroy (implementation_type &impl) |
| Destroy a timer implementation. | |
| std::size_t | cancel (implementation_type &impl) |
| Cancel any asynchronous wait operations associated with the timer. | |
| time_type | expires_at (const implementation_type &impl) const |
| Get the expiry time for the timer as an absolute time. | |
| std::size_t | expires_at (implementation_type &impl, const time_type &expiry_time) |
| Set the expiry time for the timer as an absolute time. | |
| duration_type | expires_from_now (const implementation_type &impl) const |
| Get the expiry time for the timer relative to now. | |
| std::size_t | expires_from_now (implementation_type &impl, const duration_type &expiry_time) |
| Set the expiry time for the timer relative to now. | |
| io_service & | owner () |
| Get the io_service object that owns the service. | |
| typedef Time_Traits asio::deadline_timer_service< Time_Type, Time_Traits >::traits_type |
The time traits type.
| typedef traits_type::time_type asio::deadline_timer_service< Time_Type, Time_Traits >::time_type |
The time type.
| typedef traits_type::duration_type asio::deadline_timer_service< Time_Type, Time_Traits >::duration_type |
The duration type.
| typedef implementation_defined asio::deadline_timer_service< Time_Type, Time_Traits >::implementation_type |
The implementation type of the deadline timer.
| asio::deadline_timer_service< Time_Type, Time_Traits >::deadline_timer_service | ( | asio::io_service & | io_service | ) | [explicit] |
Construct a new timer service for the specified io_service.
| void asio::deadline_timer_service< Time_Type, Time_Traits >::shutdown_service | ( | ) | [virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
| void asio::deadline_timer_service< Time_Type, Time_Traits >::construct | ( | implementation_type & | impl | ) |
Construct a new timer implementation.
| void asio::deadline_timer_service< Time_Type, Time_Traits >::destroy | ( | implementation_type & | impl | ) |
Destroy a timer implementation.
| std::size_t asio::deadline_timer_service< Time_Type, Time_Traits >::cancel | ( | implementation_type & | impl | ) |
Cancel any asynchronous wait operations associated with the timer.
| time_type asio::deadline_timer_service< Time_Type, Time_Traits >::expires_at | ( | const implementation_type & | impl | ) | const |
Get the expiry time for the timer as an absolute time.
| std::size_t asio::deadline_timer_service< Time_Type, Time_Traits >::expires_at | ( | implementation_type & | impl, | |
| const time_type & | expiry_time | |||
| ) |
Set the expiry time for the timer as an absolute time.
| duration_type asio::deadline_timer_service< Time_Type, Time_Traits >::expires_from_now | ( | const implementation_type & | impl | ) | const |
Get the expiry time for the timer relative to now.
| std::size_t asio::deadline_timer_service< Time_Type, Time_Traits >::expires_from_now | ( | implementation_type & | impl, | |
| const duration_type & | expiry_time | |||
| ) |
Set the expiry time for the timer relative to now.
| io_service & asio::io_service::service::owner | ( | ) | [inherited] |
Get the io_service object that owns the service.