QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsserverfilter.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsserverfilter.h
3  Server I/O filters class for Qgis Mapserver 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 #ifndef QGSSERVERFILTER_H
20 #define QGSSERVERFILTER_H
21 
22 #include <QMultiMap>
23 
24 class QgsServerInterface;
25 
37 class SERVER_EXPORT QgsServerFilter
38 {
39 
40  public:
41 
46  QgsServerFilter( QgsServerInterface* serverInterface );
48  virtual ~QgsServerFilter();
50  QgsServerInterface* serverInterface() { return mServerInterface; }
53  virtual void requestReady();
58  virtual void responseComplete();
66  virtual void sendResponse();
67 
68  private:
69 
70  QgsServerInterface* mServerInterface;
71 
72 };
73 
75 
76 
77 #endif // QGSSERVERFILTER_H
QgsServerInterface * serverInterface()
Return the QgsServerInterface instance.
Class defining I/O filters for Qgis Mapserver and implemented in plugins.
QMultiMap< int, QgsServerFilter * > QgsServerFiltersMap
QgsServerInterface Class defining interfaces exposed by Qgis Mapserver and made available to plugins...