UZI::DownloadJob Class Reference

#include <DownloadJob.hpp>

List of all members.


Detailed Description

This is the main window for UZI This window will handle all the component UZI requires and provide the unlimited zoom capabilities.


Public Member Functions

 DownloadJob ()
 Default constructor.
bool queueItemToFetch (volatile Cache::Item *_item, juce::String *commTo=0)
 Queue an item to download.
virtual juce::ThreadPoolJob::JobStatus runJob ()
 This callback is called when the job is ready to be running.
 ~DownloadJob ()
 And its destructor.


Constructor & Destructor Documentation

UZI::DownloadJob::DownloadJob (  )  [inline]

Default constructor.

UZI::DownloadJob::~DownloadJob (  )  [inline]

And its destructor.

Typical usage case will release the item in the cache to handle it after the job is done. However, it case the job doesn't finish before being deleted, the item is deleted accordingly.


Member Function Documentation

bool UZI::DownloadJob::queueItemToFetch ( volatile Cache::Item _item,
juce::String *  commTo = 0 
) [inline]

Queue an item to download.

Returns:
false if this job is currently running or the item is already set up

juce::ThreadPoolJob::JobStatus UZI::DownloadJob::runJob (  )  [virtual]

This callback is called when the job is ready to be running.


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

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is