Public Member Functions | List of all members
grpc::internal::GrpcLibraryInitializer Class Referencefinal

Instantiating this class ensures the proper initialization of gRPC. More...

#include <grpc_library.h>

Public Member Functions

 GrpcLibraryInitializer ()
 
int summon ()
 

Detailed Description

Instantiating this class ensures the proper initialization of gRPC.

Definition at line 39 of file grpcpp/impl/grpc_library.h.

Constructor & Destructor Documentation

◆ GrpcLibraryInitializer()

grpc::internal::GrpcLibraryInitializer::GrpcLibraryInitializer ( )
inline

Definition at line 41 of file grpcpp/impl/grpc_library.h.

Member Function Documentation

◆ summon()

int grpc::internal::GrpcLibraryInitializer::summon ( )
inline

A no-op method to force the linker to reference this class, which will take care of initializing and shutting down the gRPC runtime.

Definition at line 54 of file grpcpp/impl/grpc_library.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33