Merge pull request #1815 from sonndinh/get_signal_info
[ACE_TAO.git] / TAO / tests / Exposed_Policies / RT_Properties.h
blob4f50b96945bc4992651fadcf12ef8543fc2129b3
1 //=============================================================================
2 /**
3 * @file RT_Properties.h
5 * Defines a series of "real time" property that an Object
6 * or a POA created on a RT-ORB can have.
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
9 */
10 //=============================================================================
13 #ifndef RT_PROPERTIES_H_
14 #define RT_PROPERTIES_H_
16 #include "tao/RTCORBA/RTCORBA.h"
18 class RT_Properties
20 public:
21 // -- Ctor/Dtor --
22 RT_Properties (void);
23 ~RT_Properties (void);
25 static RT_Properties * read_from (const ACE_TCHAR *file_name);
27 // -- Accessor Methods --
28 void priority (RTCORBA::Priority priority);
29 RTCORBA::Priority priority (void);
31 void priority_bands (const RTCORBA::PriorityBands& priority_bands);
32 const RTCORBA::PriorityBands& priority_bands (void);
34 void ior_source (const ACE_TCHAR *s);
35 const ACE_TCHAR* ior_source (void);
37 private:
39 RTCORBA::Priority priority_;
40 RTCORBA::PriorityBands priority_bands_;
41 ACE_TString ior_source_;
44 #endif /* RT_PROPERTIES_H_ */