Scroom  0.14
TileInitialisationObserver Class Reference

#include <tiledbitmaplayer.hh>

Inheritance diagram for TileInitialisationObserver:
Inheritance graph
Collaboration diagram for TileInitialisationObserver:
Collaboration graph

Public Types

using Ptr = boost::shared_ptr< TileInitialisationObserver >
 
using WeakPtr = boost::weak_ptr< TileInitialisationObserver >
 

Public Member Functions

virtual void tileCreated (const boost::shared_ptr< CompressedTile > &tile)
 
virtual void tileFinished (const boost::shared_ptr< CompressedTile > &tile)
 TileInitialisationObserver. More...
 

Additional Inherited Members

- Private Member Functions inherited from Interface
 Interface ()=default
 
 Interface (const Interface &)=delete
 
Interfaceoperator= (const Interface &)=delete
 
 Interface (const Interface &&)=delete
 
Interfaceoperator= (const Interface &&)=delete
 
virtual ~Interface ()=default
 

Detailed Description

Events related to filling a tile with data.

Member Typedef Documentation

◆ Ptr

◆ WeakPtr

Member Function Documentation

◆ tileCreated()

void TileInitialisationObserver::tileCreated ( const boost::shared_ptr< CompressedTile > &  tile)
virtual

The tile has been created.

This event will be sent as soon as the observer is registered (because obvously the tile has already been created beforehand).

Note
This event will be sent using the thread that is registering the observer. Be careful with your mutexes :-)
291 {}

◆ tileFinished()

void TileInitialisationObserver::tileFinished ( const boost::shared_ptr< CompressedTile > &  tile)
virtual

TileInitialisationObserver.

This event will be sent when the tile is completely filled with data. This would be a good time to update progress bars and start prescaling.

Note
This event will be sent on the thread that is filling the tile with data.
289 {}

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