Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Exposed_Policies / RT_Properties.h
blob88acc5efcfa18cdfed0b9608c7a7de0c3eebffbd
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 ();
23 ~RT_Properties () = default;
25 static RT_Properties * read_from (const ACE_TCHAR *file_name);
27 // -- Accessor Methods --
28 void priority (RTCORBA::Priority priority);
29 RTCORBA::Priority priority ();
31 void priority_bands (const RTCORBA::PriorityBands& priority_bands);
32 const RTCORBA::PriorityBands& priority_bands ();
34 void ior_source (const ACE_TCHAR *s);
35 const ACE_TCHAR* ior_source ();
37 private:
38 RTCORBA::Priority priority_;
39 RTCORBA::PriorityBands priority_bands_;
40 ACE_TString ior_source_;
43 #endif /* RT_PROPERTIES_H_ */