QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
3
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
c
l
s
t
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
server
qgsserverfilter.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsserverfilter.h
3
Server I/O filters class for QGIS Server for use by plugins
4
-------------------
5
begin : 2014-09-10
6
copyright : (C) 2014 by Alessandro Pasotti
7
email : a dot pasotti at itopen dot it
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
19
20
#ifndef QGSSERVERFILTER_H
21
#define QGSSERVERFILTER_H
22
23
#include <QMultiMap>
24
#include "qgis_server.h"
25
#include "
qgis_sip.h
"
26
27
SIP_IF_MODULE
( HAVE_SERVER_PYTHON_PLUGINS )
28
29
class
QgsServerInterface
;
30
43
class
SERVER_EXPORT
QgsServerFilter
44
{
45
46
public
:
47
53
QgsServerFilter
(
QgsServerInterface
*serverInterface );
54
55
virtual
~
QgsServerFilter
() =
default
;
56
58
QgsServerInterface
*
serverInterface
() {
return
mServerInterface; }
59
69
Q_DECL_DEPRECATED
virtual
void
requestReady()
SIP_DEPRECATED
;
70
81
Q_DECL_DEPRECATED virtual
void
responseComplete()
SIP_DEPRECATED
;
82
96
Q_DECL_DEPRECATED virtual
void
sendResponse()
SIP_DEPRECATED
;
97
106
virtual
bool
onRequestReady();
107
117
virtual
bool
onResponseComplete();
118
131
virtual
bool
onSendResponse();
132
133
134
135
private:
136
QgsServerInterface
*mServerInterface =
nullptr
;
137
138
};
139
140
typedef QMultiMap<
int
,
QgsServerFilter
*>
QgsServerFiltersMap
;
141
142
#endif // QGSSERVERFILTER_H
QgsServerFilter::serverInterface
QgsServerInterface * serverInterface()
Returns the QgsServerInterface instance.
Definition:
qgsserverfilter.h:58
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition:
qgis_sip.h:106
QgsServerFilter
Class defining I/O filters for QGIS Server and implemented in plugins.
Definition:
qgsserverfilter.h:43
qgis_sip.h
SIP_IF_MODULE
#define SIP_IF_MODULE(condition)
Definition:
qgis_sip.h:28
QgsServerFiltersMap
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
Definition:
qgsserverfilter.h:140
QgsServerInterface
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Definition:
qgsserverinterface.h:60
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17