Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | List of all members
derecho::rpc::RemoteInvocablePairs< wrapped< id, FunType >, rest... > Struct Template Reference

This struct exists purely to inherit from a series of RemoteInvoker and RemoteInvocables; it inherits one pair of RemoteInvoker/RemoteInvocable for each wrapped<id, FunType> type in its template parameter pack. More...

#include <remote_invocable.hpp>

Inheritance diagram for derecho::rpc::RemoteInvocablePairs< wrapped< id, FunType >, rest... >:
Inheritance graph
[legend]
Collaboration diagram for derecho::rpc::RemoteInvocablePairs< wrapped< id, FunType >, rest... >:
Collaboration graph
[legend]

Public Member Functions

template<typename... RestFunTypes>
 RemoteInvocablePairs (uint32_t class_id, uint32_t instance_id, std::map< Opcode, receive_fun_t > &receivers, FunType function_ptr, RestFunTypes &&... function_ptrs)
 

Detailed Description

template<FunctionTag id, typename FunType, typename... rest>
struct derecho::rpc::RemoteInvocablePairs< wrapped< id, FunType >, rest... >

This struct exists purely to inherit from a series of RemoteInvoker and RemoteInvocables; it inherits one pair of RemoteInvoker/RemoteInvocable for each wrapped<id, FunType> type in its template parameter pack.

Template Parameters
idThe compile-time constant that names a function, which is associated with a function via the wrapped<> struct and set by the user with the tag() function.
FunTypeThe type of the std::function (raw, not "wrapped") that corresponds to the ID
restThe rest of the wrapped<> types

Definition at line 513 of file remote_invocable.hpp.

Constructor & Destructor Documentation

◆ RemoteInvocablePairs()

template<FunctionTag id, typename FunType , typename... rest>
template<typename... RestFunTypes>
derecho::rpc::RemoteInvocablePairs< wrapped< id, FunType >, rest... >::RemoteInvocablePairs ( uint32_t  class_id,
uint32_t  instance_id,
std::map< Opcode, receive_fun_t > &  receivers,
FunType  function_ptr,
RestFunTypes &&...  function_ptrs 
)
inline

Definition at line 516 of file remote_invocable.hpp.


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