Add server init hook to Device
With this modification, we allow the users of the Device class to override the server_init_hook method from python. We added this possibility to Device_5Impl only, but it could be extended to the remaining devices. What should be the criteria when implementing this kind of change i.e. When to add functionality to a given Device_XImpl?
Note that the server_init_hook is only available in cppTango main branch (9.4.X). In the last Tango Kernel follow-up meeting, we said to study if it's possible to backport it to 9.3.X. As of today, the CI will fail because the current version of cppTango is 9.3.X.
We also add a test:
- "test_server_init_hook", to test if the hook is called and works.
We found that server_init_hook does not allow to subscribe to events on devices from the same server, this was addressed in cppTango!843 (merged). It would be nice to test also this scenario. Where should by added this test, in cppTango or Pytango?