LLVM  8.0.1
Classes | Functions
llvm::orc::rpc::detail Namespace Reference

Classes

class  AsyncHandlerTraits
 
class  AsyncHandlerTraits< Error(ResponseHandlerT, ArgTs...)>
 
class  AsyncHandlerTraits< Error(std::function< Error(Error)>, ArgTs...)>
 
class  AsyncHandlerTraits< Error(std::function< Error(Expected< ResultT >)>, ArgTs...)>
 
class  AsyncHandlerTraits< ErrorSuccess(std::function< Error(Error)>, ArgTs...)>
 
class  AsyncHandlerTraits< void(std::function< Error(Error)>, ArgTs...)>
 
class  CanDeserialize
 
class  CanSerialize
 
class  FunctionArgsTuple
 Provides a typedef for a tuple containing the decayed argument types. More...
 
class  FunctionArgsTuple< RetT(ArgTs...)>
 
class  HandlerTraits
 
class  HandlerTraits< RetT(*)(ArgTs...)>
 
class  HandlerTraits< RetT(ArgTs...)>
 
class  HandlerTraits< RetT(Class::*)(ArgTs...) const >
 
class  HandlerTraits< RetT(Class::*)(ArgTs...)>
 
class  MemberFnWrapper
 
class  ReadArgs
 
class  ReadArgs< ArgT, ArgTs... >
 
class  RespondHelper
 
class  RespondHelper< false >
 
class  RespondHelper< true >
 
class  ResponseHandler
 
class  ResponseHandlerArg
 
class  ResponseHandlerArg< Error(Error)>
 
class  ResponseHandlerArg< Error(Expected< ArgT >)>
 
class  ResponseHandlerArg< ErrorSuccess(Error)>
 
class  ResponseHandlerArg< ErrorSuccess(Expected< ArgT >)>
 
class  ResponseHandlerImpl
 
class  ResponseHandlerImpl< ChannelT, Error, HandlerT >
 
class  ResponseHandlerImpl< ChannelT, Expected< FuncRetT >, HandlerT >
 
class  ResponseHandlerImpl< ChannelT, void, HandlerT >
 
class  ResultTraits
 
class  ResultTraits< Error >
 
class  ResultTraits< Expected< RetT > >
 
class  ResultTraits< void >
 
class  RPCArgTypeCheck
 
class  RPCArgTypeCheckHelper
 
class  RPCArgTypeCheckHelper< P, std::tuple< T, Ts... >, std::tuple< U, Us... > >
 
class  RPCArgTypeCheckHelper< P, std::tuple<>, std::tuple<> >
 
class  RPCEndpointBase
 Contains primitive utilities for defining, calling and handling calls to remote procedures. More...
 
class  SequenceNumberManager
 
class  SupportsErrorReturn
 
class  SupportsErrorReturn< Error >
 
class  SupportsErrorReturn< Expected< T > >
 
class  WrappedHandlerReturn
 
class  WrappedHandlerReturn< Error >
 
class  WrappedHandlerReturn< ErrorSuccess >
 
class  WrappedHandlerReturn< Expected< T > >
 
class  WrappedHandlerReturn< void >
 

Functions

template<typename WireRetT , typename HandlerRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
Error respond (ChannelT &C, const FunctionIdT &ResponseId, SequenceNumberT SeqNo, Expected< HandlerRetT > ResultOrErr)
 
template<typename WireRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
Error respond (ChannelT &C, const FunctionIdT &ResponseId, SequenceNumberT SeqNo, Error Err)
 
template<typename ChannelT , typename FuncRetT , typename HandlerT >
std::unique_ptr< ResponseHandler< ChannelT > > createResponseHandler (HandlerT H)
 

Function Documentation

◆ createResponseHandler()

template<typename ChannelT , typename FuncRetT , typename HandlerT >
std::unique_ptr<ResponseHandler<ChannelT> > llvm::orc::rpc::detail::createResponseHandler ( HandlerT  H)

Definition at line 778 of file RPCUtils.h.

◆ respond() [1/2]

template<typename WireRetT , typename HandlerRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
Error llvm::orc::rpc::detail::respond ( ChannelT &  C,
const FunctionIdT &  ResponseId,
SequenceNumberT  SeqNo,
Expected< HandlerRetT >  ResultOrErr 
)

Definition at line 411 of file RPCUtils.h.

References C.

◆ respond() [2/2]

template<typename WireRetT , typename ChannelT , typename FunctionIdT , typename SequenceNumberT >
Error llvm::orc::rpc::detail::respond ( ChannelT &  C,
const FunctionIdT &  ResponseId,
SequenceNumberT  SeqNo,
Error  Err 
)

Definition at line 421 of file RPCUtils.h.