WSL/SLF GitLab Repository

Skip to content
  • Thomas Egger's avatar
    The plugins are no longer separately loadable libraries, but are fully... · 5fadda07
    Thomas Egger authored
    The plugins are no longer separately loadable libraries, but are fully incorporated into libmeteoio. All classes and facilities that provided capabilites for the dynamic loading were deleted (DynamicLibrary). IOPlugin now holds a function pointer to an instantiation function for children of IOInterface. In IOHandler::registerPlugins() all plugins need to be registered with the key name, the class name, a pointer to an instance of the class and a function pointer to the instantiation function for the class (child of IOInterface). IOInterface lost some complexity and thus the constructor of the base class does not have to be called in derived classes anymore.
    
    The CMakeLists.txt files had to be updated to no longer make separate dynamically loadable libraries for each plugin, but to simply add the classes the user selectes to the meteoio library. 
    
    As a side effect the io.ini key GENERAL::PLUGINPATH is no longer necessary.
    5fadda07