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 an old version of Boost. Click here to view this page for the latest version.
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 constraint< 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 constraint< 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 constraint< 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 constraint< is_convertible< Executor1, Executor >::value >::type  = 0);
  » more...

PrevUpHomeNext