Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / examples / Kokyu_dsrt_schedulers / mif_example / test_i.h
blob7615f7ca6f1f2f641331897bb75c92f9ae373588
2 //=============================================================================
3 /**
4 * @file test_i.h
6 * @author Carlos O'Ryan
7 */
8 //=============================================================================
11 #ifndef TAO_MT_SERVER_TEST_I_H
12 #define TAO_MT_SERVER_TEST_I_H
14 #include "testS.h"
15 #include "tao/RTScheduling/RTScheduler_Manager.h"
16 #include "Task_Stats.h"
18 /**
19 * @class Simple_Server_i
21 * @brief Simpler Server implementation
23 * Implements the Simple_Server interface in test.idl
25 class Simple_Server_i : public POA_Simple_Server
27 public:
28 /// ctor
29 Simple_Server_i (CORBA::ORB_ptr orb,
30 RTScheduling::Current_ptr current,
31 Task_Stats&,
32 int);
34 // = The Simple_Server methods.
35 CORBA::Long test_method (CORBA::Long x);
37 void shutdown (void);
39 private:
40 /// The ORB
41 CORBA::ORB_var orb_;
42 RTScheduling::Current_var current_;
43 Task_Stats& task_stats_;
44 int enable_yield_;
47 #if defined(__ACE_INLINE__)
48 #include "test_i.inl"
49 #endif /* __ACE_INLINE__ */
51 #endif /* TAO_MT_SERVER_TEST_I_H */