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.
Member Typedef Documentation
§ caller_type
template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef CallerType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::caller_type |
§ future_ptr
template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef future_type::shared_ptr ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::future_ptr |
§ future_type
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 |
§ parameter_type
template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef ParameterType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::parameter_type |
§ return_type
template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
typedef ReturnType ssrc::wisp::protocol::CallTraits< CallerType, ParameterType, ReturnType >::return_type |
Member Data Documentation
§ call_type
template<typename CallerType , typename ParameterType , typename ReturnType = detail::VoidReturnType>
|
static |
The documentation for this struct was generated from the following file:
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.
Copyright © 2017 Savarese Software Research Corporation. All rights reserved