Savarese Software Research Corporation
FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> > Class Template Reference

#include <ContinuationCaller.h>

Inheritance diagram for FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >:
Inheritance graph
[legend]

Public Types

typedef CallTraits_  call_traits
 
typedef call_traits::future_ptr  future_ptr
 
typedef call_traits::return_type  return_type
 
typedef std::function< void(const return_type &)>  continuation_function
 

Public Member Functions

  FutureContinuation (const future_ptr &future, continuation_function &&continue_)
 
virtual  ~FutureContinuation ()=default
 
virtual void  resume (MessageInfo &msginfo)
 

Public Attributes

wisp_call_token  token
 

Detailed Description

template<typename CallTraits_>
class FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >

Definition at line 85 of file ContinuationCaller.h.

Member Typedef Documentation

template<typename CallTraits_ >
typedef CallTraits_ FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::call_traits

Definition at line 90 of file ContinuationCaller.h.

template<typename CallTraits_ >
typedef std::function<void (const return_type &)> FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::continuation_function

Definition at line 93 of file ContinuationCaller.h.

template<typename CallTraits_ >
typedef call_traits::future_ptr FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::future_ptr

Definition at line 91 of file ContinuationCaller.h.

template<typename CallTraits_ >
typedef call_traits::return_type FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::return_type

Definition at line 92 of file ContinuationCaller.h.

Constructor & Destructor Documentation

template<typename CallTraits_ >
FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::FutureContinuation ( const future_ptr future,
continuation_function &&  continue_ 
)
inline

Definition at line 102 of file ContinuationCaller.h.

template<typename CallTraits_ >
virtual FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::~FutureContinuation ( )
virtualdefault

Member Function Documentation

template<typename CallTraits_ >
virtual void FutureContinuation< CallTraits_, std::function< void(const typename CallTraits_::return_type &)> >::resume ( MessageInfo &  msginfo )
inlinevirtual

Implements Continuation.

Definition at line 111 of file ContinuationCaller.h.

Member Data Documentation

wisp_call_token Continuation::token
inherited

Definition at line 37 of file ContinuationCaller.h.


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

Savarese Software Research Corporation
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.