diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-29 03:52:40 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-29 03:52:40 +0000 |
commit | 629ad6b8996c6057d10889f682b793e4fc1677fb (patch) | |
tree | 67521836dcc0ac048e3b3e8782edfbf83c239121 /TAO/tao/TAOS.h | |
parent | 1b7ee19343cf09427ceb269c939215b64515ea70 (diff) | |
download | ATCD-629ad6b8996c6057d10889f682b793e4fc1677fb.tar.gz |
ChangeLogTag:Fri Apr 28 20:09:34 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/TAOS.h')
-rw-r--r-- | TAO/tao/TAOS.h | 172 |
1 files changed, 5 insertions, 167 deletions
diff --git a/TAO/tao/TAOS.h b/TAO/tao/TAOS.h index e7da3e3b3e5..f3c404973cf 100644 --- a/TAO/tao/TAOS.h +++ b/TAO/tao/TAOS.h @@ -7,19 +7,10 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -#ifndef _TAO_IDL_TAOS_H_ -#define _TAO_IDL_TAOS_H_ -#include "ace/pre.h" +#ifndef _TAO_IDL_TMP_TAOS_H_ +#define _TAO_IDL_TMP_TAOS_H_ -#include "tao/TAOC.h" - -#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1 || \ - TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1) - -#include "tao/POA_CORBA.h" - -#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 || - TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ +#include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -34,170 +25,17 @@ TAO_NAMESPACE POA_TAO { - -#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1) - - class ClientPriorityPolicy; - typedef ClientPriorityPolicy *ClientPriorityPolicy_ptr; - class TAO_Export ClientPriorityPolicy : public virtual POA_CORBA::Policy - { - protected: - ClientPriorityPolicy (void); - - public: - virtual ~ClientPriorityPolicy (void); - - - virtual CORBA::Boolean _is_a ( - const char* logical_type_id, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ); - - virtual void* _downcast ( - const char* logical_type_id - ); - - TAO::ClientPriorityPolicy *_this ( - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ); - - virtual const char* _interface_repository_id (void) const; - - virtual TAO::PrioritySpecification priority_specification ( - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ) = 0; - - - }; - - -#if !defined (_TAO_CLIENTPRIORITYPOLICY___DIRECT_COLLOCATED_SH_) -#define _TAO_CLIENTPRIORITYPOLICY___DIRECT_COLLOCATED_SH_ - - class TAO_Export _tao_direct_collocated_ClientPriorityPolicy : public virtual TAO::ClientPriorityPolicy, - public virtual POA_CORBA::_tao_collocated_Policy - { - public: - _tao_direct_collocated_ClientPriorityPolicy ( - ClientPriorityPolicy_ptr servant, - TAO_Stub *stub - ); - virtual CORBA::Boolean _is_a( - const CORBA::Char *logical_type_id, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ); - - ClientPriorityPolicy_ptr _get_servant (void) const; - - virtual CORBA::Boolean _non_existent( - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ); - - virtual TAO::PrioritySpecification priority_specification ( - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ); - - - private: - ClientPriorityPolicy_ptr servant_; - }; - - -#endif /* end #if !defined */ - -#endif /* TAO_HAS_CLIENT_PRIORITY_POLICY == 1 */ - -#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1) - - class BufferingConstraintPolicy; - typedef BufferingConstraintPolicy *BufferingConstraintPolicy_ptr; - class TAO_Export BufferingConstraintPolicy : public virtual POA_CORBA::Policy - { - protected: - BufferingConstraintPolicy (void); - - public: - virtual ~BufferingConstraintPolicy (void); - - - virtual CORBA::Boolean _is_a ( - const char* logical_type_id, - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ); - - virtual void* _downcast ( - const char* logical_type_id - ); - - TAO::BufferingConstraintPolicy *_this ( - CORBA::Environment &ACE_TRY_ENV = - TAO_default_environment () - ); - - virtual const char* _interface_repository_id (void) const; - - virtual TAO::BufferingConstraint buffering_constraint (CORBA::Environment &ACE_TRY_ENV) = 0; - // Hacky TAO extension to reduce call to - // CORBA::Environment::default_environment () since this method - // will never raise exceptions. - virtual TAO::BufferingConstraint buffering_constraint (void) = 0; - - }; - - -#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___DIRECT_COLLOCATED_SH_) -#define _TAO_BUFFERINGCONSTRAINTPOLICY___DIRECT_COLLOCATED_SH_ - - class TAO_Export _tao_direct_collocated_BufferingConstraintPolicy : public virtual TAO::BufferingConstraintPolicy, - public virtual POA_CORBA::_tao_collocated_Policy - { - public: - _tao_direct_collocated_BufferingConstraintPolicy ( - BufferingConstraintPolicy_ptr servant, - TAO_Stub *stub - ); - virtual CORBA::Boolean _is_a( - const CORBA::Char *logical_type_id, - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ); - - BufferingConstraintPolicy_ptr _get_servant (void) const; - - virtual CORBA::Boolean _non_existent( - CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () - ); - - virtual TAO::BufferingConstraint buffering_constraint (CORBA::Environment &ACE_TRY_ENV); - virtual TAO::BufferingConstraint buffering_constraint (void); - - - private: - BufferingConstraintPolicy_ptr servant_; - }; - - -#endif /* end #if !defined */ - - -#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ - } TAO_NAMESPACE_CLOSE -#include "tao/TAOS_T.h" +#include "TAOS_T.h" #if defined (__ACE_INLINE__) -#include "tao/TAOS.i" +#include "TAOS.i" #endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER */ -#include "ace/post.h" #endif /* ifndef */ |