libqi-api  2.4.3.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros | Functions
eventloop.hpp File Reference
#include <boost/shared_ptr.hpp>
#include <boost/function.hpp>
#include <qi/types.hpp>
#include <qi/api.hpp>
#include <qi/clock.hpp>
#include <qi/detail/executioncontext.hpp>
#include <qi/detail/eventloop.hxx>

Go to the source code of this file.

Classes

class  qi::Future< T >
 
class  qi::EventLoop
 Class to handle eventloop. . More...
 
class  qi::detail::TerminateThread
 

Namespaces

 boost
 
 qi
 
 qi::detail
 

Macros

#define _QI_EVENTLOOP_HPP_
 

Functions

EventLoop * qi::getEventLoop ()
 Return the global eventloop, created on demand on first call. More...
 
template<typename R , typename ARG0 >
boost::enable_if
< boost::is_base_of< Actor,
typename detail::Unwrap< ARG0 >
::type >, Future< R > >::type 
qi::detail::asyncMaybeActor (const ARG0 &arg0, const boost::function< R()> &cb, qi::Duration delay)
 
template<typename R , typename ARG0 >
boost::disable_if
< boost::is_base_of< Actor,
typename detail::Unwrap< ARG0 >
::type >, Future< R > >::type 
qi::detail::asyncMaybeActor (const ARG0 &arg0, const boost::function< R()> &cb, qi::Duration delay)
 
template<typename R , typename ARG0 >
boost::enable_if
< boost::is_base_of< Actor,
typename detail::Unwrap< ARG0 >
::type >, Future< R > >::type 
qi::detail::asyncMaybeActor (const ARG0 &arg0, const boost::function< R()> &cb, qi::SteadyClockTimePoint timepoint)
 
template<typename R , typename ARG0 >
boost::disable_if
< boost::is_base_of< Actor,
typename detail::Unwrap< ARG0 >
::type >, Future< R > >::type 
qi::detail::asyncMaybeActor (const ARG0 &arg0, const boost::function< R()> &cb, qi::SteadyClockTimePoint timepoint)
 
template<typename R >
Future< R > qi::async (boost::function< R()> callback, uint64_t usDelay=0)
 
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 , typename Func , typename ArgTrack >
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...
 

Macro Definition Documentation

#define _QI_EVENTLOOP_HPP_

Definition at line 8 of file eventloop.hpp.