7 #ifndef _QI_DETAILS_EVENTLOOP_HXX_
8 #define _QI_DETAILS_EVENTLOOP_HXX_
30 template <
typename R,
typename ARG0>
31 inline typename boost::enable_if<
32 boost::is_base_of<Actor, typename detail::Unwrap<ARG0>::type>,
39 template <
typename R,
typename ARG0>
40 inline typename boost::disable_if<
41 boost::is_base_of<Actor, typename detail::Unwrap<ARG0>::type>,
48 template <
typename R,
typename ARG0>
49 inline typename boost::enable_if<
50 boost::is_base_of<Actor, typename detail::Unwrap<ARG0>::type>,
57 template <
typename R,
typename ARG0>
58 inline typename boost::disable_if<
59 boost::is_base_of<Actor, typename detail::Unwrap<ARG0>::type>,
boost::chrono::duration< int64_t, boost::nano > Duration
Convenience typedefs.
void nullConverter(void *, R &)
boost::enable_if< boost::is_base_of< Actor, typename detail::Unwrap< ARG0 >::type >, Future< R > >::type asyncMaybeActor(const ARG0 &arg0, const boost::function< R()> &cb, qi::Duration delay)
EventLoop * getEventLoop()
Return the global eventloop, created on demand on first call.
boost::chrono::duration< int64_t, boost::micro > MicroSeconds
uint64_t uint64_t
Cross-platform unsigned integer of length 64 bits (8 bytes).
Future< R > async(const boost::function< R()> &callback, uint64_t usDelay=0)
Call given function once after given delay in microseconds.
SteadyClock::time_point SteadyClockTimePoint
Steady clock time point.