This plugin is an extension of the official GRPC CPP plugin. It adds the following features:
- Generation of
Createfunctions for more convenient object creation. - Generation of
Callfunctions for more convenient synchronized RPC calls.
protoc \
-I <proto_path> \
--cpp_out <output_path> \
--grpc_out <output_path> \
--plugin=protoc-gen-grpc="<path_to_plugin/grpc-extended-cpp-plugin" \
--ext_grpc_out <output_path> \
--plugin=protoc-gen-ext_grpc="<path_to_plugin/grpc-extended-cpp-plugin" \
<proto_files>This plugin fully depends on the grpc repository. It is required to generate the protoc CPP plugin and official GRPC CPP plugin first.
The GRPC Extended CPP Plugin modifies the .pb.* files by adding the Create functions. The Call functions are added into new .grpc-ext.pb.* files. The .grpc.pb.* files are not modified.
All documentation and the issue tracking can be found in our main repository here: https://github.com/EVerest/everest