zypp::Fetcher::Impl Struct Reference

Fetcher implementation. More...

List of all members.

Public Member Functions

void enqueue (const OnMediaLocation &resource, const FileChecker &checker)
void enqueueDigested (const OnMediaLocation &resource, const FileChecker &checker)
void addCachePath (const Pathname &cache_dir)
void reset ()
void start (const Pathname &dest_dir, MediaSetAccess &media, const ProgressData::ReceiverFnc &progress_receiver)

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 Offer default Impl.

Private Member Functions

Implclone () const
 clone for RWCOW_pointer

Private Attributes

std::list
< FetcherJob_Ptr
_resources
std::list< Pathname > _caches

Friends

Implr (const Impl *rhs)

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const Fetcher::Impl &obj)
 Stream output.


Detailed Description

Fetcher implementation.

Definition at line 56 of file Fetcher.cc.


Member Function Documentation

void zypp::Fetcher::Impl::enqueue ( const OnMediaLocation resource,
const FileChecker checker 
)

Definition at line 99 of file Fetcher.cc.

References _resources.

void zypp::Fetcher::Impl::enqueueDigested ( const OnMediaLocation resource,
const FileChecker checker 
)

Definition at line 88 of file Fetcher.cc.

References _resources, and zypp::OnMediaLocation::checksum().

void zypp::Fetcher::Impl::addCachePath ( const Pathname &  cache_dir  ) 

Definition at line 114 of file Fetcher.cc.

References _caches, and ERR.

void zypp::Fetcher::Impl::reset (  ) 

Definition at line 108 of file Fetcher.cc.

References _caches, and _resources.

void zypp::Fetcher::Impl::start ( const Pathname &  dest_dir,
MediaSetAccess media,
const ProgressData::ReceiverFnc progress_receiver 
)

Definition at line 128 of file Fetcher.cc.

References _caches, _resources, zypp::filesystem::assert_dir(), zypp::filesystem::copy(), ERR, zypp::filesystem::is_checksum(), MIL, zypp::Exception::msg(), zypp::MediaSetAccess::provideFile(), ZYPP_CAUGHT, ZYPP_RETHROW, and ZYPP_THROW.

static shared_ptr<Impl> zypp::Fetcher::Impl::nullimpl (  )  [inline, static]

Offer default Impl.

Definition at line 70 of file Fetcher.cc.

Impl* zypp::Fetcher::Impl::clone (  )  const [inline, private]

clone for RWCOW_pointer

Definition at line 79 of file Fetcher.cc.


Friends And Related Function Documentation

Impl* r ( const Impl rhs  )  [friend]

std::ostream & operator<< ( std::ostream &  str,
const Fetcher::Impl obj 
) [related]

Stream output.

Definition at line 241 of file Fetcher.cc.


Member Data Documentation

std::list<FetcherJob_Ptr> zypp::Fetcher::Impl::_resources [private]

Definition at line 82 of file Fetcher.cc.

Referenced by enqueue(), enqueueDigested(), reset(), and start().

std::list<Pathname> zypp::Fetcher::Impl::_caches [private]

Definition at line 83 of file Fetcher.cc.

Referenced by addCachePath(), reset(), and start().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:14 2007 for libzypp by  doxygen 1.5.3