/** * @file RTServer_Setup.cpp * * @author Carlos O'Ryan */ #include "RTServer_Setup.h" #include "RIR_Narrow.h" #include "tao/RTCORBA/RTCORBA.h" #include "ace/Log_Msg.h" #if !defined(__ACE_INLINE__) #include "RTServer_Setup.inl" #endif /* __ACE_INLINE__ */ RTServer_Setup::RTServer_Setup (int use_rt_corba, CORBA::ORB_ptr orb, const RT_Class &rt_class, int nthreads) : RTClient_Setup (use_rt_corba, orb, rt_class, nthreads) { if (use_rt_corba) { this->rtpoa_setup_.reset (new RTPOA_Setup (orb, *this->rtcorba_setup ())); this->poa_ = this->rtpoa_setup_->poa (); } else { this->poa_ = RIR_Narrow::resolve (orb, "RootPOA"); } }