Skip to content

[ModuleManager] Create an object that keeps all software modules instead of using singletons

Alberto Nidasio requested to merge module-manager-dev into main

The idea of the ModuleManager is to create a good pattern for high level codes like OBSW. In this scenario, you had different modules (like Sensors, Radio, NASController etc..) and to access them we used the singleton pattern. This manager instead registers the single module using templates and allows the user to access different modules by referring to the common interface. This effectively solves also some common mistakes with singletons, like the recursive initialization

Edited by Alvise de'Faveri

Merge request reports

Loading