Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H
20 #define GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H
29 virtual void init() = 0;
43 "gRPC library not initialized. See "
44 "grpc::internal::GrpcLibraryInitializer.");
46 grpc_init_called_ =
true;
50 if (grpc_init_called_) {
52 "gRPC library not initialized. See "
53 "grpc::internal::GrpcLibraryInitializer.");
59 bool grpc_init_called_;
64 #endif // GRPCPP_IMPL_CODEGEN_GRPC_LIBRARY_H
Classes that require gRPC to be initialized should inherit from this class.
Definition: grpc_library.h:38
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
virtual ~GrpcLibraryCodegen()
Definition: grpc_library.h:49
GrpcLibraryCodegen(bool call_grpc_init=true)
Definition: grpc_library.h:40
Definition: grpc_library.h:26
virtual ~GrpcLibraryInterface()=default
virtual void shutdown()=0
GrpcLibraryInterface * g_glip
Initialized by grpc::GrpcLibraryInitializer from <grpcpp/impl/grpc_library.h>
#define GPR_CODEGEN_ASSERT(x)
Codegen specific version of GPR_ASSERT.
Definition: core_codegen_interface.h:146