Cupt
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions
cupt::download::Manager Class Reference

performs downloads More...

#include <cupt/download/manager.hpp>

List of all members.

Classes

struct  DownloadEntity
 downloadable element More...
struct  ExtendedUri
 uri with aliases More...

Public Member Functions

 Manager (const shared_ptr< const Config > &config, const shared_ptr< Progress > &progress)
 constructor
 ~Manager ()
 destructor
string download (const vector< DownloadEntity > &entities)
 downloads entities in parallel

Detailed Description

performs downloads


Constructor & Destructor Documentation

cupt::download::Manager::Manager ( const shared_ptr< const Config > &  config,
const shared_ptr< Progress > &  progress 
)

constructor

Parameters:
config
progressprogress meter

Member Function Documentation

string cupt::download::Manager::download ( const vector< DownloadEntity > &  entities)

downloads entities in parallel

Parameters:
entitieslist of entities to download
Returns:
empty string when everything went ok, human readable download error from arbitrary failed entity if some entities failed to download

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator