Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ImageReadyEvent Class Reference

Resources Definition. More...

#include <huginApp.h>

Inheritance diagram for ImageReadyEvent:
Inheritance graph

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

Resources Definition.

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
inlinevirtual

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: