How moatasemelsayed/vsomeip_helloworld works
Project type and purpose
• This is a C++-based client/server demo using the vsomeip SOME/IP middleware.
• The “fidl” directory holds a FIDL definition (HelloWorld.fidl, HelloWorld.fdepl), which the build pipeline uses to generate proxy and stub code under the client/src-gen and service/src-gen directories.
• There are two standalone executables: HelloWorldClient (in client/) and HelloWorldService (in service/), each built with CMake.
File structure
• Top-level:
• fidl/ – interface definitions
• client/ – client application sources, generated code, CMake build
• service/ – service application sources, generated code, CMake build
• Each of client/ and service/:
• CMakeLists.txt – build configuration
• src-gen/v1/commonapi – auto-generated proxy, stub, deployment code from the FIDL
• src/ – handwritten implementation (HelloWorldClient.cpp, HelloWorldService.cpp, HelloWorldStubImpl.cpp)
• build/ – CMake cache and intermediate files
Final advice
• Be detailed: annotate which files live in src-gen vs src.
• Both build-time code-generation flow and run-time messaging flow.
• Avoid over-splitting: focus on the five core elements above, but note that the build directories simply host intermediates.