Manager of callback functions that are called when specific events of the `QDAlgorithm` class are triggered.
It is possible to register a callback function using the `self.add_callback` method. The callback functions
attached to a specific event are retrieved through the `self.get` method.
We regroup callback function handling in this private class to ease the serialisation of QDAlgorithm and its sub-classes.
Namely, the callback functions provided by the user may not be pickleable. To prevent them to be taken into account during serialisation, we declare a __getstate__ method returning the __dict__ dictionary of object attributes, minus the registered callback function objects. This __getstate__ is not inherited by sub-classes, which make it unadapted to be specified directly in the QDAlgorithm class, as it would force all sub-classes of QDAlgorithm to redefine the __getstate__ method to be pickleable.
Definition at line 140 of file base.py.