ACE
6.1.0
|
Defines a default strategy to be followed for cleaning up entries from a map which is the container. More...
#include <Cleanup_Strategies_T.h>
Public Member Functions | |
virtual | ~ACE_Cleanup_Strategy (void) |
Destructor. | |
virtual int | cleanup (CONTAINER &container, KEY *key, VALUE *value) |
The method which will do the cleanup of the entry in the container. |
Defines a default strategy to be followed for cleaning up entries from a map which is the container.
By default the entry to be cleaned up is removed from the container.
ACE_Cleanup_Strategy< KEY, VALUE, CONTAINER >::~ACE_Cleanup_Strategy | ( | void | ) | [virtual] |
Destructor.
int ACE_Cleanup_Strategy< KEY, VALUE, CONTAINER >::cleanup | ( | CONTAINER & | container, |
KEY * | key, | ||
VALUE * | value | ||
) | [virtual] |
The method which will do the cleanup of the entry in the container.
Reimplemented in ACE_Null_Cleanup_Strategy< KEY, VALUE, CONTAINER >, ACE_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >, ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >, and ACE_Recyclable_Handler_Cleanup_Strategy< KEY, VALUE, CONTAINER >.