UDK 3.2.7 C/C++ API Reference
Public Member Functions
osl::ThreadData Class Reference

#include <thread.hxx>

List of all members.

Public Member Functions

 ThreadData (oslThreadKeyCallbackFunction pCallback=0)
 Create a thread specific local data key.
 ~ThreadData ()
 Destroy a thread specific local data key.
sal_Bool setData (void *pData)
 Set the data associated with the data key.
void * getData ()
 Get the data associated with the data key.
 operator oslThreadKey () const

Constructor & Destructor Documentation

osl::ThreadData::ThreadData ( oslThreadKeyCallbackFunction  pCallback = 0) [inline]

Create a thread specific local data key.

osl::ThreadData::~ThreadData ( ) [inline]

Destroy a thread specific local data key.


Member Function Documentation

void* osl::ThreadData::getData ( ) [inline]

Get the data associated with the data key.

Returns:
The data asscoitaed with the data key or NULL if no data was set
osl::ThreadData::operator oslThreadKey ( ) const [inline]
sal_Bool osl::ThreadData::setData ( void *  pData) [inline]

Set the data associated with the data key.

Returns:
True if operation was successfull

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines