File tree 3 files changed +75
-74
lines changed
3 files changed +75
-74
lines changed Original file line number Diff line number Diff line change @@ -27,35 +27,38 @@ namespace QgsWms
27
27
28
28
/* *
29
29
* \ingroup server
30
- * thiss class provides a proxy for sequential or parallel map render job by
31
- * reading qsettings.
32
- * \since QGIS 3.0
33
- */
30
+ * \ class QgsWms::QgsMapRendererJobProxy
31
+ * \brief Proxy for sequential or parallel map render job by reading qsettings.
32
+ * \since QGIS 3.0
33
+ */
34
34
class QgsMapRendererJobProxy
35
35
{
36
36
public:
37
37
38
38
/* *
39
- * Constructor.
40
- * \param featureFilterProvider Does not take ownership of QgsFeatureFilterProvider
41
- */
39
+ * Constructor for QgsMapRendererJobProxy. Does not take ownership of
40
+ * QgsFeatureFilterProvider.
41
+ * \param parallelRendering True to activate parallel rendering, false otherwise
42
+ * \param maxThreads The number of threads to use in case of parallel rendering
43
+ * \param featureFilterProvider Features filtering
44
+ */
42
45
QgsMapRendererJobProxy (
43
46
bool parallelRendering
44
47
, int maxThreads
45
48
, QgsFeatureFilterProvider *featureFilterProvider
46
49
);
47
50
48
51
/* *
49
- * Sequential or parallel map rendering according to qsettings .
50
- * \param mapSettings passed to MapRendererJob
51
- * \param the rendered image
52
- */
52
+ * Sequential or parallel map rendering according to QSettings .
53
+ * \param mapSettings Passed to MapRendererJob
54
+ * \param image The resulting image
55
+ */
53
56
void render ( const QgsMapSettings &mapSettings, QImage *image );
54
57
55
58
/* *
56
- * Take ownership of the painter used for rendering.
57
- * \returns painter
58
- */
59
+ * Takes ownership of the painter used for rendering.
60
+ * \returns painter
61
+ */
59
62
QPainter *takePainter ();
60
63
61
64
private:
Original file line number Diff line number Diff line change @@ -72,19 +72,17 @@ namespace QgsWms
72
72
QgsServerResponse &response, bool projectSettings = false );
73
73
74
74
/* *
75
- * Create WMS GetCapabilities document
76
- *
77
- * Returns an XML document with the capabilities description (as described in the WMS specs)
75
+ * Creates the WMS GetCapabilities XML document.
76
+ * \param serverIface Interface for plugins
77
+ * \param project Project
78
78
* \param version WMS version
79
- * \param projectSettings If true: add extended project information (does not validate against WMS schema)
79
+ * \param request WMS request
80
+ * \param projectSettings If true, adds extended project information (does not validate against WMS schema)
81
+ * \returns GetCapabilities XML document
80
82
*/
81
83
QDomDocument getCapabilities ( QgsServerInterface *serverIface, const QgsProject *project,
82
- const QString &version, const QgsServerRequest &request, bool projectSettings );
83
-
84
-
85
- } // samespace QgsWms
86
-
84
+ const QString &version, const QgsServerRequest &request,
85
+ bool projectSettings );
86
+ } // namespace QgsWms
87
87
88
88
#endif
89
-
90
-
You can’t perform that action at this time.
0 commit comments