summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Manager.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-27 22:23:46 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-27 22:23:46 +0000
commit9851b9559fdea0eacedb41c56d3a29626059f2f7 (patch)
tree4a31895ea1cff0e42e2a0f34cefc31dc4c297732 /TAO/tao/Policy_Manager.h
parent2f521cd9962e8bea4412274c99596de50392db11 (diff)
downloadATCD-9851b9559fdea0eacedb41c56d3a29626059f2f7.tar.gz
ChangeLogTag: Mon Mar 27 16:11:29 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Policy_Manager.h')
-rw-r--r--TAO/tao/Policy_Manager.h85
1 files changed, 85 insertions, 0 deletions
diff --git a/TAO/tao/Policy_Manager.h b/TAO/tao/Policy_Manager.h
index eb3d63d2c2d..ce464ac5253 100644
--- a/TAO/tao/Policy_Manager.h
+++ b/TAO/tao/Policy_Manager.h
@@ -88,14 +88,31 @@ public:
// = Direct accesors to the policy implementations, for speedy
// lookups.
+
+#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
+
TAO_RelativeRoundtripTimeoutPolicy *relative_roundtrip_timeout (void) const;
+#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
+
+#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
+
TAO_Client_Priority_Policy *client_priority (void) const;
+#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */
+
+#if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
+
TAO_Sync_Scope_Policy *sync_scope (void) const;
+#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
+
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Buffering_Constraint_Policy *buffering_constraint (void) const;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
private:
ACE_UNIMPLEMENTED_FUNC (TAO_Policy_Manager_Impl operator=(const TAO_Policy_Manager_Impl&))
ACE_UNIMPLEMENTED_FUNC (TAO_Policy_Manager_Impl(const TAO_Policy_Manager_Impl&))
@@ -108,14 +125,31 @@ private:
// The known policies are kept as pointers to the implementation
// objects, this allow us to query the supported policies really
// fast, without memory allocations.
+
+#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
+
TAO_RelativeRoundtripTimeoutPolicy *relative_roundtrip_timeout_;
+#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
+
+#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
+
TAO_Client_Priority_Policy *client_priority_;
+#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */
+
+#if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
+
TAO_Sync_Scope_Policy *sync_scope_;
+#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
+
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Buffering_Constraint_Policy *buffering_constraint_;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
CORBA::PolicyList other_policies_;
// Other policies that are not optimized for fast querying
@@ -151,14 +185,31 @@ public:
CORBA::Environment &ACE_TRY_ENV =
CORBA::Environment::default_environment ()
);
+
+#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
+
TAO_RelativeRoundtripTimeoutPolicy *relative_roundtrip_timeout (void) const;
+#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
+
+#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
+
TAO_Client_Priority_Policy *client_priority (void) const;
+#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */
+
+#if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
+
TAO_Sync_Scope_Policy *sync_scope (void) const;
+#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
+
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Buffering_Constraint_Policy *buffering_constraint (void) const;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
private:
TAO_Policy_Manager_Impl impl_;
// The implementation.
@@ -189,14 +240,31 @@ public:
CORBA::Environment &ACE_TRY_ENV =
CORBA::Environment::default_environment ()
);
+
+#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
+
TAO_RelativeRoundtripTimeoutPolicy *relative_roundtrip_timeout (void) const;
+#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
+
+#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
+
TAO_Client_Priority_Policy *client_priority (void) const;
+#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */
+
+#if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
+
TAO_Sync_Scope_Policy *sync_scope (void) const;
+#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
+
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Buffering_Constraint_Policy *buffering_constraint (void) const;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
private:
TAO_Policy_Manager_Impl manager_impl_;
// The implementation.
@@ -230,14 +298,31 @@ public:
CORBA::Environment &ACE_TRY_ENV =
CORBA::Environment::default_environment ()
);
+
+#if (TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1)
+
TAO_RelativeRoundtripTimeoutPolicy *relative_roundtrip_timeout (void) const;
+#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
+
+#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
+
TAO_Client_Priority_Policy *client_priority (void) const;
+#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */
+
+#if (TAO_HAS_SYNC_SCOPE_POLICY == 1)
+
TAO_Sync_Scope_Policy *sync_scope (void) const;
+#endif /* TAO_HAS_SYNC_SCOPE_POLICY == 1 */
+
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Buffering_Constraint_Policy *buffering_constraint (void) const;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
// = Set and get the implementation.
TAO_Policy_Current_Impl &implementation (void) const;
TAO_Policy_Current_Impl &implementation (TAO_Policy_Current_Impl &);