Turn ObjectManager to Singleton #426
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#426
Loading…
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.