OpenDDS::DCPS::Service_Participant::ReactorTask Struct Reference

Inheritance diagram for OpenDDS::DCPS::Service_Participant::ReactorTask:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::Service_Participant::ReactorTask:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ReactorTask ()
int svc ()
void wait_for_startup ()

Private Attributes

ACE_Barrier barrier_

Detailed Description

Definition at line 431 of file Service_Participant.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::Service_Participant::ReactorTask::ReactorTask (  )  [inline]

Definition at line 432 of file Service_Participant.h.

00433       : barrier_(2)
00434     { }


Member Function Documentation

int OpenDDS::DCPS::Service_Participant::ReactorTask::svc (  ) 

Definition at line 223 of file Service_Participant.cpp.

References OpenDDS::DCPS::Service_Participant::instance(), OpenDDS::DCPS::Service_Participant::reactor_, OpenDDS::DCPS::Service_Participant::reactor_owner_, and wait_for_startup().

00224 {
00225   Service_Participant* sp = instance();
00226   sp->reactor_->owner(ACE_Thread_Manager::instance()->thr_self());
00227   sp->reactor_owner_ = ACE_Thread_Manager::instance()->thr_self();
00228   this->wait_for_startup();
00229   sp->reactor_->run_reactor_event_loop();
00230   return 0;
00231 }

void OpenDDS::DCPS::Service_Participant::ReactorTask::wait_for_startup (  )  [inline]

Definition at line 436 of file Service_Participant.h.

Referenced by OpenDDS::DCPS::Service_Participant::get_domain_participant_factory(), and svc().

00436 { barrier_.wait(); }


Member Data Documentation

ACE_Barrier OpenDDS::DCPS::Service_Participant::ReactorTask::barrier_ [private]

Definition at line 438 of file Service_Participant.h.


The documentation for this struct was generated from the following files:
Generated on Fri Feb 12 20:06:24 2016 for OpenDDS by  doxygen 1.4.7