blob: 6bf9042009507c41d4521ee2734a34a3c97d4f5b (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**
* @file RTClient_Setup.cpp
*
* $Id$
*
* @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__ */
ACE_RCSID(TAO_PERF_RTEC, RTClient_Setup, "$Id$")
RTClient_Setup::RTClient_Setup (int use_rt_corba,
CORBA::ORB_ptr orb,
const RT_Class &rt_class,
int nthreads
ACE_ENV_ARG_DECL)
: use_rt_corba_ (use_rt_corba)
, syncscope_setup_ (orb ACE_ENV_ARG_PARAMETER)
{
ACE_CHECK;
if (use_rt_corba)
{
this->rtcorba_setup_ =
auto_ptr<RTCORBA_Setup> (new RTCORBA_Setup (orb,
rt_class,
nthreads
ACE_ENV_ARG_PARAMETER));
ACE_CHECK;
this->priorityband_setup_ =
auto_ptr<PriorityBand_Setup> (new PriorityBand_Setup (orb,
*this->rtcorba_setup_
ACE_ENV_ARG_PARAMETER));
ACE_CHECK;
}
}
|