2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
5 TAO_LF_Event_Loop_Thread_Helper::TAO_LF_Event_Loop_Thread_Helper (
6 TAO_Leader_Follower &leader_follower,
7 TAO_LF_Strategy &lf_strategy,
8 ACE_Time_Value *max_wait_time)
9 : leader_follower_ (leader_follower)
10 , lf_strategy_ (lf_strategy)
12 this->event_loop_return_ =
13 this->lf_strategy_.set_event_loop_thread (max_wait_time, leader_follower_);
17 TAO_LF_Event_Loop_Thread_Helper::~TAO_LF_Event_Loop_Thread_Helper ()
19 int const call_reset = (this->event_loop_return_ == 0);
20 this->lf_strategy_.reset_event_loop_thread (call_reset,
21 this->leader_follower_);
25 TAO_LF_Event_Loop_Thread_Helper::event_loop_return () const
27 return this->event_loop_return_;
30 TAO_END_VERSIONED_NAMESPACE_DECL