Skip to content

Commit 0f8f618

Browse files
elpasom-kuhn
authored andcommitted
Added documentation and QgsServer to doxy template
1 parent d5b2e7b commit 0f8f618

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

cmake_templates/Doxyfile.in

+1
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ INPUT = @CMAKE_SOURCE_DIR@/doc \
596596
@CMAKE_SOURCE_DIR@/src/analysis/raster \
597597
@CMAKE_SOURCE_DIR@/src/analysis/vector \
598598
@CMAKE_SOURCE_DIR@/src/plugins \
599+
@CMAKE_SOURCE_DIR@/src/server/qgsserver.h \
599600
@CMAKE_SOURCE_DIR@/src/server/qgscapabilitiescache.h \
600601
@CMAKE_SOURCE_DIR@/src/server/qgsmapserviceexception.h \
601602
@CMAKE_SOURCE_DIR@/src/server/qgsrequesthandler.h \

src/server/qgsserverfilter.h

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class QgsServerInterface;
3434
* after core services have returned to main loop
3535
* * sendResponse() - called just before sending output to FGCI
3636
*/
37-
3837
class SERVER_EXPORT QgsServerFilter
3938
{
4039

src/server/qgsserverinterface.h

+27-2
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,39 @@ class SERVER_EXPORT QgsServerInterface
4141
/** Destructor */
4242
virtual ~QgsServerInterface() = 0;
4343

44+
/**
45+
* Set the request handler
46+
* @param QgsRequestHandler
47+
*/
4448
virtual void setRequestHandler( QgsRequestHandler* requestHandler ) = 0;
49+
50+
/**
51+
* Get pointer to the capabiblities cache
52+
* @return QgsCapabilitiesCache
53+
*/
4554
virtual QgsCapabilitiesCache* capabiblitiesCache() = 0;
55+
56+
/**
57+
* Get pointer to the request handler
58+
* @return QgsRequestHandler
59+
*/
4660
virtual QgsRequestHandler* requestHandler( ) = 0;
61+
62+
/**
63+
* Register a QgsServerFilter
64+
* @param filter the QgsServerFilter to add
65+
* @param priority an optional priority for the filter order
66+
*/
4767
virtual void registerFilter( QgsServerFilter* filter, int priority = 0 ) = 0;
68+
69+
/**
70+
* Return the list of current QgsServerFilter
71+
* @return QgsServerFiltersMap list of QgsServerFilter
72+
*/
4873
virtual QgsServerFiltersMap filters( ) = 0;
49-
/*Pass environment variables to python*/
50-
virtual QString getEnv( const QString& name ) const = 0;
5174

75+
//! Return an enrironment variable, used to pass environment variables to python
76+
virtual QString getEnv( const QString& name ) const = 0;
5277
};
5378

5479
#endif // QGSSERVERINTERFACE_H

src/server/qgsserverplugins.h

+7
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,15 @@ class SERVER_EXPORT QgsServerPlugins
2626
{
2727
public:
2828
explicit QgsServerPlugins();
29+
/**
30+
* Initialise the python plugins
31+
* @param interface QgsServerInterface
32+
* @return bool true on success
33+
*/
2934
static bool initPlugins( QgsServerInterface* interface );
35+
//! Pointer to QgsPythonUtils
3036
static QgsPythonUtils* mPythonUtils;
37+
//! List of available server plugin names
3138
static QStringList mServerPlugins;
3239
};
3340

0 commit comments

Comments
 (0)