#include <Cleanup_Func_Registry.h>
Public Methods | |
TAO_Cleanup_Func_Registry (void) | |
Constructor. | |
~TAO_Cleanup_Func_Registry (void) | |
Destructor. | |
size_t | size (void) const |
Return the number of registered cleanup functions. | |
Protected Methods | |
int | register_cleanup_function (ACE_CLEANUP_FUNC func, size_t &slot_id) |
Register a cleanup function. The number of slot the cleanup function is placed is in will match the one reserved for the corresponding thread specific object in the ORB Core TSS resources. The slot_id is returned via the second reference argument. This method returns 0 on failure, and -1 on failure. | |
void | cleanup (ACE_Array_Base<void *> &ts_objects) |
Invoke the corresponding cleanup function on each thread-specific object. | |
Friends | |
class | TAO_ORBInitInfo |
class | TAO_ORB_Core_TSS_Resources |
class | TAO_ORB_Core |
|
Constructor.
|
|
Destructor.
|
|
Invoke the corresponding cleanup function on each thread-specific object.
|
|
Register a cleanup function. The number of slot the cleanup function is placed is in will match the one reserved for the corresponding thread specific object in the ORB Core TSS resources. The slot_id is returned via the second reference argument. This method returns 0 on failure, and -1 on failure.
|
|
Return the number of registered cleanup functions.
|
|
|
|
|
|
|