00001 // -*- C++ -*- 00002 // 00003 // TAOC.h,v 1.54 2006/04/19 08:40:55 jwillemsen Exp 00004 00005 // **** Code generated by the The ACE ORB (TAO) IDL Compiler **** 00006 // TAO and the TAO IDL Compiler have been developed by: 00007 // Center for Distributed Object Computing 00008 // Washington University 00009 // St. Louis, MO 00010 // USA 00011 // http://www.cs.wustl.edu/~schmidt/doc-center.html 00012 // and 00013 // Distributed Object Computing Laboratory 00014 // University of California at Irvine 00015 // Irvine, CA 00016 // USA 00017 // http://doc.ece.uci.edu/ 00018 // and 00019 // Institute for Software Integrated Systems 00020 // Vanderbilt University 00021 // Nashville, TN 00022 // USA 00023 // http://www.isis.vanderbilt.edu/ 00024 // 00025 // Information about TAO is available at: 00026 // http://www.cs.wustl.edu/~schmidt/TAO.html 00027 00028 // TAO_IDL - Generated from 00029 // be\be_codegen.cpp:154 00030 00031 #ifndef _TAO_IDL_TAOC_H_ 00032 #define _TAO_IDL_TAOC_H_ 00033 00034 #include /**/ "ace/pre.h" 00035 00036 00037 #include "ace/config-all.h" 00038 00039 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00040 # pragma once 00041 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00042 00043 #include "tao/TAO_Export.h" 00044 #include "tao/ORB.h" 00045 #include "tao/SystemException.h" 00046 #include "tao/Environment.h" 00047 #include "tao/Object.h" 00048 #include "tao/Objref_VarOut_T.h" 00049 #include "tao/VarOut_T.h" 00050 00051 #include "tao/PolicyC.h" 00052 #include "tao/TimeBaseC.h" 00053 #include "tao/Messaging_SyncScopeC.h" 00054 00055 #if defined (TAO_EXPORT_MACRO) 00056 #undef TAO_EXPORT_MACRO 00057 #endif 00058 #define TAO_EXPORT_MACRO TAO_Export 00059 00060 // TAO_IDL - Generated from 00061 // be\be_visitor_module/module_ch.cpp:49 00062 00063 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00064 00065 namespace TAO 00066 { 00067 00068 // TAO_IDL - Generated from 00069 // be\be_visitor_typedef/typedef_ch.cpp:379 00070 00071 typedef CORBA::UShort BufferingConstraintMode; 00072 typedef CORBA::UShort_out BufferingConstraintMode_out; 00073 00074 // TAO_IDL - Generated from 00075 // be\be_visitor_constant/constant_ch.cpp:52 00076 00077 const TAO::BufferingConstraintMode BUFFER_FLUSH = 0U; 00078 00079 // TAO_IDL - Generated from 00080 // be\be_visitor_constant/constant_ch.cpp:52 00081 00082 const TAO::BufferingConstraintMode BUFFER_TIMEOUT = 1U; 00083 00084 // TAO_IDL - Generated from 00085 // be\be_visitor_constant/constant_ch.cpp:52 00086 00087 const TAO::BufferingConstraintMode BUFFER_MESSAGE_COUNT = 2U; 00088 00089 // TAO_IDL - Generated from 00090 // be\be_visitor_constant/constant_ch.cpp:52 00091 00092 const TAO::BufferingConstraintMode BUFFER_MESSAGE_BYTES = 4U; 00093 00094 // TAO_IDL - Generated from 00095 // be\be_type.cpp:258 00096 00097 struct BufferingConstraint; 00098 00099 typedef 00100 TAO_Fixed_Var_T< 00101 BufferingConstraint 00102 > 00103 BufferingConstraint_var; 00104 00105 typedef 00106 BufferingConstraint & 00107 BufferingConstraint_out; 00108 00109 // TAO_IDL - Generated from 00110 // be\be_visitor_structure/structure_ch.cpp:57 00111 00112 struct TAO_Export BufferingConstraint 00113 { 00114 typedef BufferingConstraint_var _var_type; 00115 00116 static void _tao_any_destructor (void *); 00117 TAO::BufferingConstraintMode mode; 00118 TimeBase::TimeT timeout; 00119 CORBA::ULong message_count; 00120 CORBA::ULong message_bytes; 00121 }; 00122 00123 // TAO_IDL - Generated from 00124 // be\be_visitor_constant/constant_ch.cpp:52 00125 00126 const CORBA::PolicyType BUFFERING_CONSTRAINT_POLICY_TYPE = 1413545985U; 00127 00128 // TAO_IDL - Generated from 00129 // be\be_interface.cpp:598 00130 00131 #if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY__VAR_OUT_CH_) 00132 #define _TAO_BUFFERINGCONSTRAINTPOLICY__VAR_OUT_CH_ 00133 00134 class BufferingConstraintPolicy; 00135 typedef BufferingConstraintPolicy *BufferingConstraintPolicy_ptr; 00136 00137 typedef 00138 TAO_Objref_Var_T< 00139 BufferingConstraintPolicy 00140 > 00141 BufferingConstraintPolicy_var; 00142 00143 typedef 00144 TAO_Objref_Out_T< 00145 BufferingConstraintPolicy 00146 > 00147 BufferingConstraintPolicy_out; 00148 00149 #endif /* end #if !defined */ 00150 00151 // TAO_IDL - Generated from 00152 // be\be_visitor_interface/interface_ch.cpp:54 00153 00154 #if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY_CH_) 00155 #define _TAO_BUFFERINGCONSTRAINTPOLICY_CH_ 00156 00157 class TAO_Export BufferingConstraintPolicy 00158 : public virtual ::CORBA::Policy 00159 { 00160 public: 00161 typedef BufferingConstraintPolicy_ptr _ptr_type; 00162 typedef BufferingConstraintPolicy_var _var_type; 00163 00164 // The static operations. 00165 static BufferingConstraintPolicy_ptr _duplicate (BufferingConstraintPolicy_ptr obj); 00166 00167 static void _tao_release (BufferingConstraintPolicy_ptr obj); 00168 00169 static BufferingConstraintPolicy_ptr _narrow ( 00170 CORBA::Object_ptr obj 00171 ACE_ENV_ARG_DECL_WITH_DEFAULTS 00172 ); 00173 00174 static BufferingConstraintPolicy_ptr _unchecked_narrow ( 00175 CORBA::Object_ptr obj 00176 ACE_ENV_ARG_DECL_WITH_DEFAULTS 00177 ); 00178 00179 static BufferingConstraintPolicy_ptr _nil (void) 00180 { 00181 return static_cast<BufferingConstraintPolicy_ptr> (0); 00182 } 00183 00184 00185 00186 // TAO_IDL - Generated from 00187 // be\be_visitor_operation/operation_ch.cpp:46 00188 00189 virtual ::TAO::BufferingConstraint buffering_constraint ( 00190 ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS 00191 ) 00192 ACE_THROW_SPEC (( 00193 CORBA::SystemException 00194 )) = 0; 00195 00196 // TAO_IDL - Generated from 00197 // be\be_visitor_operation/operation_ch.cpp:46 00198 00199 virtual ::CORBA::Policy_ptr copy ( 00200 ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS 00201 ) 00202 ACE_THROW_SPEC (( 00203 CORBA::SystemException 00204 )) = 0; 00205 00206 // TAO_IDL - Generated from 00207 // be\be_visitor_operation/operation_ch.cpp:46 00208 00209 virtual void destroy ( 00210 ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS 00211 ) 00212 ACE_THROW_SPEC (( 00213 CORBA::SystemException 00214 )) = 0; 00215 00216 // TAO_IDL - Generated from 00217 // be\be_visitor_interface/interface_ch.cpp:210 00218 00219 virtual CORBA::Boolean _is_a ( 00220 const char *type_id 00221 ACE_ENV_ARG_DECL_WITH_DEFAULTS 00222 ); 00223 00224 virtual const char* _interface_repository_id (void) const; 00225 virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); 00226 00227 protected: 00228 // Abstract or local interface only. 00229 BufferingConstraintPolicy (void); 00230 00231 virtual ~BufferingConstraintPolicy (void); 00232 00233 private: 00234 // Private and unimplemented for concrete interfaces. 00235 BufferingConstraintPolicy (const BufferingConstraintPolicy &); 00236 00237 void operator= (const BufferingConstraintPolicy &); 00238 }; 00239 00240 #endif /* end #if !defined */ 00241 00242 // TAO_IDL - Generated from 00243 // be\be_visitor_constant/constant_ch.cpp:52 00244 00245 const Messaging::SyncScope SYNC_EAGER_BUFFERING = 0; 00246 00247 // TAO_IDL - Generated from 00248 // be\be_visitor_constant/constant_ch.cpp:52 00249 00250 const Messaging::SyncScope SYNC_DELAYED_BUFFERING = -2; 00251 00252 // TAO_IDL - Generated from 00253 // be\be_visitor_module/module_ch.cpp:78 00254 00255 } // module TAO 00256 00257 // TAO_IDL - Generated from 00258 // be\be_visitor_traits.cpp:61 00259 00260 // Traits specializations. 00261 namespace TAO 00262 { 00263 00264 #if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY__TRAITS_) 00265 #define _TAO_BUFFERINGCONSTRAINTPOLICY__TRAITS_ 00266 00267 template<> 00268 struct TAO_Export Objref_Traits< ::TAO::BufferingConstraintPolicy> 00269 { 00270 static ::TAO::BufferingConstraintPolicy_ptr duplicate ( 00271 ::TAO::BufferingConstraintPolicy_ptr 00272 ); 00273 static void release ( 00274 ::TAO::BufferingConstraintPolicy_ptr 00275 ); 00276 static ::TAO::BufferingConstraintPolicy_ptr nil (void); 00277 static CORBA::Boolean marshal ( 00278 const ::TAO::BufferingConstraintPolicy_ptr p, 00279 TAO_OutputCDR & cdr 00280 ); 00281 }; 00282 00283 #endif /* end #if !defined */ 00284 } 00285 00286 // TAO_IDL - Generated from 00287 // be\be_visitor_structure/cdr_op_ch.cpp:54 00288 00289 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO::BufferingConstraint &); 00290 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint &); 00291 00292 // TAO_IDL - Generated from 00293 // be\be_codegen.cpp:1028 00294 00295 TAO_END_VERSIONED_NAMESPACE_DECL 00296 00297 #include /**/ "ace/post.h" 00298 00299 #endif /* ifndef */ 00300 00301