Savarese Software Research Corporation
ContinuationCaller< PT > Class Template Reference

#include <ContinuationCaller.h>

Inheritance diagram for ContinuationCaller< PT >:
Inheritance graph
[legend]

Public Member Functions

  ContinuationCaller (const std::string &connection="", const std::string &name="", const unsigned int message_capacity=Message::DefaultCapacity, const bool group_membership=GroupMembershipDisable)
 
unsigned int  continuations_map_size () const
 
template<typename CallTraits_ , typename Closure , typename DestinationType >
continuation_ptr  split_call (Closure &&continue_, const DestinationType &dest, const typename CallTraits_::parameter_type &param, const Message::Service service=DefaultMessageServiceType) SSRC_DECL_THROW(boost
 
void  schedule (const continuation_ptr &continuation)
 
template<typename CallTraits_ , typename Closure , typename DestinationType >
void  future_call (Closure &&continue_, const DestinationType &dest, const typename CallTraits_::parameter_type &param, const Message::Service service=DefaultMessageServiceType) SSRC_DECL_THROW(boost
 
void  cancel_range (wisp_call_token min_token, wisp_call_token max_token)
 
void  cancel_all ()
 
continuation_ptr  cancel (wisp_call_token token)
 
bool  resume (MessageInfo &msginfo)
 
template<typename CallTraits_ , typename Closure , typename DestinationType >
void  future_call (Closure &&continue_, const DestinationType &dest, const Message::Service service=DefaultMessageServiceType) SSRC_DECL_THROW(boost
 
template<typename CallTraits_ , typename Closure , typename DestinationType , typename... P>
void  future_call (const Message::Service service, Closure &&continue_, const DestinationType &dest, P &&...p) SSRC_DECL_THROW(boost
 
template<typename CallTraits_ , typename Closure , typename DestinationType , typename... P>
void  future_callp (Closure &&continue_, const DestinationType &dest, P &&...p) SSRC_DECL_THROW(boost
 

Detailed Description

template<typename PT = BinaryPackingTraits>
class ContinuationCaller< PT >

Definition at line 118 of file ContinuationCaller.h.

Constructor & Destructor Documentation

template<typename PT = BinaryPackingTraits>
ContinuationCaller< PT >::ContinuationCaller ( const std::string &  connection = "",
const std::string &  name = "",
const unsigned int  message_capacity = Message::DefaultCapacity,
const bool  group_membership = GroupMembershipDisable 
)
inlineexplicit

Definition at line 144 of file ContinuationCaller.h.

Member Function Documentation

template<typename PT = BinaryPackingTraits>
continuation_ptr ContinuationCaller< PT >::cancel ( wisp_call_token  token )
inline

Definition at line 200 of file ContinuationCaller.h.

References NullContinuation.

Referenced by ContinuationCaller< PT >::resume().

template<typename PT = BinaryPackingTraits>
void ContinuationCaller< PT >::cancel_all ( )
inline

Definition at line 196 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
void ContinuationCaller< PT >::cancel_range ( wisp_call_token  min_token,
wisp_call_token  max_token 
)
inline

Definition at line 183 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
unsigned int ContinuationCaller< PT >::continuations_map_size ( ) const
inline

Definition at line 152 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
template<typename CallTraits_ , typename Closure , typename DestinationType >
void ContinuationCaller< PT >::future_call ( Closure &&  continue_,
const DestinationType &  dest,
const typename CallTraits_::parameter_type &  param,
const Message::Service  service = DefaultMessageServiceType 
)
inline

Definition at line 172 of file ContinuationCaller.h.

References ContinuationCaller< PT >::schedule().

template<typename PT = BinaryPackingTraits>
template<typename CallTraits_ , typename Closure , typename DestinationType >
void ContinuationCaller< PT >::future_call ( Closure &&  continue_,
const DestinationType &  dest,
const Message::Service  service = DefaultMessageServiceType 
)
inline

Definition at line 224 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
template<typename CallTraits_ , typename Closure , typename DestinationType , typename... P>
void ContinuationCaller< PT >::future_call ( const Message::Service  service,
Closure &&  continue_,
const DestinationType &  dest,
P &&...  p 
)
inline

Definition at line 236 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
template<typename CallTraits_ , typename Closure , typename DestinationType , typename... P>
void ContinuationCaller< PT >::future_callp ( Closure &&  continue_,
const DestinationType &  dest,
P &&...  p 
)
inline

Definition at line 248 of file ContinuationCaller.h.

template<typename PT = BinaryPackingTraits>
bool ContinuationCaller< PT >::resume ( MessageInfo &  msginfo )
inline

Definition at line 212 of file ContinuationCaller.h.

References ContinuationCaller< PT >::cancel(), and NullContinuation.

template<typename PT = BinaryPackingTraits>
void ContinuationCaller< PT >::schedule ( const continuation_ptr continuation )
inline

Definition at line 167 of file ContinuationCaller.h.

Referenced by ContinuationCaller< PT >::future_call().

template<typename PT = BinaryPackingTraits>
template<typename CallTraits_ , typename Closure , typename DestinationType >
continuation_ptr ContinuationCaller< PT >::split_call ( Closure &&  continue_,
const DestinationType &  dest,
const typename CallTraits_::parameter_type &  param,
const Message::Service  service = DefaultMessageServiceType 
)
inline

Definition at line 158 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.