Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

vpr::TSObjectProxyBase Class Reference

Base class for all TS Object proxies. More...

#include <TSObjectProxy.h>

Inheritance diagram for vpr::TSObjectProxyBase:

Inheritance graph
[legend]
List of all members.

Public Methods

 TSObjectProxyBase ()

Static Protected Methods

long generateNewTSKey ()
 Generates a unique key for Thread Specific data. More...


Detailed Description

Base class for all TS Object proxies.

Handles ts key allocation Allows for friendship (if needed)

Definition at line 62 of file TSObjectProxy.h.


Constructor & Destructor Documentation

vpr::TSObjectProxyBase::TSObjectProxyBase   [inline]
 

Definition at line 65 of file TSObjectProxy.h.

00066    {;}


Member Function Documentation

long vpr::TSObjectProxyBase::generateNewTSKey   [static, protected]
 

Generates a unique key for Thread Specific data.

This value will be used locally by each thread in the system.

Definition at line 53 of file TSObjectProxy.cpp.

00054    {
00055       static vpr::Mutex s_ts_key_mutex;
00056       static long       s_next_ts_object_key(0);
00057 
00058       Guard<Mutex> guard(s_ts_key_mutex);
00059       return s_next_ts_object_key++;
00060    }


The documentation for this class was generated from the following files:
Generated on Sun May 2 14:47:14 2004 for VR Juggler Portable Runtime by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002