Savarese Software Research Corporation
ssrc::wisp::protocol::Caller< PT >::Future< ReturnType > Class Template Reference

#include <Caller.h>

Public Types

typedef ReturnType  return_type
 
typedef std::shared_ptr< Future shared_ptr
 

Public Member Functions

bool  ready () const
 
bool  valid () const
 
wisp_call_token  token () const
 
void  receive (return_type &result)
 
void  unpack (return_type &result, MessageInfo &info)
 

Friends

class  Caller
 

Detailed Description

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
class ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >

Definition at line 589 of file Caller.h.

Member Typedef Documentation

§ return_type

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
typedef ReturnType ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::return_type

Definition at line 601 of file Caller.h.

§ shared_ptr

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
typedef std::shared_ptr<Future> ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::shared_ptr

Definition at line 602 of file Caller.h.

Member Function Documentation

§ ready()

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
bool ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::ready ( ) const
inline

Definition at line 606 of file Caller.h.

References ssrc::wisp::protocol::Caller< PT >::returned().

§ receive()

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
void ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::receive ( return_type result )
inline

Definition at line 618 of file Caller.h.

§ token()

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
wisp_call_token ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::token ( ) const
inline

Definition at line 614 of file Caller.h.

§ unpack()

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
void ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::unpack ( return_type result,
MessageInfo info 
)
inline

Definition at line 631 of file Caller.h.

References ssrc::wisp::protocol::Caller< PT >::unpack().

§ valid()

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
bool ssrc::wisp::protocol::Caller< PT >::Future< ReturnType >::valid ( ) const
inline

Definition at line 610 of file Caller.h.

Friends And Related Function Documentation

§ Caller

template<typename PT = BinaryPackingTraits>
template<typename ReturnType>
friend class Caller
friend

Definition at line 590 of file Caller.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.