* update the CMakeLists
- remove the deprecated commands ('PythonInterp', ...)
(https://cmake.org/cmake/help/latest/module/FindPythonInterp.html)
- change the CMake minimum version from 3.8 to 3.12 (released in July 2018)
* rename the libiec61850 Python module into 'pyiec61850'
- to avoid name conflict with the name for the C static lib
- the build artifacts are now 'pyiec61850.py' and '_pyiec61850.so'
Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
The 'callback' function is a part of the 'Subscriber' class.
Once the 'event' (or asynchronous message) is received, the 'Subscriber' object
forwards the data to the 'Handler' object.
With this approach, the 'event' processing algorithm can be defined
in a Python subclass by the user.
Each 'subscriber' class has a function that matches the C function pointer.
But this function is a static method, shared with all instances of the class.
In order to dispatch the message/data to the right instance,
we maintain a dictionary of instantiated objects.
Therfore, we have added the following internal services :
* bool registerNewSubscriber(EventSubscriber*, id);
* EventSubscriber* findSubscriber(id);
* void unregisterSubscriber(id);
* Python wrapper: add an 'include' directive to have access to the 'mms_type'
* Python wrapper: add an 'include' directive to include the ConfigFileParser API