GRPC C++  1.26.0
Public Member Functions | Static Public Member Functions
grpc::internal::CallbackWithStatusTag Class Reference

#include <callback_common.h>

Public Member Functions

 CallbackWithStatusTag (grpc_call *call, std::function< void(Status)> f, CompletionQueueTag *ops)
 
 ~CallbackWithStatusTag ()
 
Statusstatus_ptr ()
 
void force_run (Status s)
 

Static Public Member Functions

static void operator delete (void *, std::size_t size)
 
static void operator delete (void *, void *)
 

Additional Inherited Members

- Data Fields inherited from grpc_experimental_completion_queue_functor
void(* functor_run )(struct grpc_experimental_completion_queue_functor *, int)
 The run member specifies a function that will be called when this tag is extracted from the completion queue. More...
 
int inlineable
 The inlineable member specifies whether this functor can be run inline. More...
 
int internal_success
 The following fields are not API. More...
 
struct grpc_experimental_completion_queue_functorinternal_next
 

Constructor & Destructor Documentation

◆ CallbackWithStatusTag()

grpc::internal::CallbackWithStatusTag::CallbackWithStatusTag ( grpc_call call,
std::function< void(Status)>  f,
CompletionQueueTag ops 
)
inline

◆ ~CallbackWithStatusTag()

grpc::internal::CallbackWithStatusTag::~CallbackWithStatusTag ( )
inline

Member Function Documentation

◆ force_run()

void grpc::internal::CallbackWithStatusTag::force_run ( Status  s)
inline

◆ operator delete() [1/2]

static void grpc::internal::CallbackWithStatusTag::operator delete ( void *  ,
std::size_t  size 
)
inlinestatic

◆ operator delete() [2/2]

static void grpc::internal::CallbackWithStatusTag::operator delete ( void *  ,
void *   
)
inlinestatic

◆ status_ptr()

Status* grpc::internal::CallbackWithStatusTag::status_ptr ( )
inline

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