| Home | Libraries | People | FAQ | More

#### 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,
        constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 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,
        constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 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,
        constraint_t< is_convertible< ExecutionContext &, execution_context & >::value >  = 0);
      » more...

Move-construct a `basic_waitable_timer` from another.

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

    template<
        typename Executor1>
    basic_waitable_timer(
        basic_waitable_timer< Clock, WaitTraits, Executor1 > && other,
        constraint_t< is_convertible< Executor1, Executor >::value >  = 0);
      » more...