19 #ifndef GRPCPP_IMPL_CODEGEN_TIME_H
20 #define GRPCPP_IMPL_CODEGEN_TIME_H
42 TimePoint(
const T& ) { you_need_a_specialization_of_TimePoint(); }
49 void you_need_a_specialization_of_TimePoint();
70 const std::chrono::high_resolution_clock::time_point& from,
78 TimePoint(
const std::chrono::system_clock::time_point& time) {
TimePoint(const gpr_timespec &time)
Definition: time.h:55
gpr_timespec raw_time()
Definition: time.h:56
gpr_timespec raw_time() const
Definition: time.h:81
TimePoint(const std::chrono::system_clock::time_point &time)
Definition: time.h:78
If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec ...
Definition: time.h:40
TimePoint(const T &)
Definition: time.h:42
gpr_timespec raw_time()
Definition: time.h:43
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)
void Timepoint2Timespec(const std::chrono::system_clock::time_point &from, gpr_timespec *to)
void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
Definition: async_unary_call_impl.h:301
Analogous to struct timespec.
Definition: gpr_types.h:47