Apache Mesos
Classes | Namespaces | Functions
loop.hpp File Reference
#include <mutex>
#include <process/defer.hpp>
#include <process/dispatch.hpp>
#include <process/future.hpp>
#include <process/owned.hpp>
#include <process/pid.hpp>
#include <process/process.hpp>

Go to the source code of this file.

Classes

class  process::ControlFlow< T >
 
class  process::ControlFlow< T >::Continue
 
class  process::ControlFlow< T >::Break
 
struct  process::Continue
 
class  process::internal::Loop< Iterate, Body, T, R >
 

Namespaces

 process
 
 process::internal
 

Functions

template<typename Iterate , typename Body , typename T = typename internal::unwrap<typename result_of<Iterate()>::type>::type, typename CF = typename internal::unwrap<typename result_of<Body(T)>::type>::type, typename V = typename CF::ValueType>
Future< V > process::loop (const Option< UPID > &pid, Iterate &&iterate, Body &&body)
 
template<typename Iterate , typename Body , typename T = typename internal::unwrap<typename result_of<Iterate()>::type>::type, typename CF = typename internal::unwrap<typename result_of<Body(T)>::type>::type, typename V = typename CF::ValueType>
Future< V > process::loop (Iterate &&iterate, Body &&body)
 
template<typename T >
ControlFlow< typename std::decay< T >::type >::Break process::Break (T &&t)
 
ControlFlow< Nothing >::Break process::Break ()