Skip to content

Commit 0312dbf

Browse files
committedJul 10, 2015
Added server module to dox
Added a server group and module for the server library
1 parent c126592 commit 0312dbf

File tree

6 files changed

+26
-11
lines changed

6 files changed

+26
-11
lines changed
 

‎doc/modules.dox

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ high level tools for carrying out spatial analysis on vector and raster data.
2222

2323
The network analysis library provides high level tool for build topology and analysis it.
2424
*/
25+
26+
27+
/** @defgroup server QGIS Server library.*/

‎src/server/qgsrequesthandler.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,13 @@ class QDomDocument;
3737
class QImage;
3838
class QgsMapServiceException;
3939

40-
/** This class is an interface hiding the details of reading input and writing output from/to a wms request mechanism.
41-
Examples of possible mechanisms are cgi Get, cgi Post, SOAP or the usage as a standalone command line executable*/
40+
/**
41+
* \ingroup server
42+
* This class is an interface hiding the details of reading input and writing
43+
* output from/to a wms request mechanism.
44+
* Examples of possible mechanisms are cgi Get, cgi Post, SOAP or the usage
45+
* as a standalone command line executable
46+
*/
4247
class QgsRequestHandler
4348
{
4449

‎src/server/qgsserver.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,26 @@
4141
#endif
4242

4343

44-
/**
44+
/** \ingroup server
4545
* The QgsServer class provides OGC web services.
4646
*/
47-
class SERVER_EXPORT QgsServer
47+
class SERVER_EXPORT QgsServer
4848
{
4949
public:
5050
QgsServer();
5151
~QgsServer();
5252
/** Server initialisation: intialise QGIS ang QT core application.
5353
* This method is automatically called by handleRequest if it wasn't
54-
* explicitly called before */
54+
* explicitly called before
55+
* @note Not available in Python bindings
56+
*/
5557
static bool init( int & argc, char ** argv );
5658
//! The following is mainly for python bindings, that do not pass argc/argv
5759
static bool init();
5860

59-
/** Handle the request. The output is normally printed trough FCGI printf
61+
/** Handles the request. The output is normally printed trough FCGI printf
6062
* by the request handler or, in case the server has been invoked from python
61-
* bindings, a flag is set that capures all the output headers and body, instead
63+
* bindings, a flag is set that captures all the output headers and body, instead
6264
* of printing it returns the output as a QByteArray.
6365
* When calling handleRequest() from python bindings an additional argument
6466
* specify if we only want the headers or the body back, this is mainly useful

‎src/server/qgsserverfilter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
class QgsServerInterface;
2626

2727
/**
28+
* \ingroup server
2829
* \class QgsServerFilter
2930
* \brief Class defining I/O filters for QGIS Server and
3031
* implemented in plugins.

‎src/server/qgsserverinterface.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "qgsserverfilter.h"
2626

2727
/**
28+
* \ingroup server
2829
* QgsServerInterface
2930
* Class defining interfaces exposed by QGIS Server and
3031
* made available to plugins.

‎src/server/qgsserverplugins.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,18 @@
2424
// This is needed by SIP otherwise it doesn't find QgsPythonUtils header
2525
class QgsPythonUtils;
2626

27+
/**
28+
* @brief Init Python server plugins and store a list of server plugin names
29+
*/
2730
class SERVER_EXPORT QgsServerPlugins
2831
{
2932
public:
3033
explicit QgsServerPlugins();
3134
/**
32-
* Initialise the python plugins
33-
* @param interface QgsServerInterface
34-
* @return bool true on success
35-
*/
35+
* Initialise the python plugins
36+
* @param interface QgsServerInterface
37+
* @return bool true on success
38+
*/
3639
static bool initPlugins( QgsServerInterface* interface );
3740
//! Pointer to QgsPythonUtils
3841
static QgsPythonUtils* mPythonUtils;

0 commit comments

Comments
 (0)
Please sign in to comment.