QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsserverinterface.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsseerversinterface.h
3  Interface class for exposing functions in 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 #ifndef QGSSERVERINTERFACE_H
20 #define QGSSERVERINTERFACE_H
21 
22 #include "qgscapabilitiescache.h"
23 #include "qgsrequesthandler.h"
24 #include "qgsserverfilter.h"
25 
33 class SERVER_EXPORT QgsServerInterface
34 {
35 
36  public:
37 
40 
42  virtual ~QgsServerInterface() = 0;
43 
48  virtual void setRequestHandler( QgsRequestHandler* requestHandler ) = 0;
49 
54  virtual QgsCapabilitiesCache* capabiblitiesCache() = 0;
55 
60  virtual QgsRequestHandler* requestHandler( ) = 0;
61 
67  virtual void registerFilter( QgsServerFilter* filter, int priority = 0 ) = 0;
68 
73  virtual QgsServerFiltersMap filters( ) = 0;
74 
76  virtual QString getEnv( const QString& name ) const = 0;
77 };
78 
79 #endif // QGSSERVERINTERFACE_H
Class defining I/O filters for Qgis Mapserver and implemented in plugins.
This class is an interface hiding the details of reading input and writing output from/to a wms reque...
A cache for capabilities xml documents (by configuration file path)
QgsServerInterface Class defining interfaces exposed by Qgis Mapserver and made available to plugins...