diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-04-17 18:24:11 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-04-17 18:24:11 +0000 |
commit | e2c9cc19903bcec17a2af7b28a6a6ac4bea326cd (patch) | |
tree | f04ee4bf26ff31350f61af8cd7cf903f6a7ed157 /TAO/tao/TAOC.h | |
parent | 7d63bfc34864b741c47cd4e500567fd955b8fda3 (diff) | |
download | ATCD-e2c9cc19903bcec17a2af7b28a6a6ac4bea326cd.tar.gz |
ChangeLogTag:Wed Apr 17 11:21:52 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/TAOC.h')
-rw-r--r-- | TAO/tao/TAOC.h | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h index 18971c54055..69342793564 100644 --- a/TAO/tao/TAOC.h +++ b/TAO/tao/TAOC.h @@ -1,6 +1,6 @@ // -*- C++ -*- // -// $Id$ Id: TAOC.h,v 1.24 2000/06/28 03:47:12 marina Exp $ */ +// $Id$ // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** // TAO and the TAO IDL Compiler have been developed by: @@ -19,15 +19,9 @@ // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html -// ****** 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_TAOC_H_ #define _TAO_IDL_ORIG_TAOC_H_ + #include "ace/pre.h" #include "tao/corbafwd.h" @@ -36,12 +30,8 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1) - -#include "tao/PolicyC.h" -#include "tao/TimeBaseC.h" - -#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ +#include "PolicyC.h" +#include "TimeBaseC.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO @@ -68,12 +58,11 @@ TAO_NAMESPACE TAO { - #if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1) typedef CORBA::UShort BufferingConstraintMode; typedef CORBA::UShort_out BufferingConstraintMode_out; - TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_BufferingConstraintMode; + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintMode; TAO_NAMESPACE_STORAGE_CLASS const CORBA::UShort BUFFER_FLUSH; @@ -99,20 +88,23 @@ TAO_NAMESPACE TAO TimeBase::TimeT timeout; CORBA::ULong message_count; CORBA::ULong message_bytes; + }; class TAO_Export BufferingConstraint_var { public: - BufferingConstraint_var (void); // default constructor + BufferingConstraint_var (void); BufferingConstraint_var (BufferingConstraint *); - BufferingConstraint_var (const BufferingConstraint_var &); // copy constructor - BufferingConstraint_var (const BufferingConstraint &); // fixed-size types only - ~BufferingConstraint_var (void); // destructor + BufferingConstraint_var (const BufferingConstraint_var &); + // Fixed-size types only. + BufferingConstraint_var (const BufferingConstraint &); + ~BufferingConstraint_var (void); BufferingConstraint_var &operator= (BufferingConstraint *); BufferingConstraint_var &operator= (const BufferingConstraint_var &); - BufferingConstraint_var &operator= (const BufferingConstraint &); // fixed-size types only + // Fixed-size types only. + BufferingConstraint_var &operator= (const BufferingConstraint &); BufferingConstraint *operator-> (void); const BufferingConstraint *operator-> (void) const; @@ -133,7 +125,7 @@ TAO_NAMESPACE TAO typedef BufferingConstraint &BufferingConstraint_out; - TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_BufferingConstraint; + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraint; TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong BUFFERING_CONSTRAINT_POLICY_TYPE; @@ -176,7 +168,10 @@ TAO_NAMESPACE TAO static BufferingConstraintPolicy_ptr tao_duplicate (BufferingConstraintPolicy_ptr); static void tao_release (BufferingConstraintPolicy_ptr); static BufferingConstraintPolicy_ptr tao_nil (void); - static BufferingConstraintPolicy_ptr tao_narrow (CORBA::Object * ACE_ENV_ARG_DECL_NOT_USED); + static BufferingConstraintPolicy_ptr tao_narrow ( + CORBA::Object * + ACE_ENV_ARG_DECL_NOT_USED + ); static CORBA::Object * tao_upcast (void *); private: @@ -213,11 +208,18 @@ TAO_NAMESPACE TAO #endif /* end #if !defined */ + // ************************************************************* + // TAO::BufferingConstraintPolicy + // TAO_IDL - Generated from + // be/be_visitor_interface/interface_ch.cpp:106 + // ************************************************************* + #if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY_CH_) #define _TAO_BUFFERINGCONSTRAINTPOLICY_CH_ -class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy + class TAO_Export BufferingConstraintPolicy + : public virtual CORBA::Policy { public: #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8) @@ -225,26 +227,32 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy typedef BufferingConstraintPolicy_var _var_type; #endif /* ! __GNUC__ || g++ >= 2.8 */ - static int _tao_class_id; + static int _tao_class_id; - // the static operations + // The static operations. static BufferingConstraintPolicy_ptr _duplicate (BufferingConstraintPolicy_ptr obj); + static BufferingConstraintPolicy_ptr _narrow ( CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS); + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); static BufferingConstraintPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_WITH_DEFAULTS); + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ); static BufferingConstraintPolicy_ptr _nil (void) { return (BufferingConstraintPolicy_ptr)0; } - virtual TAO::BufferingConstraint buffering_constraint ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + static void _tao_any_destructor (void*); + + virtual ::TAO::BufferingConstraint buffering_constraint ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; @@ -255,7 +263,9 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy protected: BufferingConstraintPolicy (void); + virtual ~BufferingConstraintPolicy (void); + private: BufferingConstraintPolicy (const BufferingConstraintPolicy &); void operator= (const BufferingConstraintPolicy &); @@ -264,19 +274,9 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy #endif /* end #if !defined */ -#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ - - typedef CORBA::Short SyncScope; - typedef CORBA::Short_out SyncScope_out; - TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_SyncScope; - - TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_NONE; - - TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_TRANSPORT; + TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintPolicy; - TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_SERVER; - - TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_TARGET; +#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_EAGER_BUFFERING; @@ -291,18 +291,16 @@ TAO_Export void operator<<= (CORBA::Any &, const TAO::BufferingConstraint &); // TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraint*); // noncopying version TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraint *&); // deprecated TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO::BufferingConstraint *&); - -#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ +// Any operators for interface TAO::BufferingConstraintPolicy +TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraintPolicy_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraintPolicy_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraintPolicy_ptr &); #ifndef __ACE_INLINE__ -#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1) - TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO::BufferingConstraint &); TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint &); -#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ - #endif /* __ACE_INLINE__ */ @@ -310,6 +308,8 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint & #include "TAOC.i" #endif /* defined INLINE */ +#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */ + #if defined(_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER */ |