Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / POA_Cached_Policies.inl
blobefa253591b3139b83e6e099aa2241d310127e42a
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace TAO
6   namespace Portable_Server
7   {
8     ACE_INLINE ::PortableServer::ThreadPolicyValue
9     Cached_Policies::thread () const
10     {
11       return this->thread_;
12     }
14     ACE_INLINE ::PortableServer::LifespanPolicyValue
15     Cached_Policies::lifespan () const
16     {
17       return this->lifespan_;
18     }
20     ACE_INLINE ::PortableServer::IdUniquenessPolicyValue
21     Cached_Policies::id_uniqueness () const
22     {
23       return this->id_uniqueness_;
24     }
26     ACE_INLINE ::PortableServer::IdAssignmentPolicyValue
27     Cached_Policies::id_assignment () const
28     {
29       return this->id_assignment_;
30     }
32     ACE_INLINE ::PortableServer::ImplicitActivationPolicyValue
33     Cached_Policies::implicit_activation () const
34     {
35       return this->implicit_activation_;
36     }
38     ACE_INLINE ::PortableServer::ServantRetentionPolicyValue
39     Cached_Policies::servant_retention () const
40     {
41       return this->servant_retention_;
42     }
44     ACE_INLINE ::PortableServer::RequestProcessingPolicyValue
45     Cached_Policies::request_processing () const
46     {
47       return this->request_processing_;
48     }
50     ACE_INLINE Cached_Policies::PriorityModel
51     Cached_Policies::priority_model () const
52     {
53       return this->priority_model_;
54     }
56     ACE_INLINE CORBA::Short
57     Cached_Policies::server_priority () const
58     {
59       return this->server_priority_;
60     }
62     ACE_INLINE void
63     Cached_Policies::priority_model (PriorityModel priority_model)
64     {
65       this->priority_model_ = priority_model;
66     }
68     ACE_INLINE void
69     Cached_Policies::server_priority (CORBA::Short priority)
70     {
71       this->server_priority_ = priority;
72     }
74      ACE_INLINE Cached_Policies::NetworkPriorityModel
75     Cached_Policies::network_priority_model () const
76     {
77       return this->network_priority_model_;
78     }
80     ACE_INLINE CORBA::Long
81     Cached_Policies::request_diffserv_codepoint () const
82     {
83       return this->request_diffserv_codepoint_;
84     }
86     ACE_INLINE CORBA::Long
87     Cached_Policies::reply_diffserv_codepoint () const
88     {
89       return this->reply_diffserv_codepoint_;
90     }
92     ACE_INLINE void
93     Cached_Policies::network_priority_model (
94        NetworkPriorityModel network_priority_model)
95     {
96       this->network_priority_model_ = network_priority_model;
97     }
99     ACE_INLINE void
100     Cached_Policies::request_diffserv_codepoint (
101       CORBA::Long diffserv_codepoint)
102     {
103       this->request_diffserv_codepoint_ = diffserv_codepoint;
104     }
106     ACE_INLINE void
107     Cached_Policies::reply_diffserv_codepoint (CORBA::Long diffserv_codepoint)
108     {
109       this->reply_diffserv_codepoint_ = diffserv_codepoint;
110     }
112     ACE_INLINE void
113     Cached_Policies::implicit_activation (PortableServer::ImplicitActivationPolicyValue value)
114     {
115       this->implicit_activation_ = value;
116     }
117   }
120 TAO_END_VERSIONED_NAMESPACE_DECL