Improve Subsystem DHB logic #112

Merged
muellerr merged 16 commits from mueller/improve-ss-dhb-logic into develop 2022-11-02 10:32:27 +01:00
Owner
  • Improved API and logic for mode tree build up
  • Dedicated interfaces to expose mode tree functionality
    • ModeTreeChildIF for objects which can be mode tree children
    • HasModeTreeChildrenIF for parent objects
    • ModeTreeConnectionIF for connecting parent and child
  • The EIVE SW was developed with the V-model, which means that lower level components like assemblies, device handlers and controllers are developed first. The previous implementation meant that objects::NO_OBJECT was passed as the parent parameter everywhere. The parent is now not passed to base classes like SubsystemBase and ControllerBase anymore, and there is a deciated function connectModeTreeParent exposed by the ModeTreeConnectionIF to connect a parent component to a mode tree child.
  • The new connector function does everything in one place: Registering the child in the parent, and setting the parent command queue in the children. This means there is no confusion about the call direction anymore: This function does both.
  • DHB is now a regular mode tree object, no need for the ChildHandler just to attach it to a subsystem. In my opinion, not every satellite has or needs an assembly for every device handler
- Improved API and logic for mode tree build up - Dedicated interfaces to expose mode tree functionality - `ModeTreeChildIF` for objects which can be mode tree children - `HasModeTreeChildrenIF` for parent objects - `ModeTreeConnectionIF` for connecting parent and child - The EIVE SW was developed with the V-model, which means that lower level components like assemblies, device handlers and controllers are developed first. The previous implementation meant that `objects::NO_OBJECT` was passed as the parent parameter everywhere. The parent is now not passed to base classes like `SubsystemBase` and `ControllerBase` anymore, and there is a deciated function `connectModeTreeParent` exposed by the `ModeTreeConnectionIF` to connect a parent component to a mode tree child. - The new connector function does everything in one place: Registering the child in the parent, and setting the parent command queue in the children. This means there is no confusion about the call direction anymore: This function does both. - DHB is now a regular mode tree object, no need for the ChildHandler just to attach it to a subsystem. In my opinion, not every satellite has or needs an assembly for every device handler
muellerr added 8 commits 2022-09-30 15:21:02 +02:00
muellerr changed title from Improve Subsystem DHB logic to WIP: Improve Subsystem DHB logic 2022-09-30 15:28:26 +02:00
muellerr added 1 commit 2022-10-10 10:28:52 +02:00
muellerr added 1 commit 2022-10-10 10:46:20 +02:00
muellerr added 1 commit 2022-10-10 11:06:57 +02:00
muellerr changed title from WIP: Improve Subsystem DHB logic to Improve Subsystem DHB logic 2022-10-20 14:25:26 +02:00
muellerr added 1 commit 2022-10-20 17:00:19 +02:00
muellerr added 1 commit 2022-10-21 15:35:27 +02:00
muellerr added 1 commit 2022-10-27 08:30:26 +02:00
muellerr added 1 commit 2022-10-27 16:58:26 +02:00
muellerr added 1 commit 2022-11-02 10:31:48 +01:00
muellerr merged commit 7600ed1ea7 into develop 2022-11-02 10:32:26 +01:00
muellerr deleted branch mueller/improve-ss-dhb-logic 2022-11-02 10:32:31 +01:00
Sign in to join this conversation.
No description provided.