Go to the documentation of this file.
21 #ifndef GRPCPP_ALARM_H
22 #define GRPCPP_ALARM_H
101 #endif // GRPCPP_ALARM_H
Alarm & operator=(Alarm &&rhs) noexcept
void Set(const T &deadline, std::function< void(bool)> f)
Classes that require gRPC to be initialized should inherit from this class.
#define T(upbtypeconst, upbtype, ctype, default_value)
void SetInternal(grpc::CompletionQueue *cq, gpr_timespec deadline, void *tag)
grpc::internal::CompletionQueueTag * alarm_
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
void Set(grpc::CompletionQueue *cq, const T &deadline, void *tag)
static void * tag(intptr_t t)
Alarm()
Create an unset completion queue alarm.
Alarm(Alarm &&rhs) noexcept
Alarms are movable.
~Alarm() override
Destroy the given completion queue alarm, cancelling it in the process.
Alarm(grpc::CompletionQueue *cq, const T &deadline, void *tag)
An interface allowing implementors to process and filter event tags.
static grpc_completion_queue * cq
Alarm & operator=(const Alarm &)=delete
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:29