libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
qi::detail Namespace Reference

Classes

class  DelayedPromise
 
class  FutureBase
 
class  FutureBaseTyped
 
class  LockAndCall
 
struct  BindTransform
 
struct  BindTransform< boost::weak_ptr< T >, false >
 
struct  BindTransform< T *, true >
 
class  TerminateThread
 

Functions

template<typename R >
void call_and_set (qi::Promise< R > p, boost::function< R()> f)
 
template<typename R >
void check_canceled (qi::Future< void > f, qi::Promise< R > p)
 
template<typename T >
void waitForFirstHelper (qi::Promise< qi::Future< T > > &prom, qi::Future< T > &fut, qi::Atomic< int > *count)
 
template<typename FT , typename PT , typename CONV >
void futureAdapter (Future< FT > f, Promise< PT > p, CONV converter)
 
template<typename FT >
void futureCancelAdapter (boost::weak_ptr< FutureBaseTyped< FT > > wf)
 
void throwPointerLockException ()
 
template<typename FT >
void futureCancelAdapter (boost::weak_ptr< detail::FutureBaseTyped< FT > > wf)
 
void addDomainPath (const std::string &path)
 
void removeDomainPath (const std::string &path)
 

Function Documentation

void qi::detail::addDomainPath ( const std::string &  path)
template<typename R >
void qi::detail::call_and_set ( qi::Promise< R >  p,
boost::function< R()>  f 
)

Definition at line 28 of file eventloop.hxx.

template<typename R >
void qi::detail::check_canceled ( qi::Future< void >  f,
qi::Promise< R >  p 
)

Definition at line 43 of file eventloop.hxx.

template<typename FT , typename PT , typename CONV >
void qi::detail::futureAdapter ( Future< FT >  f,
Promise< PT >  p,
CONV  converter 
)

Definition at line 263 of file future.hxx.

template<typename FT >
void qi::detail::futureCancelAdapter ( boost::weak_ptr< detail::FutureBaseTyped< FT > >  wf)
template<typename FT >
void qi::detail::futureCancelAdapter ( boost::weak_ptr< FutureBaseTyped< FT > >  wf)

Definition at line 284 of file future.hxx.

void qi::detail::removeDomainPath ( const std::string &  path)
void qi::detail::throwPointerLockException ( )
inline

Definition at line 160 of file trackable.hxx.

template<typename T >
void qi::detail::waitForFirstHelper ( qi::Promise< qi::Future< T > > &  prom,
qi::Future< T > &  fut,
qi::Atomic< int > *  count 
)

Definition at line 197 of file future.hxx.