GRPC C++  1.30.0
Data Structures | Namespaces | Functions
time.h File Reference
#include <chrono>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpcpp/impl/codegen/config.h>

Go to the source code of this file.

Data Structures

class  grpc::TimePoint< T >
 If you are trying to use CompletionQueue::AsyncNext with a time class that isn't either gpr_timespec or std::chrono::system_clock::time_point, you will most likely be looking at this comment as your compiler will have fired an error below. More...
 
class  grpc::TimePoint< gpr_timespec >
 
class  grpc::TimePoint< std::chrono::system_clock::time_point >
 

Namespaces

 grpc
 This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInputStream interface.
 

Functions

void grpc::Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to)
 
void grpc::TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
 
std::chrono::system_clock::time_point grpc::Timespec2Timepoint (gpr_timespec t)