Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 0138a4e60e.
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...

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

PrevUpHomeNext