Turn ObjectManager to Singleton #426
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think this would be an architectural improvement and I implemented it.
Unfortunately also an external and internal API change. Following adaptions are necessary for user code:
#include <fsfw/objectmanager/ObjectManagerIF.h
needs to be replaced by#include <fsfw/objectmanager/ObjectManager.h
objectManager->
needs to be replaced byObjectManager::instance()->
. Alternatively, the user can store an own instance withexternal ObjectManager* objectManager
somewhere in application code in a special header and assign it at startup. Then, this header needs to be included.Part of #424.