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...


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)

Get a variable.

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

Set a variable.

Friends And Related Function Documentation

friend class ThreadLocalStorage_Instance

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