ldas-tools-diskcacheAPI  2.6.3
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
diskCache::Cache::Devices Class Reference

#include <Devices.hh>

Inheritance diagram for diskCache::Cache::Devices:

Classes

class  UnaryFunction
 

Public Types

typedef Device::id_type id_type
 
typedef boost::shared_ptr< Deviceelement_type
 
typedef LDASTools::AL::unordered_map< id_type, element_typecontainer_type
 
typedef std::map< std::string, element_typepath_mapping_type
 

Public Member Functions

 Devices ()
 
 ~Devices ()
 

Static Public Member Functions

static element_type Find (id_type Id)
 
static element_type Find (const std::string &Path)
 
static element_type Find (const std::string &Path, id_type Id)
 
static void ForEach (UnaryFunction &Func)
 
static bool IsOffline (const std::string &Path)
 

Protected Member Functions

virtual task_type * Task ()
 
virtual void operator() ()
 

Member Typedef Documentation

◆ container_type

typedef LDASTools::AL::unordered_map< id_type, element_type > diskCache::Cache::Devices::container_type

◆ element_type

typedef boost::shared_ptr< Device > diskCache::Cache::Devices::element_type

◆ id_type

◆ path_mapping_type

Constructor & Destructor Documentation

◆ Devices()

diskCache::Cache::Devices::Devices ( )

◆ ~Devices()

diskCache::Cache::Devices::~Devices ( )

Member Function Documentation

◆ Find() [1/3]

Devices::element_type diskCache::Cache::Devices::Find ( id_type  Id)
static

◆ Find() [2/3]

Devices::element_type diskCache::Cache::Devices::Find ( const std::string &  Path)
static

◆ Find() [3/3]

Devices::element_type diskCache::Cache::Devices::Find ( const std::string &  Path,
id_type  Id 
)
static

◆ ForEach()

void diskCache::Cache::Devices::ForEach ( UnaryFunction Func)
static

◆ IsOffline()

bool diskCache::Cache::Devices::IsOffline ( const std::string &  Path)
static

◆ operator()()

void diskCache::Cache::Devices::operator() ( )
protectedvirtual

◆ Task()

Devices::task_type * diskCache::Cache::Devices::Task ( )
protectedvirtual

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