ThreadLocalStorage class. More...

#include <thread_local_storage.h>

Public Member Functions

 ThreadLocalStorage ()
 Constructs a Thread Local Storage object. More...
 
 ~ThreadLocalStorage ()
 

Static Public Member Functions

static std::shared_ptr
< ThreadLocalStorageData
get_variable (const std::string &name)
 Get a variable. More...
 
static void set_variable (const std::string &name, std::shared_ptr< ThreadLocalStorageData > ptr)
 Set a variable. More...
 

Friends

class ThreadLocalStorage_Instance
 

Detailed Description

Constructor & Destructor Documentation

clan::ThreadLocalStorage::ThreadLocalStorage ( )

Constructs a Thread Local Storage object.

clan::ThreadLocalStorage::~ThreadLocalStorage ( )

Member Function Documentation

static std::shared_ptr<ThreadLocalStorageData> clan::ThreadLocalStorage::get_variable ( const std::string name)
static

Get a variable.

static void clan::ThreadLocalStorage::set_variable ( const std::string name,
std::shared_ptr< ThreadLocalStorageData ptr 
)
static

Set a variable.

Friends And Related Function Documentation

friend class ThreadLocalStorage_Instance
friend

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