#include <TSS_Adapter.h>
Public Member Functions | |
ACE_TSS_Adapter (void *object, ACE_THR_DEST f) | |
Initialize the adapter. | |
void | cleanup (void) |
Perform the cleanup operation. | |
Public Attributes | |
void *const | ts_obj_ |
The real TS object. | |
ACE_THR_DEST | func_ |
The real cleanup routine for ts_obj;. |
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_.
Definition at line 40 of file TSS_Adapter.h.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_TSS_Adapter::ACE_TSS_Adapter | ( | void * | object, | |
ACE_THR_DEST | f | |||
) |
Initialize the adapter.
Definition at line 17 of file TSS_Adapter.cpp.
00018 : ts_obj_ (object), 00019 func_ (f) 00020 { 00021 // ACE_TRACE ("ACE_TSS_Adapter::ACE_TSS_Adapter"); 00022 }
void ACE_TSS_Adapter::cleanup | ( | void | ) |
Perform the cleanup operation.
Definition at line 25 of file TSS_Adapter.cpp.
References func_.
Referenced by ACE_TSS_C_cleanup().
00026 { 00027 // ACE_TRACE ("ACE_TSS_Adapter::cleanup"); 00028 (*this->func_)(this->ts_obj_); // call cleanup routine for ts_obj_ 00029 }
ACE_THR_DEST ACE_TSS_Adapter::func_ |
The real cleanup routine for ts_obj;.
Definition at line 55 of file TSS_Adapter.h.
Referenced by cleanup().
void* const ACE_TSS_Adapter::ts_obj_ |