#include <Asynch_Reply_Dispatcher_Base.h>
Public Member Functions | |
void | operator() (TAO_Asynch_Reply_Dispatcher_Base *ardb) throw () |
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.
Definition at line 153 of file Asynch_Reply_Dispatcher_Base.h.
ACE_INLINE void TAO::ARDB_Refcount_Functor::operator() | ( | TAO_Asynch_Reply_Dispatcher_Base * | ardb | ) | throw () |
Definition at line 10 of file Asynch_Reply_Dispatcher_Base.inl.
00012 { 00013 (void) ardb->decr_refcount (); 00014 }