summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/PolicyS.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-30 23:53:53 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-30 23:53:53 +0000
commit59fa9c3020ed33d8fd776fa2ffedc26cea6782a3 (patch)
treec83b4e7f3a801cb2229be9c5d32eab3af4c4ec28 /TAO/tao/PortableServer/PolicyS.h
parent51a1358558db5534a1fce86f951d3a3a0fde3efb (diff)
downloadATCD-59fa9c3020ed33d8fd776fa2ffedc26cea6782a3.tar.gz
ChangeLogTag: Mon Apr 30 18:49:56 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PortableServer/PolicyS.h')
-rw-r--r--TAO/tao/PortableServer/PolicyS.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/TAO/tao/PortableServer/PolicyS.h b/TAO/tao/PortableServer/PolicyS.h
index bbc37d512f0..3945d35240f 100644
--- a/TAO/tao/PortableServer/PolicyS.h
+++ b/TAO/tao/PortableServer/PolicyS.h
@@ -302,73 +302,6 @@ public:
// Direct Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_PortableServer_Export POA_CORBA_Policy_tie : public POA_CORBA_Policy
-{
-public:
- POA_CORBA_Policy_tie (T &t);
- // the T& ctor
- POA_CORBA_Policy_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- POA_CORBA_Policy_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- POA_CORBA_Policy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~POA_CORBA_Policy_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
- CORBA::PolicyType policy_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA_Policy_ptr copy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- POA_CORBA_Policy_tie (const POA_CORBA_Policy_tie &);
- void operator= (const POA_CORBA_Policy_tie &);
-};
-
#include "PolicyS_T.h"