QGIS API Documentation  2.14.0-Essen
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 
25 class QgsServerInterface;
26 
39 class SERVER_EXPORT QgsServerFilter
40 {
41 
42  public:
43 
48  QgsServerFilter( QgsServerInterface* serverInterface );
50  virtual ~QgsServerFilter();
52  QgsServerInterface* serverInterface() { return mServerInterface; }
55  virtual void requestReady();
60  virtual void responseComplete();
68  virtual void sendResponse();
69 
70  private:
71 
72  QgsServerInterface* mServerInterface;
73 
74 };
75 
77 
78 #endif // QGSSERVERFILTER_H
QgsServerInterface * serverInterface()
Return the QgsServerInterface instance.
Class defining I/O filters for QGIS Server and implemented in plugins.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins...