LLVM 22.0.0git
llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)> Class Template Reference

#include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"

Inheritance diagram for llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>:
[legend]

Static Public Member Functions

template<typename CallerFn, typename RetT, typename... ArgTs>
static Error call (const CallerFn &Caller, RetT &Result, const ArgTs &...Args)
 Call a wrapper function.
template<typename AsyncCallerFn, typename SendDeserializedResultFn, typename... ArgTs>
static void callAsync (AsyncCallerFn &&Caller, SendDeserializedResultFn &&SendDeserializedResult, const ArgTs &...Args)
 Call an async wrapper function.
template<typename HandlerT>
static WrapperFunctionResult handle (const char *ArgData, size_t ArgSize, HandlerT &&Handler)
 Handle a call to a wrapper function.
template<typename HandlerT, typename SendResultT>
static void handleAsync (const char *ArgData, size_t ArgSize, SendResultT &&SendResult, HandlerT &&Handler)
 Handle a call to an async wrapper function.

Detailed Description

template<typename SPSRetTagT, typename... SPSTagTs>
class llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>

Definition at line 437 of file WrapperFunctionUtils.h.

Member Function Documentation

◆ call()

template<typename SPSRetTagT, typename... SPSTagTs>
template<typename CallerFn, typename RetT, typename... ArgTs>
Error llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>::call ( const CallerFn & Caller,
RetT & Result,
const ArgTs &... Args )
inlinestatic

◆ callAsync()

template<typename SPSRetTagT, typename... SPSTagTs>
template<typename AsyncCallerFn, typename SendDeserializedResultFn, typename... ArgTs>
void llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>::callAsync ( AsyncCallerFn && Caller,
SendDeserializedResultFn && SendDeserializedResult,
const ArgTs &... Args )
inlinestatic

◆ handle()

template<typename SPSRetTagT, typename... SPSTagTs>
template<typename HandlerT>
WrapperFunctionResult llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>::handle ( const char * ArgData,
size_t ArgSize,
HandlerT && Handler )
inlinestatic

Handle a call to a wrapper function.

Definition at line 519 of file WrapperFunctionUtils.h.

◆ handleAsync()

template<typename SPSRetTagT, typename... SPSTagTs>
template<typename HandlerT, typename SendResultT>
void llvm::orc::shared::WrapperFunction< SPSRetTagT(SPSTagTs...)>::handleAsync ( const char * ArgData,
size_t ArgSize,
SendResultT && SendResult,
HandlerT && Handler )
inlinestatic

Handle a call to an async wrapper function.

Definition at line 529 of file WrapperFunctionUtils.h.


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