16 #ifndef QGSMAPLAYERRENDERER_H 17 #define QGSMAPLAYERRENDERER_H 19 #include <QStringList> 21 #include "qgis_core.h" 55 virtual bool render() = 0;
64 QStringList
errors()
const {
return mErrors; }
67 QString
layerId()
const {
return mLayerID; }
74 #endif // QGSMAPLAYERRENDERER_H QgsMapLayerRenderer(const QString &layerID)
Base class for feedback objects to be used for cancellation of something running in a worker thread...
QString layerId() const
Gets access to the ID of the layer rendered by this class.
Base class for utility classes that encapsulate information necessary for rendering of map layers...
QStringList errors() const
Returns list of errors (problems) that happened during the rendering.
virtual QgsFeedback * feedback() const
Access to feedback object of the layer renderer (may be nullptr)