libosmscout  1.1.1
Public Member Functions | List of all members
osmscout::MapPainterBatchQt Class Reference

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

Inheritance diagram for osmscout::MapPainterBatchQt:
Inheritance graph
[legend]
Collaboration diagram for osmscout::MapPainterBatchQt:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from osmscout::MapPainterBatch< MapPainterQt *>
bool batchPaintInternal (const Projection &projection, const MapParameter &parameter)
 
- Protected Attributes inherited from osmscout::MapPainterBatch< 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

◆ MapPainterBatchQt()

osmscout::MapPainterBatchQt::MapPainterBatchQt ( size_t  expectedCount)

◆ ~MapPainterBatchQt()

osmscout::MapPainterBatchQt::~MapPainterBatchQt ( )
override

Member Function Documentation

◆ paint()

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

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