libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::BatchMapPainterQt Class Reference

#include <libosmscout-map-qt/include/osmscoutmapqt/MapPainterQt.h>

Inheritance diagram for osmscout::BatchMapPainterQt:
Collaboration diagram for osmscout::BatchMapPainterQt:

Public Member Functions

 BatchMapPainterQt (size_t expectedCount)
 ~BatchMapPainterQt () override
bool paint (const Projection &projection, const MapParameter &parameter, QPainter *painter)
Public Member Functions inherited from osmscout::BatchMapPainter< MapPainterQt * >
 BatchMapPainter (size_t expectedCount)
virtual ~BatchMapPainter ()=default
void AddData (const MapDataRef &d, MapPainterQt *&painter)

Additional Inherited Members

Protected Member Functions inherited from osmscout::BatchMapPainter< MapPainterQt * >
bool BatchPaintInternal (const Projection &projection, const MapParameter &parameter)
Protected Attributes inherited from osmscout::BatchMapPainter< MapPainterQt * >
std::vector< MapDataRefdata
std::vector< MapPainterQt * > painters

Detailed Description

Qt specific MapPainterBatch. When given PainterQt instances are used from multiple threads, they should be always added in same order to avoid deadlocks.

Constructor & Destructor Documentation

◆ BatchMapPainterQt()

osmscout::BatchMapPainterQt::BatchMapPainterQt ( size_t expectedCount)
explicit

◆ ~BatchMapPainterQt()

osmscout::BatchMapPainterQt::~BatchMapPainterQt ( )
override

Member Function Documentation

◆ paint()

bool osmscout::BatchMapPainterQt::paint ( const Projection & projection,
const MapParameter & parameter,
QPainter * painter )

The documentation for this class was generated from the following file: