Smart pointer design
Hi. I am completing the pointers design in WOLF (see this design). I added pointers from StateBlocks to their owners. This will ease up managing their removal properly, as they need to be unregistered from the wolf problem so that this can communicate it to the solver.
My idea is to put all this functionality just inside the StateBlock destructor.
@joanvallve , I think you already had this idea long ago. I think I am facing the same issue, and I think adding the up pointer is the way to go. Especially when derived classes incorporate additional StateBlocks (for example, FrameIMU has two additional blocks).
Up and down pointers are as always: down is shared, up is weak.