19 #ifndef QGSSERVICEREGISTRY_H 20 #define QGSSERVICEREGISTRY_H 22 #include "qgsconfig.h" 68 QgsService *getService(
const QString &name,
const QString &version = QString() );
101 int unregisterApi(
const QString &name,
const QString &version = QString() );
119 QgsServerApi *getApi(
const QString &name,
const QString &version = QString() );
131 int unregisterService(
const QString &name,
const QString &version = QString() );
138 void init(
const QString &nativeModulepath,
QgsServerInterface *serverIface =
nullptr );
149 typedef QHash<QString, std::shared_ptr<QgsService> > ServiceTable;
150 typedef QHash<QString, std::shared_ptr<QgsServerApi> > ApiTable;
151 typedef QHash<QString, QPair<QString, QString> > VersionTable;
155 ServiceTable mServices;
156 VersionTable mServiceVersions;
158 VersionTable mApiVersions;
Server generic API endpoint abstract base class.
QgsService Class defining interfaces for QGIS server services.
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...
QgsServiceRegistry Class defining the registry manager for QGIS server services.
Class defining the native service module loader for QGIS server services.