ACE
6.3.3
|
This class encapsulates a TSS object and its associated C++ destructor function. It is used by the ACE_TSS... methods (in Synch_T.cpp) in order to allow an extern "C" cleanup routine to be used. More...
#include <TSS_Adapter.h>
Public Member Functions | |
ACE_TSS_Adapter (void *object, ACE_THR_DEST f) | |
Initialize the adapter. More... | |
void | cleanup (void) |
Perform the cleanup operation. More... | |
Public Attributes | |
void *const | ts_obj_ |
The real TS object. More... | |
ACE_THR_DEST | func_ |
The real cleanup routine for ts_obj;. More... | |
This class encapsulates a TSS object and its associated C++ destructor function. It is used by the ACE_TSS... methods (in Synch_T.cpp) in order to allow an extern "C" cleanup routine to be used.
Objects of this class are stored in thread specific storage. ts_obj_ points to the "real" object and func_ is a pointer to the C++ cleanup function for ts_obj_.
ACE_TSS_Adapter::ACE_TSS_Adapter | ( | void * | object, |
ACE_THR_DEST | f | ||
) |
Initialize the adapter.
void ACE_TSS_Adapter::cleanup | ( | void | ) |
Perform the cleanup operation.
ACE_THR_DEST ACE_TSS_Adapter::func_ |
The real cleanup routine for ts_obj;.
void* const ACE_TSS_Adapter::ts_obj_ |
The real TS object.