ldas-tools-diskcacheAPI 2.7.7
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Types | Private Attributes | List of all members
diskCache::Streams::Registry Class Reference

#include <Registry.hh>

Inheritance diagram for diskCache::Streams::Registry:
Inheritance graph
[legend]
Collaboration diagram for diskCache::Streams::Registry:
Collaboration graph
[legend]

Public Types

typedef INT_4U id_type
 
typedef INT_4U id_type
 
typedef INT_4U id_type
 
typedef std::string ascii_key_type
 
typedef std::string ascii_key_type
 
typedef std::string ascii_key_type
 
typedef boost::shared_ptr< Infoinfo_type
 
typedef boost::shared_ptr< Infoinfo_type
 
typedef boost::shared_ptr< Infoinfo_type
 

Public Member Functions

id_type Register (const Info &Key)
 
id_type Register (const Info &Key)
 
id_type Register (const Info &Key)
 
id_type Id (const std::string &Name) const
 
id_type Id (const std::string &Name) const
 
id_type Id (const std::string &Name) const
 
const info_type GetInfo (id_type Id) const
 
const info_type GetInfo (id_type Id) const
 
const info_type GetInfo (id_type Id) const
 

Static Public Attributes

static const id_type KEY_NULL = id_type( 0 )
 

Protected Types

typedef LDASTools::AL::unordered_map< id_type, info_typeregistry_container_type
 
typedef LDASTools::AL::unordered_map< id_type, info_typeregistry_container_type
 
typedef LDASTools::AL::unordered_map< id_type, info_typeregistry_container_type
 

Protected Member Functions

const registry_container_typeregistry () const
 
const registry_container_typeregistry () const
 
const registry_container_typeregistry () const
 

Private Types

typedef LDASTools::AL::unordered_map< std::string, id_typeregistry_name_container_type
 
typedef LDASTools::AL::unordered_map< std::string, id_typeregistry_name_container_type
 
typedef LDASTools::AL::unordered_map< std::string, id_typeregistry_name_container_type
 

Private Attributes

registry_container_type m_info
 
registry_name_container_type m_name_info
 
id_type m_max_id
 

Member Typedef Documentation

◆ ascii_key_type [1/3]

typedef std::string diskCache::Common::Registry::ascii_key_type
inherited

◆ ascii_key_type [2/3]

typedef std::string diskCache::Common::Registry::ascii_key_type
inherited

◆ ascii_key_type [3/3]

typedef std::string diskCache::Common::Registry::ascii_key_type
inherited

◆ id_type [1/3]

typedef INT_4U diskCache::Common::Registry::id_type
inherited

◆ id_type [2/3]

typedef INT_4U diskCache::Common::Registry::id_type
inherited

◆ id_type [3/3]

typedef INT_4U diskCache::Common::Registry::id_type
inherited

◆ info_type [1/3]

typedef boost::shared_ptr< Info > diskCache::Common::Registry::info_type
inherited

◆ info_type [2/3]

typedef boost::shared_ptr< Info > diskCache::Common::Registry::info_type
inherited

◆ info_type [3/3]

typedef boost::shared_ptr< Info > diskCache::Common::Registry::info_type
inherited

◆ registry_container_type [1/3]

typedef LDASTools::AL::unordered_map< id_type, info_type > diskCache::Common::Registry::registry_container_type
protectedinherited

◆ registry_container_type [2/3]

typedef LDASTools::AL::unordered_map< id_type, info_type > diskCache::Common::Registry::registry_container_type
protectedinherited

◆ registry_container_type [3/3]

typedef LDASTools::AL::unordered_map< id_type, info_type > diskCache::Common::Registry::registry_container_type
protectedinherited

◆ registry_name_container_type [1/3]

typedef LDASTools::AL::unordered_map< std::string, id_type > diskCache::Common::Registry::registry_name_container_type
privateinherited

◆ registry_name_container_type [2/3]

typedef LDASTools::AL::unordered_map< std::string, id_type > diskCache::Common::Registry::registry_name_container_type
privateinherited

◆ registry_name_container_type [3/3]

typedef LDASTools::AL::unordered_map< std::string, id_type > diskCache::Common::Registry::registry_name_container_type
privateinherited

Member Function Documentation

◆ GetInfo() [1/3]

const Registry::info_type diskCache::Common::Registry::GetInfo ( id_type  Id) const
inlineinherited

◆ GetInfo() [2/3]

const info_type diskCache::Common::Registry::GetInfo ( id_type  Id) const
inherited

◆ GetInfo() [3/3]

const info_type diskCache::Common::Registry::GetInfo ( id_type  Id) const
inherited

◆ Id() [1/3]

Registry::id_type diskCache::Common::Registry::Id ( const std::string &  Name) const
inlineinherited
Todo:
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.
Todo:
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.
Todo:
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.

◆ Id() [2/3]

id_type diskCache::Common::Registry::Id ( const std::string &  Name) const
inherited

◆ Id() [3/3]

id_type diskCache::Common::Registry::Id ( const std::string &  Name) const
inherited

◆ Register() [1/3]

Registry::id_type diskCache::Common::Registry::Register ( const Info Key)
inherited
Todo:
Lock the registry because changes are going to happen

◆ Register() [2/3]

id_type diskCache::Common::Registry::Register ( const Info Key)
inherited

◆ Register() [3/3]

id_type diskCache::Common::Registry::Register ( const Info Key)
inherited

◆ registry() [1/3]

const Registry::registry_container_type & diskCache::Common::Registry::registry ( ) const
inlineprotectedinherited

◆ registry() [2/3]

const registry_container_type & diskCache::Common::Registry::registry ( ) const
protectedinherited

◆ registry() [3/3]

const registry_container_type & diskCache::Common::Registry::registry ( ) const
protectedinherited

Member Data Documentation

◆ KEY_NULL

static const id_type diskCache::Common::Registry::KEY_NULL = id_type( 0 )
staticinherited

◆ m_info

registry_container_type diskCache::Common::Registry::m_info
privateinherited

◆ m_max_id

id_type diskCache::Common::Registry::m_max_id
privateinherited

◆ m_name_info

registry_name_container_type diskCache::Common::Registry::m_name_info
privateinherited

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