MIRA
Classes | Namespaces | Typedefs | Functions
RPCInvoker.h File Reference

Implements the RPCInvoker and TRPCInvoker classes. More...

#include <functional>
#include <type_traits>
#include <boost/preprocessor/repetition.hpp>
#include <error/Exception.h>
#include <rpc/RPCError.h>
Include dependency graph for RPCInvoker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RPCInvoker
 Base of all TRPCInvoker classes which are templates to support different RPC backends. More...
 
class  TRPCInvoker< Backend >
 Invoker that is used to invoke an RPC method call for a special backend. More...
 
struct  RPCInvokeHelper< R >
 
struct  RPCInvokeHelper< void >
 
struct  RPCInvokeHelperMem< R >
 
struct  RPCInvokeHelperMem< void >
 
struct  ConcreteRPCInvoker< Backend, R, ARGS >
 
struct  ConcreteRPCInvoker_memfn< Backend, MemFn, Class, ARGS >
 

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 
 mira::Private
 

Typedefs

template<typename P >
using StrippedType = typename std::remove_const< typename std::remove_reference< P >::type >::type
 

Functions

template<typename Backend , typename T >
StrippedType< T > getFromRequest (typename Backend::ServerRequest &request)
 
template<typename Response >
void throwRPCException (Response &response)
 
template<typename Backend , typename R , typename... ARGS, typename Fn >
Private::ConcreteRPCInvoker< Backend, R, ARGS... > * make_RPCInvoker (Fn &&f)
 
template<typename Backend , typename... ARGS, typename MemFn , typename Class >
Private::ConcreteRPCInvoker_memfn< Backend, MemFn, Class, ARGS... > * make_RPCInvoker (MemFn &&f, Class *obj)
 

Detailed Description

Implements the RPCInvoker and TRPCInvoker classes.

Author
Erik Einhorn
Date
2010/11/07