#include <TSObjectProxy.h>
Inheritance diagram for vpr::TSObjectProxy:


Public Methods | |
| TSObjectProxy () | |
| Constructor for proxy. More... | |
| ~TSObjectProxy () | |
| Destructor. More... | |
| T * | operator-> () |
| T & | operator * () |
This allows users to have an object that has a seperate copy for each thread.
NOTE: The object used for type T must have a default constructor This class creates each instance of the real objects using this default constructor.
Uses TSObject<> internally to keep some type information
@usage vpr::TSObjectProxy<obj_type> var; (*var).method();
Definition at line 93 of file TSObjectProxy.h.
|
|||||||||
|
Constructor for proxy.
Definition at line 97 of file TSObjectProxy.h.
00097 : mObjectKey(-1)
00098 {
00099 // Get a TS key for the object(s) that this will proxy
00100 mObjectKey = TSObjectProxyBase::generateNewTSKey();
00101 }
|
|
|||||||||
|
Destructor. This does nothing. Definition at line 104 of file TSObjectProxy.h.
00105 {;}
|
|
|||||||||
|
Definition at line 107 of file TSObjectProxy.h.
00108 { return getSpecific(); }
|
|
|||||||||
|
Definition at line 110 of file TSObjectProxy.h.
00111 { return *getSpecific();}
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002