CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob Struct Reference

#include <catalog_traversal_parallel.h>

Inheritance diagram for swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob:
Collaboration diagram for swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob:

Public Member Functions

 CatalogJob (const std::string &path, const shash::Any &hash, const unsigned tree_level, const uint64_t history_depth, CatalogTN *parent=NULL)
 
void WakeParents ()
 
- Public Member Functions inherited from swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob
 CatalogJob (const std::string &path, const shash::Any &hash, const unsigned tree_level, const uint64_t history_depth, CatalogTN *parent=NULL)
 
bool IsRootCatalog () const
 
CallbackDataTN GetCallbackData () const
 
- Public Member Functions inherited from Observable< int >
virtual ~Observable ()
 
CallbackPtr RegisterListener (typename BoundClosure< int, DelegateT, ClosureDataT >::CallbackMethod method, DelegateT *delegate, ClosureDataT data)
 
CallbackPtr RegisterListener (typename BoundCallback< int, DelegateT >::CallbackMethod method, DelegateT *delegate)
 
CallbackPtr RegisterListener (typename Callback< int >::CallbackFunction fn)
 
void UnregisterListener (CallbackPtr callback_object)
 
void UnregisterListeners ()
 

Public Attributes

atomic_int32 children_unprocessed
 
- Public Attributes inherited from swissknife::CatalogTraversalBase< ObjectFetcherT >::CatalogJob
const std::string path
 
const shash::Any hash
 
const unsigned tree_level
 
const uint64_t history_depth
 
CatalogTNparent
 
std::string catalog_file_path
 
size_t catalog_file_size
 
bool ignore
 
CatalogTNcatalog
 
uint64_t referenced_catalogs
 
bool postponed
 

Additional Inherited Members

- Public Types inherited from Observable< int >
typedef Callbackable< int >
::CallbackTN
CallbackPtr
 
- Public Types inherited from Callbackable< int >
typedef CallbackBase< int > CallbackTN
 
- Static Public Member Functions inherited from Callbackable< int >
static CallbackTNMakeClosure (typename BoundClosure< int, DelegateT, ClosureDataT >::CallbackMethod method, DelegateT *delegate, const ClosureDataT &closure_data)
 
static CallbackTNMakeCallback (typename BoundCallback< int, DelegateT >::CallbackMethod method, DelegateT *delegate)
 
static CallbackTNMakeCallback (typename Callback< int >::CallbackFunction function)
 
- Protected Types inherited from Observable< int >
typedef std::set< CallbackPtrCallbacks
 
- Protected Member Functions inherited from Observable< int >
void RegisterListener (CallbackPtr callback_object)
 
 Observable ()
 
void NotifyListeners (const int &parameter)
 

Detailed Description

template<class ObjectFetcherT>
struct swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob

Definition at line 58 of file catalog_traversal_parallel.h.

Constructor & Destructor Documentation

template<class ObjectFetcherT>
swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob::CatalogJob ( const std::string &  path,
const shash::Any hash,
const unsigned  tree_level,
const uint64_t  history_depth,
CatalogTN parent = NULL 
)
inlineexplicit

Definition at line 60 of file catalog_traversal_parallel.h.

Member Function Documentation

template<class ObjectFetcherT>
void swissknife::CatalogTraversalParallel< ObjectFetcherT >::CatalogJob::WakeParents ( )
inline

Definition at line 70 of file catalog_traversal_parallel.h.

Referenced by swissknife::CatalogTraversalParallel< ObjectFetcherT >::FinalizeJob().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation


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