How breakersol/activityframework works
Project Type and Purpose
• This is a modular C++ framework (“Activity Framework”) that provides compile-time reflection, serialization, signal-slot connections, asynchronous Activities, Pipelines, and a Thread Pool for building complex C++ applications.
• It is distributed as a C++ library with accompanying unit tests (GoogleTest) and benchmarks (Google Benchmark), built via CMake.
File Structure Analysis
• Top-level:
• CMakeLists.txt, .github/workflows/cmake.yml – build and CI configuration
• LICENSE, README.md
• ActivityFramework/
• CMakeLists.txt – defines library target
• Src/Components/ – implementation and headers for each module: TA_MetaReflex, TA_Serializer, TA_Connection, TA_Activity*, TA_Pipeline*, TA_ThreadPool, TA_Variant, TA_Buffer, etc.
• Global header: TA_ActivityFramework_global.h
• Benchmark/
• CMakeLists.txt, bundled Google Benchmark source under benchmark-1.9.0/ – produces benchmark executable
• Test/
• CMakeLists.txt, ActivityFrameworkTest/ – unit tests for each component
• ThirdParty/googletest/ – embedded GoogleTest framework
Insights from README
• Features are organized into independent modules that rely only on the C++ Standard Library.
• Build requires CMake 3.20+, compiles library, test and benchmark executables.
• Usage examples show tight coupling between reflection info and serializer, connection, activity creation.