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) {
89 #endif // GRPCPP_IMPL_CODEGEN_TIME_H
void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
Definition: async_unary_call_impl.h:301
gpr_timespec raw_time()
Definition: time.h:43
If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec ...
Definition: time.h:40
TimePoint(const gpr_timespec &time)
Definition: time.h:55
TimePoint(const std::chrono::system_clock::time_point &time)
Definition: time.h:78
void Timepoint2Timespec(const std::chrono::system_clock::time_point &from, gpr_timespec *to)
TimePoint(const T &)
Definition: time.h:42
std::chrono::system_clock::time_point Timespec2Timepoint(gpr_timespec t)
Definition: time_cc.cc:63
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
gpr_timespec raw_time()
Definition: time.h:56
Analogous to struct timespec.
Definition: gpr_types.h:47
gpr_timespec raw_time() const
Definition: time.h:81