HuginBase::PanoramaObserver Class Reference

this handler class will receive change events from the Panorama. More...

#include <PanoramaData.h>

Inheritance diagram for HuginBase::PanoramaObserver:

Inheritance graph
List of all members.

Public Member Functions

virtual ~PanoramaObserver ()
virtual void panoramaChanged (PanoramaData &pano)=0
 Notification about a Panorama change.
virtual void panoramaImagesChanged (PanoramaData &pano, const UIntSet &changed)=0
 notifies about changes to images

Detailed Description

this handler class will receive change events from the Panorama.

Maybe a fine grained event interface is better, but it can be added later.

Definition at line 728 of file PanoramaData.h.

Constructor & Destructor Documentation

virtual HuginBase::PanoramaObserver::~PanoramaObserver (  )  [inline, virtual]

Reimplemented in PT::PanoramaObserver.

Definition at line 733 of file PanoramaData.h.

Member Function Documentation

virtual void HuginBase::PanoramaObserver::panoramaChanged ( PanoramaData pano  )  [pure virtual]

Notification about a Panorama change.

This function will always be called, even when the change could be handled by panoramaImageAdded() or other notify functions.

This allows lazy observers to just listen to panoramaChanged().

Implemented in OverviewOutlinesTool, PreviewLayoutLinesTool, ViewState, and PT::PanoramaObserver.

virtual void HuginBase::PanoramaObserver::panoramaImagesChanged ( PanoramaData pano,
const UIntSet changed 
) [pure virtual]

notifies about changes to images

Images might have been added/removed. to find out how many images are still there, use Panorama::getNrOfImages.

pano the panorama object that changed
changed set of changed images

Implemented in OverviewOutlinesTool, PreviewLayoutLinesTool, and ViewState.

The documentation for this class was generated from the following file:
Generated on 29 May 2015 for Hugintrunk by  doxygen 1.4.7