CommonAPI Tutorial
CommonAPI C++ Tutorial - CommonAPI C++ - Confluence
Please follow the below link to the 10 minutes test.
sudo apt-get install asciidoc source-highlight doxygen graphviz
install googletest
Home · GENIVI/capicxx-core-tools Wiki · GitHub
generate binary file path :
CommonAPI C++ is strongly related to the interface description language Franca IDL (see GitHub - franca/franca: A framework for defining and transforming interfaces). The basic procedure is that you define an interface for your service with the platform- and programming-language-independent Franca IDL. Then you generate proxy- and stub-code with the CommonAPI code generator (CommonAPI-Tools). After that implement the stub functions by using the function bodies as they are generated and then implement the client by calling these functions by using the generated proxy. To get executable applications (client and service) generate IPC framework specific code (glue-code) with the binding specific code generator (at the moment there is one for D-Bus and for SOME/IP, see details in the provided documentation). At the end compile it together with the provided runtime libraries (for CommonAPI itself and again a binding specific library, for details see again the provided documentation).
Suggest the guide from here, it's detail.