asio C++ library

PrevUpHomeNext

basic_waitable_timer::basic_waitable_timer

Constructor.

explicit basic_waitable_timer(
    const executor_type & ex);
  » more...

template<
    typename ExecutionContext>
explicit basic_waitable_timer(
    ExecutionContext & context,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);
  » more...

Constructor to set a particular expiry time as an absolute time.

basic_waitable_timer(
    const executor_type & ex,
    const time_point & expiry_time);
  » more...

template<
    typename ExecutionContext>
explicit basic_waitable_timer(
    ExecutionContext & context,
    const time_point & expiry_time,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);
  » more...

Constructor to set a particular expiry time relative to now.

basic_waitable_timer(
    const executor_type & ex,
    const duration & expiry_time);
  » more...

template<
    typename ExecutionContext>
explicit basic_waitable_timer(
    ExecutionContext & context,
    const duration & expiry_time,
    typename enable_if< is_convertible< ExecutionContext &, execution_context & >::value >::type *  = 0);
  » more...

Move-construct a basic_waitable_timer from another.

basic_waitable_timer(
    basic_waitable_timer && other);
  » more...

PrevUpHomeNext