Apache Mesos
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
process::internal::Loop< Iterate, Body, T, R > Class Template Reference

#include <loop.hpp>

Inheritance diagram for process::internal::Loop< Iterate, Body, T, R >:

Public Member Functions

std::shared_ptr< Loopshared ()
 
std::weak_ptr< Loopweak ()
 
Future< R > start ()
 
void run (Future< T > next)
 

Static Public Member Functions

template<typename Iterate_ , typename Body_ >
static std::shared_ptr< Loopcreate (const Option< UPID > &pid, Iterate_ &&iterate, Body_ &&body)
 

Protected Member Functions

 Loop (const Option< UPID > &pid, const Iterate &iterate, const Body &body)
 
 Loop (const Option< UPID > &pid, Iterate &&iterate, Body &&body)
 

Constructor & Destructor Documentation

template<typename Iterate , typename Body , typename T , typename R >
process::internal::Loop< Iterate, Body, T, R >::Loop ( const Option< UPID > &  pid,
const Iterate &  iterate,
const Body &  body 
)
inlineprotected
template<typename Iterate , typename Body , typename T , typename R >
process::internal::Loop< Iterate, Body, T, R >::Loop ( const Option< UPID > &  pid,
Iterate &&  iterate,
Body &&  body 
)
inlineprotected

Member Function Documentation

template<typename Iterate , typename Body , typename T , typename R >
template<typename Iterate_ , typename Body_ >
static std::shared_ptr<Loop> process::internal::Loop< Iterate, Body, T, R >::create ( const Option< UPID > &  pid,
Iterate_ &&  iterate,
Body_ &&  body 
)
inlinestatic
template<typename Iterate , typename Body , typename T , typename R >
void process::internal::Loop< Iterate, Body, T, R >::run ( Future< T >  next)
inline
template<typename Iterate , typename Body , typename T , typename R >
std::shared_ptr<Loop> process::internal::Loop< Iterate, Body, T, R >::shared ( )
inline
template<typename Iterate , typename Body , typename T , typename R >
Future<R> process::internal::Loop< Iterate, Body, T, R >::start ( )
inline
template<typename Iterate , typename Body , typename T , typename R >
std::weak_ptr<Loop> process::internal::Loop< Iterate, Body, T, R >::weak ( )
inline

The documentation for this class was generated from the following file: