summaryrefslogtreecommitdiff
path: root/TAO/tao/Domain/DomainS_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Domain/DomainS_T.h')
-rw-r--r--TAO/tao/Domain/DomainS_T.h262
1 files changed, 131 insertions, 131 deletions
diff --git a/TAO/tao/Domain/DomainS_T.h b/TAO/tao/Domain/DomainS_T.h
index ce809a2dc64..512ecdf2eb9 100644
--- a/TAO/tao/Domain/DomainS_T.h
+++ b/TAO/tao/Domain/DomainS_T.h
@@ -19,8 +19,8 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_ORIG_DOMAINS_T_H_
-#define _TAO_IDL_ORIG_DOMAINS_T_H_
+#ifndef _TAO_IDL_DOMAINS_T_H_
+#define _TAO_IDL_DOMAINS_T_H_
#include "ace/pre.h"
#if defined(_MSC_VER)
@@ -32,135 +32,135 @@
#if defined (ACE_HAS_USING_KEYWORD)
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_Domain_Export POA_CORBA_DomainManager_tie : public POA_CORBA_DomainManager
-{
-public:
- POA_CORBA_DomainManager_tie (T &t);
- // the T& ctor
- POA_CORBA_DomainManager_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- POA_CORBA_DomainManager_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- POA_CORBA_DomainManager_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~POA_CORBA_DomainManager_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::Policy_ptr get_domain_policy (
- CORBA::PolicyType policy_type,
- 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_DomainManager_tie (const POA_CORBA_DomainManager_tie &);
- void operator= (const POA_CORBA_DomainManager_tie &);
-};
-
-
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_Domain_Export POA_CORBA_ConstructionPolicy_tie : public POA_CORBA_ConstructionPolicy
-{
-public:
- POA_CORBA_ConstructionPolicy_tie (T &t);
- // the T& ctor
- POA_CORBA_ConstructionPolicy_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- POA_CORBA_ConstructionPolicy_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- POA_CORBA_ConstructionPolicy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~POA_CORBA_ConstructionPolicy_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 ()
- );
- void make_domain_manager (
- CORBA::InterfaceDef_ptr object_type,
- CORBA::Boolean constr_policy,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- 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_ConstructionPolicy_tie (const POA_CORBA_ConstructionPolicy_tie &);
- void operator= (const POA_CORBA_ConstructionPolicy_tie &);
-};
+ // TIE class: Refer to CORBA v2.2, Section 20.34.4
+ template <class T>
+ class TAO_Domain_Export POA_CORBA_DomainManager_tie : public POA_CORBA_DomainManager
+ {
+ public:
+ POA_CORBA_DomainManager_tie (T &t);
+ // the T& ctor
+ POA_CORBA_DomainManager_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ POA_CORBA_DomainManager_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ POA_CORBA_DomainManager_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~POA_CORBA_DomainManager_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::Policy_ptr get_domain_policy (
+ CORBA::PolicyType policy_type,
+ 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_DomainManager_tie (const POA_CORBA_DomainManager_tie &);
+ void operator= (const POA_CORBA_DomainManager_tie &);
+ };
+
+ // TIE class: Refer to CORBA v2.2, Section 20.34.4
+ template <class T>
+ class TAO_Export POA_CORBA_ConstructionPolicy_tie : public POA_CORBA_ConstructionPolicy
+ {
+ public:
+ POA_CORBA_ConstructionPolicy_tie (T &t);
+ // the T& ctor
+ POA_CORBA_ConstructionPolicy_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ POA_CORBA_ConstructionPolicy_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ POA_CORBA_ConstructionPolicy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~POA_CORBA_ConstructionPolicy_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 ()
+ );
+ void make_domain_manager (
+ CORBA::InterfaceDef_ptr object_type,
+ CORBA::Boolean constr_policy,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ 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_ConstructionPolicy_tie (const POA_CORBA_ConstructionPolicy_tie &);
+ void operator= (const POA_CORBA_ConstructionPolicy_tie &);
+ };
+
#endif /* ACE_HAS_USING_KEYWORD */