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>

List of all members.

Public Types

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

Static Public Attributes

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

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 78 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 89 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 95 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 92 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 83 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 86 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 80 of file Caller.h.


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

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