|
| EventLoop * | qi::getEventLoop () |
| | Return the global eventloop, created on demand on first call. More...
|
| |
| template<typename F > |
| auto | qi::detail::asyncMaybeActor (F &&cb, qi::Duration delay) -> typename std::enable_if< detail::IsAsyncBind< F >::value, typename std::decay< decltype(cb())>::type >::type |
| |
| template<typename F > |
| auto | qi::detail::asyncMaybeActor (F &&cb, qi::SteadyClockTimePoint timepoint) -> typename std::enable_if< detail::IsAsyncBind< F >::value, typename std::decay< decltype(cb())>::type >::type |
| |
| template<typename R > |
| Future< R > | qi::async (boost::function< R()> callback, uint64_t usDelay) |
| |
| template<typename R > |
| Future< R > | qi::async (boost::function< R()> callback, qi::Duration delay) |
| |
| template<typename R > |
| Future< R > | qi::async (boost::function< R()> callback, qi::SteadyClockTimePoint timepoint) |
| |
| template<typename R > |
| Future< R > | qi::async (detail::Function< R()> callback) |
| |
| template<typename F > |
| auto | qi::asyncDelay (F &&callback, qi::Duration delay) -> decltype(detail::asyncMaybeActor(std::forward< F >(callback), delay)) |
| |
| template<typename F > |
| auto | qi::asyncAt (F &&callback, qi::SteadyClockTimePoint timepoint) -> decltype(qi::getEventLoop() ->asyncAt(std::forward< F >(callback), timepoint)) |
| |
| template<typename F > |
| auto | qi::async (F &&callback) -> decltype(asyncDelay(std::forward< F >(callback), qi::Duration(0))) |
| |
| template<typename R , typename Func , typename ArgTrack > |
| QI_API_DEPRECATED qi::Future< R > | qi::async (const Func &f, const ArgTrack &toTrack,...) |
| |
| void | qi::startEventLoop (int nthread) |
| | Start the eventloop with nthread threads. No-op if already started. More...
|
| |
| boost::asio::io_service & | qi::getIoService () |
| | Get the io_service used by the global event loop. More...
|
| |