Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / RT_Class.h
blob053c5b3d8a5dfafb563c43aa5ef65471cf5208a0
1 /**
2 * @file RT_Class.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #ifndef TAO_PERF_RTEC_RT_CLASS_H
8 #define TAO_PERF_RTEC_RT_CLASS_H
10 #include "rtec_perf_export.h"
11 #include "ace/Sched_Params.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 /**
18 * @class RT_Class
20 * @brief Simplify the initialization of performance tests.
22 class TAO_RTEC_Perf_Export RT_Class
24 public:
25 /// Constructor
26 RT_Class ();
28 /** @name Return the test scheduling parameters
30 //@{
31 /// Return the process scheduling class selected for the test
32 int prc_sched_class () const;
34 /// Return the thread scheduling class selected for the test
35 int thr_sched_class () const;
37 /// Return the process priority selected for the test
38 int priority_process () const;
40 /// Return the (thread, native) priority for the high priority
41 /// task(s) in the test
42 int priority_high () const;
44 /// Return the (thread, native) priority for the low priority
45 /// task(s) in the test
46 int priority_low () const;
48 //@}
50 private:
51 /// The process scheduling class
52 int prc_sched_class_;
54 /// The thread scheduling class
55 int thr_sched_class_;
57 /// The process priority
58 int priority_process_;
60 /// The high priority task(s) priority
61 int priority_high_;
63 /// The low priority task(s) priority
64 int priority_low_;
67 #if defined(__ACE_INLINE__)
68 #include "RT_Class.inl"
69 #endif /* __ACE_INLINE__ */
71 #endif /* TAO_PERF_RTEC_RT_CLASS_H */