Savarese Software Research Corporation
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 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 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 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> 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 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 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 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-2010 Savarese Software Research Corporation. All rights reserved.