blob: ebc81aa22b0a7a63cc98d5b9e1f36f5dcb3a76c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* @file RTClient_Setup.cpp
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
#include "RTClient_Setup.h"
#include "RIR_Narrow.h"
#include "tao/RTCORBA/RTCORBA.h"
#include "ace/Log_Msg.h"
#if !defined(__ACE_INLINE__)
#include "RTClient_Setup.inl"
#endif /* __ACE_INLINE__ */
RTClient_Setup::RTClient_Setup (int use_rt_corba,
CORBA::ORB_ptr orb,
const RT_Class &rt_class,
int nthreads)
: use_rt_corba_ (use_rt_corba)
, syncscope_setup_ (orb)
{
if (use_rt_corba)
{
ACE_auto_ptr_reset (this->rtcorba_setup_,
new RTCORBA_Setup (orb,
rt_class,
nthreads));
}
}
|