diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-30 20:59:07 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-30 20:59:07 +0000 |
commit | e212cf75ba1e21b37dbab7602e23a134672dd16b (patch) | |
tree | 8c339e590d05e0f96435b7ae0c5708b8687fb278 | |
parent | 72875eaf0a77cd0295a09c98b7f94a4c3e7b4848 (diff) | |
download | ATCD-e212cf75ba1e21b37dbab7602e23a134672dd16b.tar.gz |
ChangeLogTag:Wed Aug 30 13:56:53 2000 Carlos O'Ryan <coryan@uci.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | TAO/tao/PortableServer/DomainS_T.cpp | 20 | ||||
-rw-r--r-- | TAO/tao/PortableServer/DomainS_T.h | 41 | ||||
-rw-r--r-- | TAO/tao/PortableServer/DomainS_T.i | 240 |
4 files changed, 308 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 41ec233b788..f824e1f5bf1 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Wed Aug 30 13:56:53 2000 Carlos O'Ryan <coryan@uci.edu> + + * tao/PortableServer/DomainS_T.h: + * tao/PortableServer/DomainS_T.i: + * tao/PortableServer/DomainS_T.cpp: + These files were left behind in the first commit. + Wed Aug 30 13:51:36 2000 Carlos O'Ryan <coryan@uci.edu> * tao/PortableServer/Makefile: diff --git a/TAO/tao/PortableServer/DomainS_T.cpp b/TAO/tao/PortableServer/DomainS_T.cpp new file mode 100644 index 00000000000..6a1cf214170 --- /dev/null +++ b/TAO/tao/PortableServer/DomainS_T.cpp @@ -0,0 +1,20 @@ +/* -*- C++ -*- $Id$ */ + +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// TAO and the TAO IDL Compiler have been developed by the Center for +// Distributed Object Computing at Washington University, St. Louis. +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#ifndef _TAO_IDL_ORIG_DOMAINS_T_CPP_ +#define _TAO_IDL_ORIG_DOMAINS_T_CPP_ + +#include "DomainS_T.h" + +#if !defined (__ACE_INLINE__) +#include "DomainS_T.i" +#endif /* !defined INLINE */ + + +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/DomainS_T.h b/TAO/tao/PortableServer/DomainS_T.h new file mode 100644 index 00000000000..a811ef64eac --- /dev/null +++ b/TAO/tao/PortableServer/DomainS_T.h @@ -0,0 +1,41 @@ +/* -*- C++ -*- $Id$ */ + +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// TAO and the TAO IDL Compiler have been developed by the Center for +// Distributed Object Computing at Washington University, St. Louis. +// +// 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_ + +#include "ace/pre.h" +#if defined(_MSC_VER) +#if (_MSC_VER >= 1200) +#pragma warning(push) +#endif /* _MSC_VER >= 1200 */ +#pragma warning(disable:4250) +#endif /* _MSC_VER */ + + +#if defined (__ACE_INLINE__) +#include "DomainS_T.i" +#endif /* defined INLINE */ + + +#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) +#include "DomainS_T.cpp" +#endif /* defined REQUIRED SOURCE */ + + +#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) +#pragma implementation ("DomainS_T.cpp") +#endif /* defined REQUIRED PRAGMA */ + +#if defined(_MSC_VER) && (_MSC_VER >= 1200) +#pragma warning(pop) +#endif /* _MSC_VER */ + +#include "ace/post.h" +#endif /* ifndef */ diff --git a/TAO/tao/PortableServer/DomainS_T.i b/TAO/tao/PortableServer/DomainS_T.i new file mode 100644 index 00000000000..df1745f93b9 --- /dev/null +++ b/TAO/tao/PortableServer/DomainS_T.i @@ -0,0 +1,240 @@ +/* -*- C++ -*- $Id$ */ + +// ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* +// TAO and the TAO IDL Compiler have been developed by the Center for +// Distributed Object Computing at Washington University, St. Louis. +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + + +#if defined (ACE_HAS_USING_KEYWORD) +template <class T> ACE_INLINE +POA_CORBA_DomainManager_tie<T>::POA_CORBA_DomainManager_tie (T &t) + : ptr_ (&t), + poa_ (PortableServer::POA::_nil ()), + rel_ (0) +{} + +template <class T> ACE_INLINE +POA_CORBA_DomainManager_tie<T>::POA_CORBA_DomainManager_tie (T &t, PortableServer::POA_ptr poa) + : ptr_ (&t), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (0) +{} + +template <class T> ACE_INLINE +POA_CORBA_DomainManager_tie<T>::POA_CORBA_DomainManager_tie (T *tp, CORBA::Boolean release) + : ptr_ (tp), + poa_ (PortableServer::POA::_nil ()), + rel_ (release) +{} + +template <class T> ACE_INLINE +POA_CORBA_DomainManager_tie<T>::POA_CORBA_DomainManager_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release) + : ptr_ (tp), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (release) +{} + +template <class T> ACE_INLINE +POA_CORBA_DomainManager_tie<T>::~POA_CORBA_DomainManager_tie (void) +{ + if (this->rel_) delete this->ptr_; +} + +template <class T> ACE_INLINE T * +POA_CORBA_DomainManager_tie<T>::_tied_object (void) +{ + return this->ptr_; +} + +template <class T> ACE_INLINE void +POA_CORBA_DomainManager_tie<T>::_tied_object (T &obj) +{ + if (this->rel_) delete this->ptr_; + this->ptr_ = &obj; + this->rel_ = 0; +} + +template <class T> ACE_INLINE void +POA_CORBA_DomainManager_tie<T>::_tied_object (T *obj, CORBA::Boolean release) +{ + if (this->rel_) delete this->ptr_; + this->ptr_ = obj; + this->rel_ = release; +} + +template <class T> ACE_INLINE CORBA::Boolean +POA_CORBA_DomainManager_tie<T>::_is_owner (void) +{ + return this->rel_; +} + +template <class T> ACE_INLINE void +POA_CORBA_DomainManager_tie<T>::_is_owner (CORBA::Boolean b) +{ + this->rel_ = b; +} + +template <class T> ACE_INLINE PortableServer::POA_ptr +POA_CORBA_DomainManager_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV) +{ + if (!CORBA::is_nil (this->poa_.in ())) + return PortableServer::POA::_duplicate (this->poa_.in ()); + + return this->POA_CORBA_DomainManager::_default_POA (ACE_TRY_ENV); +} + +template <class T> ACE_INLINE +CORBA::Policy_ptr POA_CORBA_DomainManager_tie<T>::get_domain_policy ( + CORBA::PolicyType policy_type, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + return this->ptr_->get_domain_policy ( + policy_type, + ACE_TRY_ENV + ); +} + +#endif /* ACE_HAS_USING_KEYWORD */ + +#if defined (ACE_HAS_USING_KEYWORD) +template <class T> ACE_INLINE +POA_CORBA_ConstructionPolicy_tie<T>::POA_CORBA_ConstructionPolicy_tie (T &t) + : ptr_ (&t), + poa_ (PortableServer::POA::_nil ()), + rel_ (0) +{} + +template <class T> ACE_INLINE +POA_CORBA_ConstructionPolicy_tie<T>::POA_CORBA_ConstructionPolicy_tie (T &t, PortableServer::POA_ptr poa) + : ptr_ (&t), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (0) +{} + +template <class T> ACE_INLINE +POA_CORBA_ConstructionPolicy_tie<T>::POA_CORBA_ConstructionPolicy_tie (T *tp, CORBA::Boolean release) + : ptr_ (tp), + poa_ (PortableServer::POA::_nil ()), + rel_ (release) +{} + +template <class T> ACE_INLINE +POA_CORBA_ConstructionPolicy_tie<T>::POA_CORBA_ConstructionPolicy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release) + : ptr_ (tp), + poa_ (PortableServer::POA::_duplicate (poa)), + rel_ (release) +{} + +template <class T> ACE_INLINE +POA_CORBA_ConstructionPolicy_tie<T>::~POA_CORBA_ConstructionPolicy_tie (void) +{ + if (this->rel_) delete this->ptr_; +} + +template <class T> ACE_INLINE T * +POA_CORBA_ConstructionPolicy_tie<T>::_tied_object (void) +{ + return this->ptr_; +} + +template <class T> ACE_INLINE void +POA_CORBA_ConstructionPolicy_tie<T>::_tied_object (T &obj) +{ + if (this->rel_) delete this->ptr_; + this->ptr_ = &obj; + this->rel_ = 0; +} + +template <class T> ACE_INLINE void +POA_CORBA_ConstructionPolicy_tie<T>::_tied_object (T *obj, CORBA::Boolean release) +{ + if (this->rel_) delete this->ptr_; + this->ptr_ = obj; + this->rel_ = release; +} + +template <class T> ACE_INLINE CORBA::Boolean +POA_CORBA_ConstructionPolicy_tie<T>::_is_owner (void) +{ + return this->rel_; +} + +template <class T> ACE_INLINE void +POA_CORBA_ConstructionPolicy_tie<T>::_is_owner (CORBA::Boolean b) +{ + this->rel_ = b; +} + +template <class T> ACE_INLINE PortableServer::POA_ptr +POA_CORBA_ConstructionPolicy_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV) +{ + if (!CORBA::is_nil (this->poa_.in ())) + return PortableServer::POA::_duplicate (this->poa_.in ()); + + return this->POA_CORBA_ConstructionPolicy::_default_POA (ACE_TRY_ENV); +} + +template <class T> ACE_INLINE +void POA_CORBA_ConstructionPolicy_tie<T>::make_domain_manager ( + IR_InterfaceDef* object_type, + CORBA::Boolean constr_policy, + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + this->ptr_->make_domain_manager ( + object_type, + constr_policy, + ACE_TRY_ENV + ); +} + +template <class T> ACE_INLINE +CORBA::PolicyType POA_CORBA_ConstructionPolicy_tie<T>::policy_type ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + return this->ptr_->policy_type ( + ACE_TRY_ENV + ); +} + +template <class T> ACE_INLINE +CORBA::Policy_ptr POA_CORBA_ConstructionPolicy_tie<T>::copy ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + return this->ptr_->copy ( + ACE_TRY_ENV + ); +} + +template <class T> ACE_INLINE +void POA_CORBA_ConstructionPolicy_tie<T>::destroy ( + CORBA::Environment &ACE_TRY_ENV + ) + ACE_THROW_SPEC (( + CORBA::SystemException + )) +{ + this->ptr_->destroy ( + ACE_TRY_ENV + ); +} + +#endif /* ACE_HAS_USING_KEYWORD */ |