QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
server
qgsservicemodule.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsservicemodule.h
3
4
Class defining the service module interface for QGIS server services.
5
-------------------
6
begin : 2016-12-05
7
copyright : (C) 2016 by David Marteau
8
email : david dot marteau at 3liz dot com
9
***************************************************************************/
10
11
/***************************************************************************
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* *
18
***************************************************************************/
19
20
21
#ifndef QGSSERVICEMODULE_H
22
#define QGSSERVICEMODULE_H
23
24
#include "qgis_server.h"
25
26
class
QgsServiceRegistry
;
27
class
QgsServerInterface
;
28
40
class
SERVER_EXPORT
QgsServiceModule
41
{
42
public
:
43
QgsServiceModule
() =
default
;
44
virtual
~QgsServiceModule
() =
default
;
45
51
virtual
void
registerSelf
(
QgsServiceRegistry
®istry,
QgsServerInterface
*serverIface =
nullptr
) = 0;
52
};
53
54
#endif
QgsServerInterface
Defines interfaces exposed by QGIS Server and made available to plugins.
Definition
qgsserverinterface.h:61
QgsServiceModule::QgsServiceModule
QgsServiceModule()=default
QgsServiceModule::~QgsServiceModule
virtual ~QgsServiceModule()=default
QgsServiceModule::registerSelf
virtual void registerSelf(QgsServiceRegistry ®istry, QgsServerInterface *serverIface=nullptr)=0
Asks the module to register all provided services.
QgsServiceRegistry
A registry manager for QGIS server services.
Definition
qgsserviceregistry.h:49
Generated on
for QGIS API Documentation by
1.15.0