Molybden API
Loading...
Searching...
No Matches
molybden::Download Class Referenceabstract

A download activity. More...

#include <download.hpp>

Inheritance diagram for molybden::Download:
molybden::DownloadEvents

Public Member Functions

virtual DownloadTarget target ()=0
 Returns the download target.
 
virtual bool isInProgress ()=0
 Indicates whether this download is actively progressing.
 
virtual bool isFinished ()=0
 Indicates whether this download is completely finished.
 
virtual bool isCanceled ()=0
 Indicates whether this download is cancelled.
 
virtual bool isInterrupted ()=0
 Indicates whether this download is interrupted.
 
virtual bool isPaused ()=0
 Indicates whether this download is paused.
 
virtual void pause ()=0
 Pauses this download.
 
virtual void resume ()=0
 Resumes this download.
 
virtual void cancel ()=0
 Cancels this download.
 

Additional Inherited Members

- Public Attributes inherited from molybden::DownloadEvents
Event< DownloadFinishedonDownloadFinished
 Invoked when the download has been finished.
 
Event< DownloadCanceledonDownloadCanceled
 Invoked when the download has been canceled.
 
Event< DownloadInterruptedonDownloadInterrupted
 Invoked when the download has been interrupted.
 
Event< DownloadPausedonDownloadPaused
 Invoked when the download has been paused.
 
Event< DownloadUpdatedonDownloadUpdated
 Invoked when the download has been updated.
 

Detailed Description

A download activity.

Member Function Documentation

◆ cancel()

virtual void molybden::Download::cancel ( )
pure virtual

Cancels this download.

Will have no effect when the download is already cancelled.

◆ pause()

virtual void molybden::Download::pause ( )
pure virtual

Pauses this download.

Will have no effect when the download is already paused.

◆ resume()

virtual void molybden::Download::resume ( )
pure virtual

Resumes this download.

Will have no effect when the download is not paused.


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