Home
last modified time | relevance | path

Searched refs:AlarmImpl (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc/src/cpp/common/
Dalarm.cc37 class AlarmImpl : public CompletionQueueTag { class
39 AlarmImpl() : cq_(nullptr), tag_(nullptr) { in AlarmImpl() function in grpc::internal::AlarmImpl
43 ~AlarmImpl() { in ~AlarmImpl()
63 AlarmImpl* alarm = static_cast<AlarmImpl*>(arg); in Set()
81 AlarmImpl* alarm = static_cast<AlarmImpl*>(arg); in Set()
119 Alarm::Alarm() : alarm_(new internal::AlarmImpl()) { in Alarm()
129 static_cast<internal::AlarmImpl*>(alarm_)->Set(cq, deadline, tag); in SetInternal()
138 static_cast<internal::AlarmImpl*>(alarm_)->Set(deadline, std::move(f)); in SetInternal()
143 static_cast<internal::AlarmImpl*>(alarm_)->Destroy(); in ~Alarm()
147 void Alarm::Cancel() { static_cast<internal::AlarmImpl*>(alarm_)->Cancel(); } in Cancel()