CernVM-FS  2.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaskCatalogDownload Class Reference

#include <catalog_downloader.h>

Inheritance diagram for TaskCatalogDownload:
Collaboration diagram for TaskCatalogDownload:

Public Member Functions

 TaskCatalogDownload (catalog::SimpleCatalogManager *catalog_mgr, Tube< CatalogItem > *tube_in, Tube< CatalogItem > *tube_counter)
 
- Public Member Functions inherited from TubeConsumer< CatalogItem >
virtual ~TubeConsumer ()
 
- Public Member Functions inherited from Observable< CatalogDownloadResult >
virtual ~Observable ()
 
CallbackPtr RegisterListener (typename BoundClosure< CatalogDownloadResult, DelegateT, ClosureDataT >::CallbackMethod method, DelegateT *delegate, ClosureDataT data)
 
CallbackPtr RegisterListener (typename BoundCallback< CatalogDownloadResult, DelegateT >::CallbackMethod method, DelegateT *delegate)
 
CallbackPtr RegisterListener (typename Callback< CatalogDownloadResult >::CallbackFunction fn)
 
void UnregisterListener (CallbackPtr callback_object)
 
void UnregisterListeners ()
 

Protected Member Functions

virtual void Process (CatalogItem *input_hash)
 
- Protected Member Functions inherited from TubeConsumer< CatalogItem >
 TubeConsumer (Tube< CatalogItem > *tube)
 
virtual void OnTerminate ()
 
- Protected Member Functions inherited from Observable< CatalogDownloadResult >
void RegisterListener (CallbackPtr callback_object)
 
 Observable ()
 
void NotifyListeners (const CatalogDownloadResult &parameter)
 

Private Attributes

Tube< CatalogItem > * tube_counter_
 
catalog::SimpleCatalogManagercatalog_mgr_
 

Additional Inherited Members

- Public Types inherited from Observable< CatalogDownloadResult >
typedef Callbackable
< CatalogDownloadResult >
::CallbackTN
CallbackPtr
 
- Public Types inherited from Callbackable< CatalogDownloadResult >
typedef CallbackBase
< CatalogDownloadResult
CallbackTN
 
- Static Public Member Functions inherited from Callbackable< CatalogDownloadResult >
static CallbackTNMakeClosure (typename BoundClosure< CatalogDownloadResult, DelegateT, ClosureDataT >::CallbackMethod method, DelegateT *delegate, const ClosureDataT &closure_data)
 
static CallbackTNMakeCallback (typename BoundCallback< CatalogDownloadResult, DelegateT >::CallbackMethod method, DelegateT *delegate)
 
static CallbackTNMakeCallback (typename Callback< CatalogDownloadResult >::CallbackFunction function)
 
- Protected Types inherited from Observable< CatalogDownloadResult >
typedef std::set< CallbackPtrCallbacks
 
- Protected Attributes inherited from TubeConsumer< CatalogItem >
Tube< CatalogItem > * tube_
 

Detailed Description

Definition at line 37 of file catalog_downloader.h.

Constructor & Destructor Documentation

TaskCatalogDownload::TaskCatalogDownload ( catalog::SimpleCatalogManager catalog_mgr,
Tube< CatalogItem > *  tube_in,
Tube< CatalogItem > *  tube_counter 
)
inline

Definition at line 41 of file catalog_downloader.h.

Member Function Documentation

void TaskCatalogDownload::Process ( CatalogItem input_hash)
protectedvirtual

Implements TubeConsumer< CatalogItem >.

Definition at line 7 of file catalog_downloader.cc.

Here is the call graph for this function:

Member Data Documentation

catalog::SimpleCatalogManager* TaskCatalogDownload::catalog_mgr_
private

Definition at line 49 of file catalog_downloader.h.

Referenced by Process().

Tube<CatalogItem>* TaskCatalogDownload::tube_counter_
private

Definition at line 48 of file catalog_downloader.h.

Referenced by Process().


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