LLVM 24.0.0git
llvm::orc::sps::HandlerSpec< Descriptor > Class Template Reference

Binds handlers for the call described by Descriptor, which must provide: More...

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

Static Public Member Functions

template<typename HandlerT>
static ExecutionSession::CallControllerHandlerFn wrap (HandlerT &&H)
 Wrap H as a handler for the call.

Static Public Attributes

static constexpr SymbolNameSpec Name = Descriptor::Name

Detailed Description

template<typename Descriptor>
class llvm::orc::sps::HandlerSpec< Descriptor >

Binds handlers for the call described by Descriptor, which must provide:

static constexpr SymbolNameSpec Name; // The default tag name. using SPSSig = ...; // The call's SPS signature.

Use with bindCallControllerHandler.

Definition at line 36 of file SPSHandlerSpec.h.

Member Function Documentation

◆ wrap()

template<typename Descriptor>
template<typename HandlerT>
ExecutionSession::CallControllerHandlerFn llvm::orc::sps::HandlerSpec< Descriptor >::wrap ( HandlerT && H)
inlinestatic

Wrap H as a handler for the call.

H takes a sender for the call's result, followed by the call's arguments.

Definition at line 43 of file SPSHandlerSpec.h.

References H.

Member Data Documentation

◆ Name

template<typename Descriptor>
SymbolNameSpec llvm::orc::sps::HandlerSpec< Descriptor >::Name = Descriptor::Name
staticconstexpr

Definition at line 38 of file SPSHandlerSpec.h.


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