Apache Mesos
Namespaces | Macros | Functions | Variables
defer.hpp File Reference
#include <functional>
#include <memory>
#include <process/deferred.hpp>
#include <process/dispatch.hpp>
#include <process/executor.hpp>
#include <stout/preprocessor.hpp>

Go to the source code of this file.

Namespaces

 process
 

Macros

#define FORWARD_A(Z, N, DATA)   std::forward<A ## N>(a ## N)
 
#define FORWARD_P(Z, N, DATA)   std::forward<P ## N>(p ## N)
 
#define TEMPLATE(Z, N, DATA)
 
#define TEMPLATE(Z, N, DATA)
 
#define TEMPLATE(Z, N, DATA)
 

Functions

template<typename T >
Deferred< void()> process::defer (const PID< T > &pid, void(T::*method)())
 
template<typename T >
Deferred< void()> process::defer (const Process< T > &process, void(T::*method)())
 
template<typename T >
Deferred< void()> process::defer (const Process< T > *process, void(T::*method)())
 
 process::REPEAT_FROM_TO (1, 13, TEMPLATE, _) class AsyncExecutorProcess
 
T Deferred< Future< R >)> process::defer (const PID< T > &pid, Future< R >(T::*method)())
 
template<typename R , typename T >
Deferred< Future< R >)> process::defer (const Process< T > &process, Future< R >(T::*method)())
 
template<typename R , typename T >
Deferred< Future< R >)> process::defer (const Process< T > *process, Future< R >(T::*method)())
 
T Deferred< Future< R >)> process::defer (const PID< T > &pid, R(T::*method)())
 
template<typename R , typename T >
Deferred< Future< R >)> process::defer (const Process< T > &process, R(T::*method)())
 
template<typename R , typename T >
Deferred< Future< R >)> process::defer (const Process< T > *process, R(T::*method)())
 
template<typename F >
_Deferred< F > process::defer (F &&f)
 

Variables

F && process::f
 

Macro Definition Documentation

#define FORWARD_A (   Z,
  N,
  DATA 
)    std::forward<A ## N>(a ## N)
#define FORWARD_P (   Z,
  N,
  DATA 
)    std::forward<P ## N>(p ## N)
#define TEMPLATE (   Z,
  N,
  DATA 
)
#define TEMPLATE (   Z,
  N,
  DATA 
)
#define TEMPLATE (   Z,
  N,
  DATA 
)