19 #ifndef GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H 20 #define GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H 32 class CQCallbackInterface;
41 static void operator delete(
void* ptr, std::size_t size) {
50 static void operator delete(
void*,
void*) { assert(0); }
55 void*
tag() {
return static_cast<void*
>(impl_); }
65 grpc_core::CQCallbackInterface* impl_;
73 static void operator delete(
void* ptr, std::size_t size) {
82 static void operator delete(
void*,
void*) { assert(0); }
87 void*
tag() {
return static_cast<void*
>(impl_); }
93 void force_run(
bool ok);
96 grpc_core::CQCallbackInterface* impl_;
103 #endif // GRPCPP_IMPL_CODEGEN_CALLBACK_COMMON_H
struct grpc_call grpc_call
A Call represents an RPC.
Definition: grpc_types.h:70
An interface allowing implementors to process and filter event tags.
Definition: completion_queue_tag.h:26
CompletionQueueTag * ops()
Definition: callback_common.h:88
void * tag()
Definition: callback_common.h:87
Definition: callback_common.h:31
Status * status_ptr()
Definition: callback_common.h:56
An Alarm posts the user provided tag to its associated completion queue upon expiry or cancellation...
Definition: alarm.h:31
~CallbackWithStatusTag()
Definition: callback_common.h:54
void * tag()
Definition: callback_common.h:55
Definition: callback_common.h:70
CompletionQueueTag * ops()
Definition: callback_common.h:57
Did it work? If it didn't, why?
Definition: status.h:31
Definition: callback_common.h:38