Leader_Follower.cpp File Reference

#include "ace/Countdown_Time.h"
#include "ace/OS_NS_sys_time.h"
#include "ace/Reactor.h"
#include "tao/Leader_Follower.h"
#include "tao/LF_Follower_Auto_Ptr.h"
#include "tao/LF_Follower_Auto_Adder.h"
#include "tao/LF_Event_Binder.h"
#include "tao/debug.h"
#include "tao/Transport.h"
#include "tao/GUIResource_Factory.h"
#include "tao/ORB_Core.h"
Include dependency graph for Leader_Follower.cpp:

Go to the source code of this file.

Functions

 ACE_RCSID (tao, Leader_Follower,"$Id: Leader_Follower.cpp 85406 2009-05-20 09:07:56Z johnnyw $") 1 TAO_Leader_Follower

Function Documentation

ACE_RCSID ( tao  ,
Leader_Follower  ,
"$Id: Leader_Follower.cpp 85406 2009-05-20 09:07:56Z johnnyw $"   
)

Definition at line 20 of file Leader_Follower.cpp.

00022                : Leader_Follower.cpp 85406 2009-05-20 09:07:56Z johnnyw $")
00023 
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 TAO_Leader_Follower::~TAO_Leader_Follower (void)
00028 {
00029   while (!this->follower_free_list_.empty ())
00030     {
00031       TAO_LF_Follower *follower = this->follower_free_list_.pop_front ();
00032       delete follower;
00033     }
00034   // Hand the reactor back to the resource factory.
00035   // use GUI reactor factory if available
00036   if ( this->orb_core_->gui_resource_factory () )
00037     this->orb_core_->gui_resource_factory ()->reclaim_reactor (this->reactor_);
00038   else
00039     this->orb_core_->resource_factory ()->reclaim_reactor (this->reactor_);
00040 
00041   this->reactor_ = 0;
00042 }

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Nov 22 23:24:26 2009 for TAO by  doxygen 1.6.1