# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CTDS Class Reference

Thread dependant storage class. More...

#include <tds.h>

List of all members.

Public Methods

 CTDS ()
 Constructor. The pointer is initialized with NULL. More...

 ~CTDS ()
 Destructor. More...

void * getPointer () const
 Get the thread specific pointer. More...

void setPointer (void *pointer)
 Set the thread specific pointer. More...


Private Attributes

pthread_key_t _Key


Detailed Description

Thread dependant storage class.

This class provides a thread specific (void*). It is initialized at NULL.

Author:
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2002

Definition at line 46 of file tds.h.


Constructor & Destructor Documentation

NLMISC::CTDS::CTDS  
 

Constructor. The pointer is initialized with NULL.

Definition at line 41 of file tds.cpp.

References _Key.

NLMISC::CTDS::~CTDS  
 

Destructor.

Definition at line 55 of file tds.cpp.

References _Key, and nlverify.


Member Function Documentation

void * NLMISC::CTDS::getPointer   const
 

Get the thread specific pointer.

Definition at line 66 of file tds.cpp.

References _Key.

void NLMISC::CTDS::setPointer void *    pointer
 

Set the thread specific pointer.

Definition at line 77 of file tds.cpp.

References _Key, nlverify, and pointer.


Member Data Documentation

pthread_key_t NLMISC::CTDS::_Key [private]
 

Definition at line 66 of file tds.h.

Referenced by CTDS, getPointer, setPointer, and ~CTDS.


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