TAO
2.0.8
|
Functor for refcounting of Asynch_Reply_Dispatcher_Base. More...
#include <Asynch_Reply_Dispatcher_Base.h>
Public Member Functions | |
void | operator() (TAO_Asynch_Reply_Dispatcher_Base *ardb) throw () |
Functor for refcounting of Asynch_Reply_Dispatcher_Base.
This is used to safely handle the destruction of Asynch_Reply_Dispatcher_Base objects which are created on the heap. We cannot use auto_ptr <> since it calls delete on the pointer, and calling delete on Asynch_Reply_Dispatcher_Base * will not work. Hence this functor will be used with Auto_Functor class to handle the memory safely.
void TAO::ARDB_Refcount_Functor::operator() | ( | TAO_Asynch_Reply_Dispatcher_Base * | ardb | ) | throw () |