ImageReadyEvent Class Reference

Event for when a requested image finished loading. More...

#include <huginApp.h>

List of all members.

Public Member Functions

 ImageReadyEvent (HuginBase::ImageCache::RequestPtr request, HuginBase::ImageCache::EntryPtr entry)
virtual wxEvent * Clone () const

Public Attributes

HuginBase::ImageCache::RequestPtr request
HuginBase::ImageCache::EntryPtr entry


Detailed Description

Event for when a requested image finished loading.

Glue for HuginBase::ImageCache. We want to load images in a separate thread, but to write safe UI code we handle the redraw when processing a wxEvent.

Definition at line 60 of file huginApp.h.


Constructor & Destructor Documentation

ImageReadyEvent::ImageReadyEvent ( HuginBase::ImageCache::RequestPtr  request,
HuginBase::ImageCache::EntryPtr  entry 
) [inline]

Definition at line 68 of file huginApp.h.

Referenced by Clone().


Member Function Documentation

virtual wxEvent* ImageReadyEvent::Clone (  )  const [inline, virtual]

Definition at line 75 of file huginApp.h.

References entry, ImageReadyEvent(), and request.


Member Data Documentation

HuginBase::ImageCache::EntryPtr ImageReadyEvent::entry

Definition at line 65 of file huginApp.h.

Referenced by Clone(), and huginApp::relayImageLoaded().

HuginBase::ImageCache::RequestPtr ImageReadyEvent::request

Definition at line 64 of file huginApp.h.

Referenced by Clone(), and huginApp::relayImageLoaded().


The documentation for this class was generated from the following file:
Generated on 21 Oct 2014 for Hugintrunk by  doxygen 1.4.7