class CallbackWithSuccessTag
Defined at line 138 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
CallbackWithSuccessTag can be reused multiple times, and will be used in
this fashion for streaming operations. As a result, it shouldn't clear
anything up until its destructor
Public Methods
void operator delete (void * , std::size_t size)
always allocated against a call arena, no memory free required
Defined at line 141 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void operator delete (void * , void * )
This operator should never be called as the memory should be freed as part
of the arena destruction. It only exists to provide a matching operator
delete to the operator new so that some compilers will not complain (see
https://github.com/grpc/grpc/issues/11301) Note at the time of adding this
there are no tests catching the compiler warning.
Defined at line 150 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void CallbackWithSuccessTag ()
Defined at line 152 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void CallbackWithSuccessTag (const CallbackWithSuccessTag & )
Defined at line 154 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
CallbackWithSuccessTag & operator= (const CallbackWithSuccessTag & )
Defined at line 155 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void ~CallbackWithSuccessTag ()
Defined at line 157 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void Set (grpc_call * call, std::function<void (bool)> f, CompletionQueueTag * ops, bool can_inline)
Set can only be called on a default-constructed or Clear'ed tag.
It should never be called on a tag that was constructed with arguments
or on a tag that has been Set before unless the tag has been cleared.
can_inline indicates that this particular callback can be executed inline
(without needing a thread hop) and is only used for library-provided server
callbacks.
Defined at line 165 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void Clear ()
Defined at line 176 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
CompletionQueueTag * ops ()
Defined at line 185 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
void force_run (bool ok)
force_run can not be performed on a tag if operations using this tag
have been sent to PerformOpsOnCall. It is intended for error conditions
that are detected before the operations are internally processed.
Defined at line 190 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h
bool operator bool ()
check if this tag is currently set
NOLINTNEXTLINE(google-explicit-constructor)
Defined at line 194 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/callback_common.h