Savarese Software Research Corporation
ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType > Struct Template Reference

The three-parameter CallTraits template defines all the type information characterizing a TwoWay call. More...

#include <Caller.h>

Public Types

typedef ParameterType  parameter_type
  The parameter type required by the call. More...
 
typedef ReturnType  return_type
  The type returned by the call. More...
 
typedef CallerType  caller_type
  The type of Caller through which the call must be made. More...
 
typedef caller_type::template Future< return_type future_type
  The type of future associated with an asynchronous invocation. More...
 
typedef future_type::shared_ptr  future_ptr
  The type of future pointer returned by an asynchronous invocation. More...
 

Static Public Attributes

static const CallType  call_type = TwoWay
  The type of call (TwoWay). More...
 

Detailed Description

template<typename CallerType, typename ParameterType, typename ReturnType = detail::VoidReturnType>
struct ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >

The three-parameter CallTraits template defines all the type information characterizing a TwoWay call.

Parameters
CallerType The type of Caller through which the call must be made.
ParameterType The parameter type required by the call.
ReturnType The type returned by the call.

Definition at line 89 of file Caller.h.

Member Typedef Documentation

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef CallerType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::caller_type

The type of Caller through which the call must be made.

Definition at line 100 of file Caller.h.

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef future_type::shared_ptr ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::future_ptr

The type of future pointer returned by an asynchronous invocation.

Definition at line 106 of file Caller.h.

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef caller_type::template Future<return_type> ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::future_type

The type of future associated with an asynchronous invocation.

Definition at line 103 of file Caller.h.

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef ParameterType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::parameter_type

The parameter type required by the call.

Definition at line 94 of file Caller.h.

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef ReturnType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::return_type

The type returned by the call.

Definition at line 97 of file Caller.h.

Member Data Documentation

template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
const CallType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::call_type = TwoWay
static

The type of call (TwoWay).

Definition at line 91 of file Caller.h.


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

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