7 #ifndef _QI_DETAILS_EVENTLOOP_HXX_
8 #define _QI_DETAILS_EVENTLOOP_HXX_
18 class DelayedPromise:
public Promise<T>
34 catch (
const std::exception& e)
53 detail::DelayedPromise<R> promise;
55 promise.setup(
boost::bind(&detail::futureCancelAdapter<void>,
58 return promise.future();
uint64_t uint64_t
Cross-platform unsigned integer of length 64 bits (8 bytes).
FutureState wait(int msecs=FutureTimeout_Infinite) const
void call_and_set(qi::Promise< R > p, boost::function< R()> f)
void connect(const AF &fun, FutureCallbackType type=FutureCallbackType_Async)
void check_canceled(qi::Future< void > f, qi::Promise< R > p)
boost::shared_ptr< detail::FutureBaseTyped< T > > impl()
void setError(const std::string &msg)
void nullConverter(void *, R &)
boost::function< RF > bind(const AF &fun,...)
void setValue(const ValueType &value)
void setup(boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async)
Future< R > async(boost::function< R()> callback, uint64_t usDelay=0)