LLVM  8.0.1
llvm::orc::rpc::RPCFunctionIdAllocator< T, typename > Class Template Reference

Allocates RPC function ids during autonegotiation. More...

#include "llvm/ExecutionEngine/Orc/RPCUtils.h"

Inheritance diagram for llvm::orc::rpc::RPCFunctionIdAllocator< T, typename >:
Inheritance graph
[legend]

Detailed Description

template<typename T, typename = void>
class llvm::orc::rpc::RPCFunctionIdAllocator< T, typename >

Allocates RPC function ids during autonegotiation.

Specializations of this class must provide four members:

static T getInvalidId(): Should return a reserved id that will be used to represent missing functions during autonegotiation.

static T getResponseId(): Should return a reserved id that will be used to send function responses (return values).

static T getNegotiateId(): Should return a reserved id for the negotiate function, which will be used to negotiate ids for user defined functions.

template <typename func>=""> T allocate(): Allocate a unique id for function Func.

Definition at line 191 of file RPCUtils.h.


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