ldas-tools-al  2.6.7
Public Types | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
thread_registry Class Reference
Inheritance diagram for thread_registry:
Inheritance graph
[legend]
Collaboration diagram for thread_registry:
Collaboration graph
[legend]

Public Types

typedef Thread::thread_type::handle_type key_type
 
typedef Threadvalue_type
 

Static Public Member Functions

static void Add (key_type Key, value_type Value)
 
static value_type Get (key_type Key)
 
static void Remove (key_type Key)
 
static key_type Self ()
 
static thread_registryInstance ()
 
static thread_registryInstance ()
 
static thread_registryInstance ()
 

Private Types

typedef unordered_map< key_type, value_type, std::hash< key_type > > thread_registry_type
 

Private Member Functions

void add (key_type Key, value_type Value)
 
value_type get (key_type Key)
 
void remove (key_type Key)
 

Private Attributes

ReadWriteLock::baton_type baton_
 
thread_registry_type storage_
 

Member Typedef Documentation

◆ key_type

typedef Thread::thread_type::handle_type thread_registry::key_type

◆ thread_registry_type

typedef unordered_map< key_type, value_type, std::hash< key_type > > thread_registry::thread_registry_type
private

◆ value_type

Member Function Documentation

◆ Add()

static void thread_registry::Add ( key_type  Key,
value_type  Value 
)
static

◆ add()

void thread_registry::add ( thread_registry::key_type  Key,
thread_registry::value_type  Value 
)
private

◆ Get()

thread_registry::value_type thread_registry::Get ( key_type  Key)
static

◆ get()

thread_registry::value_type thread_registry::get ( thread_registry::key_type  Key)
private

◆ Instance() [1/3]

static thread_registry & LDASTools::AL::Singleton< thread_registry >::Instance ( )
staticinherited

◆ Instance() [2/3]

static thread_registry & LDASTools::AL::Singleton< thread_registry >::Instance ( )
staticinherited

◆ Instance() [3/3]

static thread_registry & LDASTools::AL::Singleton< thread_registry >::Instance ( )
staticinherited

◆ Remove()

void thread_registry::Remove ( key_type  Key)
static

◆ remove()

void thread_registry::remove ( thread_registry::key_type  Key)
private

◆ Self()

thread_registry::key_type thread_registry::Self ( )
inlinestatic

Member Data Documentation

◆ baton_

ReadWriteLock::baton_type thread_registry::baton_
private

◆ storage_

thread_registry_type thread_registry::storage_
private

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