Wefts::CleanupHandler Class ReferenceCleanup handler interface.
Inheritance diagram for Wefts::CleanupHandler:
[legend]List of all members.
Public Member Functions
|virtual void ||handleCleanup (int code, void *caller=0)=0|
| ||Callback method called on cleanup. |
Cleanup handler interface.
This is a pure abstract interface that is used to create classes that will handle cleanup requests at some point.
- See also:
- Cleanup system
Member Function Documentation
| virtual void Wefts::CleanupHandler::handleCleanup
|| caller = 0
Callback method called on cleanup.
When a thread is terminated (stopped or finished), and a cleanup request have been set, this method is called. Use the code parameter to decide what action among the possible ones must be taken.
|code ||an integer that is passed to determine the kind of action to take|
|caller ||a pointer to the object that requested cleanup; this allows to create generic cleanup routines for several different classes, if the actions to take are somehow repetetive. |
Implemented in Wefts::CondCleanup, Wefts::CriticalSection, Wefts::MoaningThread, Wefts::RingBuffer< _T >, Wefts::RRWMutex, Wefts::RWMutex, Wefts::Semaphore, Wefts::Subscription, and Wefts::XMutex.
The documentation for this class was generated from the following file:
Generated on Sat Mar 13 21:05:44 2004 for Wefts by