Several improvements to the linked lists and how the systems are handled
Description
Several changes:
- Changed the linked lists to store pointers to the data instead of copying the data. The user is thus now responsible for handling the memory.
- Changed the electronic system constructor to be a function that allocates and returns a pointer.
- Added class finalizer for the electronic system.
News snippet
Several improvements to the linked lists and how the systems are handled
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.