Base Framework
Classes | Public Member Functions | List of all members
ThreadKeyImpl Class Reference

Inherits Object.

Inherited by ThreadKey< TYPE > [private], and ThreadKey< ThreadLocalContext > [private].

Classes

class  ThreadKeyException
 Thread key exception. More...
 

Public Member Functions

 ThreadKeyImpl ()
 
void * getKey () const
 
void setKey (void *value)
 
 ~ThreadKeyImpl ()
 

Constructor & Destructor Documentation

◆ ThreadKeyImpl()

ThreadKeyImpl::ThreadKeyImpl ( )

Initializes the key object.

◆ ~ThreadKeyImpl()

ThreadKeyImpl::~ThreadKeyImpl ( )

Destroys the key object.

Member Function Documentation

◆ getKey()

void* ThreadKeyImpl::getKey ( ) const

Returns the key.

◆ setKey()

void ThreadKeyImpl::setKey ( void *  value)

Sets the key.

Parameters
valueThe desired value of the key for the executing thread.