QGIS API Documentation
3.6.0-Noosa (5873452)
|
Class defining the native service module loader for QGIS server services. More...
#include <qgsservicenativeloader.h>
Public Member Functions | |
QgsServiceNativeLoader ()=default | |
Constructor. More... | |
void | loadModules (const QString &modulePath, QgsServiceRegistry ®istrar, QgsServerInterface *serverIface=nullptr) |
Load all modules from path. More... | |
QgsServiceModule * | loadNativeModule (const QString &location) |
Load the native module from path. More... | |
void | unloadModules () |
Unload all modules. More... | |
Class defining the native service module loader for QGIS server services.
This class provides methods for loading and managing hook for native (C++) modules
Definition at line 44 of file qgsservicenativeloader.h.
|
default |
Constructor.
void QgsServiceNativeLoader::loadModules | ( | const QString & | modulePath, |
QgsServiceRegistry & | registrar, | ||
QgsServerInterface * | serverIface = nullptr |
||
) |
Load all modules from path.
modulePath | the path to look for module |
registrar | QgsServiceRegistry instance for registering services |
serverIface | QgsServerInterface instarce |
Definition at line 55 of file qgsservicenativeloader.cpp.
QgsServiceModule * QgsServiceNativeLoader::loadNativeModule | ( | const QString & | location | ) |
Load the native module from path.
location | QString location holding the module relalive path |
Definition at line 85 of file qgsservicenativeloader.cpp.
void QgsServiceNativeLoader::unloadModules | ( | ) |
Unload all modules.
Definition at line 133 of file qgsservicenativeloader.cpp.