AttributesC.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_ATTRIBUTESC_H_
00032 #define _TAO_IDL__HOME_KALTAN_SRC_WWW_OROCOS_1_0_EXPORT_BUILD_OROCOS_RTT_1_12_1_BUILD_SRC_CORBA_ATTRIBUTESC_H_
00033
00034
00035 #include "ace/config-all.h"
00036
00037 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00038 # pragma once
00039 #endif
00040
00041
00042 #include "rtt-corba-config.h"
00043 #include "tao/AnyTypeCode/AnyTypeCode_methods.h"
00044 #include "tao/ORB.h"
00045 #include "tao/SystemException.h"
00046 #include "tao/Basic_Types.h"
00047 #include "tao/ORB_Constants.h"
00048 #include "tao/Object.h"
00049 #include "tao/String_Manager_T.h"
00050 #include "tao/AnyTypeCode/BooleanSeqA.h"
00051 #include "tao/AnyTypeCode/CharSeqA.h"
00052 #include "tao/AnyTypeCode/DoubleSeqA.h"
00053 #include "tao/AnyTypeCode/FloatSeqA.h"
00054 #include "tao/AnyTypeCode/LongDoubleSeqA.h"
00055 #include "tao/AnyTypeCode/LongSeqA.h"
00056 #include "tao/AnyTypeCode/OctetSeqA.h"
00057 #include "tao/AnyTypeCode/ShortSeqA.h"
00058 #include "tao/AnyTypeCode/StringSeqA.h"
00059 #include "tao/AnyTypeCode/ULongSeqA.h"
00060 #include "tao/AnyTypeCode/UShortSeqA.h"
00061 #include "tao/AnyTypeCode/WCharSeqA.h"
00062 #include "tao/AnyTypeCode/WStringSeqA.h"
00063 #include "tao/AnyTypeCode/LongLongSeqA.h"
00064 #include "tao/AnyTypeCode/ULongLongSeqA.h"
00065 #include "tao/AnyTypeCode/PolicyA.h"
00066 #include "tao/AnyTypeCode/Policy_ManagerA.h"
00067 #include "tao/AnyTypeCode/Policy_CurrentA.h"
00068 #include "tao/AnyTypeCode/ServicesA.h"
00069 #include "tao/AnyTypeCode/ParameterModeA.h"
00070 #include "tao/AnyTypeCode/orb_typesA.h"
00071 #include "tao/AnyTypeCode/Typecode_typesA.h"
00072 #include "tao/AnyTypeCode/WrongTransactionA.h"
00073 #include "tao/Sequence_T.h"
00074 #include "tao/Objref_VarOut_T.h"
00075 #include "tao/Seq_Var_T.h"
00076 #include "tao/Seq_Out_T.h"
00077 #include "tao/VarOut_T.h"
00078 #include "tao/Versioned_Namespace.h"
00079
00080 #include "tao/BooleanSeqC.h"
00081 #include "tao/CharSeqC.h"
00082 #include "tao/DoubleSeqC.h"
00083 #include "tao/FloatSeqC.h"
00084 #include "tao/LongDoubleSeqC.h"
00085 #include "tao/LongSeqC.h"
00086 #include "tao/OctetSeqC.h"
00087 #include "tao/ShortSeqC.h"
00088 #include "tao/StringSeqC.h"
00089 #include "tao/ULongSeqC.h"
00090 #include "tao/UShortSeqC.h"
00091 #include "tao/WCharSeqC.h"
00092 #include "tao/WStringSeqC.h"
00093 #include "tao/LongLongSeqC.h"
00094 #include "tao/ULongLongSeqC.h"
00095 #include "tao/PolicyC.h"
00096 #include "tao/Policy_ManagerC.h"
00097 #include "tao/Policy_CurrentC.h"
00098 #include "tao/ServicesC.h"
00099 #include "tao/ParameterModeC.h"
00100 #include "tao/orb_typesC.h"
00101 #include "tao/Typecode_typesC.h"
00102 #include "tao/WrongTransactionC.h"
00103 #include "OperationsC.h"
00104
00105 #if defined (TAO_EXPORT_MACRO)
00106 #undef TAO_EXPORT_MACRO
00107 #endif
00108 #define TAO_EXPORT_MACRO RTT_CORBA_API
00109
00110
00111
00112 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00113
00114
00115
00116 namespace TAO
00117 {
00118 class Collocation_Proxy_Broker;
00119 template<typename T> class Narrow_Utils;
00120 }
00121 TAO_END_VERSIONED_NAMESPACE_DECL
00122
00123
00124
00125
00126
00127
00128 namespace RTT
00129 {
00130
00131
00132
00133
00134 namespace Corba
00135 {
00136
00137
00138
00139
00140 #if !defined (_RTT_CORBA_ATTRIBUTEINTERFACE__VAR_OUT_CH_)
00141 #define _RTT_CORBA_ATTRIBUTEINTERFACE__VAR_OUT_CH_
00142
00143 class AttributeInterface;
00144 typedef AttributeInterface *AttributeInterface_ptr;
00145
00146 typedef
00147 TAO_Objref_Var_T<
00148 AttributeInterface
00149 >
00150 AttributeInterface_var;
00151
00152 typedef
00153 TAO_Objref_Out_T<
00154 AttributeInterface
00155 >
00156 AttributeInterface_out;
00157
00158 #endif
00159
00160
00161
00162
00163 #if !defined (_RTT_CORBA_ATTRIBUTEINTERFACE_CH_)
00164 #define _RTT_CORBA_ATTRIBUTEINTERFACE_CH_
00165
00166 class RTT_CORBA_API AttributeInterface
00167 : public virtual ::CORBA::Object
00168 {
00169 public:
00170 friend class TAO::Narrow_Utils<AttributeInterface>;
00171 typedef AttributeInterface_ptr _ptr_type;
00172 typedef AttributeInterface_var _var_type;
00173 typedef AttributeInterface_out _out_type;
00174
00175
00176 static AttributeInterface_ptr _duplicate (AttributeInterface_ptr obj);
00177
00178 static void _tao_release (AttributeInterface_ptr obj);
00179
00180 static AttributeInterface_ptr _narrow (::CORBA::Object_ptr obj);
00181 static AttributeInterface_ptr _unchecked_narrow (::CORBA::Object_ptr obj);
00182 static AttributeInterface_ptr _nil (void)
00183 {
00184 return static_cast<AttributeInterface_ptr> (0);
00185 }
00186
00187 static void _tao_any_destructor (void *);
00188
00189
00190
00191
00192 struct Property;
00193
00194 typedef
00195 TAO_Var_Var_T<
00196 Property
00197 >
00198 Property_var;
00199
00200 typedef
00201 TAO_Out_T<
00202 Property
00203 >
00204 Property_out;
00205
00206
00207
00208
00209 struct RTT_CORBA_API Property
00210 {
00211 typedef Property_var _var_type;
00212 typedef Property_out _out_type;
00213
00214 static void _tao_any_destructor (void *);
00215 TAO::String_Manager name;
00216 TAO::String_Manager description;
00217 };
00218
00219
00220
00221
00222 static ::CORBA::TypeCode_ptr const _tc_Property;
00223
00224
00225
00226
00227 #if !defined (_RTT_CORBA_ATTRIBUTEINTERFACE_PROPERTYNAMES_CH_)
00228 #define _RTT_CORBA_ATTRIBUTEINTERFACE_PROPERTYNAMES_CH_
00229
00230 class PropertyNames;
00231
00232 typedef
00233 TAO_VarSeq_Var_T<
00234 PropertyNames
00235 >
00236 PropertyNames_var;
00237
00238 typedef
00239 TAO_Seq_Out_T<
00240 PropertyNames
00241 >
00242 PropertyNames_out;
00243
00244 class RTT_CORBA_API PropertyNames
00245 : public
00246 TAO::unbounded_value_sequence<
00247 Property
00248 >
00249 {
00250 public:
00251 PropertyNames (void);
00252 PropertyNames ( ::CORBA::ULong max);
00253 PropertyNames (
00254 ::CORBA::ULong max,
00255 ::CORBA::ULong length,
00256 Property* buffer,
00257 ::CORBA::Boolean release = false
00258 );
00259 PropertyNames (const PropertyNames &);
00260 virtual ~PropertyNames (void);
00261
00262 static void _tao_any_destructor (void *);
00263
00264 typedef PropertyNames_var _var_type;
00265 typedef PropertyNames_out _out_type;
00266
00267
00268 };
00269
00270 #endif
00271
00272
00273
00274
00275 static ::CORBA::TypeCode_ptr const _tc_PropertyNames;
00276
00277
00278
00279
00280 #if !defined (_RTT_CORBA_ATTRIBUTEINTERFACE_ATTRIBUTENAMES_CH_)
00281 #define _RTT_CORBA_ATTRIBUTEINTERFACE_ATTRIBUTENAMES_CH_
00282
00283 class AttributeNames;
00284
00285 typedef
00286 TAO_VarSeq_Var_T<
00287 AttributeNames
00288 >
00289 AttributeNames_var;
00290
00291 typedef
00292 TAO_Seq_Out_T<
00293 AttributeNames
00294 >
00295 AttributeNames_out;
00296
00297 class RTT_CORBA_API AttributeNames
00298 : public
00299 TAO::unbounded_basic_string_sequence<char>
00300 {
00301 public:
00302 AttributeNames (void);
00303 AttributeNames ( ::CORBA::ULong max);
00304 AttributeNames (
00305 ::CORBA::ULong max,
00306 ::CORBA::ULong length,
00307 ::CORBA::Char ** buffer,
00308 ::CORBA::Boolean release = false
00309 );
00310 AttributeNames (const AttributeNames &);
00311 virtual ~AttributeNames (void);
00312
00313 static void _tao_any_destructor (void *);
00314
00315 typedef AttributeNames_var _var_type;
00316 typedef AttributeNames_out _out_type;
00317
00318
00319 };
00320
00321 #endif
00322
00323
00324
00325
00326 static ::CORBA::TypeCode_ptr const _tc_AttributeNames;
00327
00328
00329
00330
00331 virtual ::RTT::Corba::AttributeInterface::AttributeNames * getAttributeList (
00332 void);
00333
00334
00335
00336
00337 virtual ::RTT::Corba::AttributeInterface::PropertyNames * getPropertyList (
00338 void);
00339
00340
00341
00342
00343 virtual ::RTT::Corba::Expression_ptr getAttribute (
00344 const char * name);
00345
00346
00347
00348
00349 virtual ::RTT::Corba::Expression_ptr getProperty (
00350 const char * name);
00351
00352
00353
00354
00355 virtual ::CORBA::Boolean _is_a (const char *type_id);
00356 virtual const char* _interface_repository_id (void) const;
00357 virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr);
00358 private:
00359 TAO::Collocation_Proxy_Broker *the_TAO_AttributeInterface_Proxy_Broker_;
00360
00361 protected:
00362
00363 AttributeInterface (void);
00364
00365
00366
00367 virtual void RTT_Corba_AttributeInterface_setup_collocation (void);
00368
00369
00370 AttributeInterface (
00371 IOP::IOR *ior,
00372 TAO_ORB_Core *orb_core = 0);
00373
00374
00375 AttributeInterface (
00376 TAO_Stub *objref,
00377 ::CORBA::Boolean _tao_collocated = false,
00378 TAO_Abstract_ServantBase *servant = 0,
00379 TAO_ORB_Core *orb_core = 0);
00380
00381 virtual ~AttributeInterface (void);
00382
00383 private:
00384
00385 AttributeInterface (const AttributeInterface &);
00386
00387 void operator= (const AttributeInterface &);
00388 };
00389
00390 #endif
00391
00392
00393
00394
00395 extern RTT_CORBA_API ::CORBA::TypeCode_ptr const _tc_AttributeInterface;
00396
00397
00398
00399
00400 }
00401
00402
00403
00404
00405 }
00406
00407
00408
00409
00410
00411
00412 extern RTT_CORBA_API
00413 TAO::Collocation_Proxy_Broker *
00414 (*RTT_Corba__TAO_AttributeInterface_Proxy_Broker_Factory_function_pointer) (
00415 ::CORBA::Object_ptr obj
00416 );
00417
00418
00419
00420
00421 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00422
00423
00424 namespace TAO
00425 {
00426
00427 #if !defined (_RTT_CORBA_ATTRIBUTEINTERFACE__TRAITS_)
00428 #define _RTT_CORBA_ATTRIBUTEINTERFACE__TRAITS_
00429
00430 template<>
00431 struct RTT_CORBA_API Objref_Traits< ::RTT::Corba::AttributeInterface>
00432 {
00433 static ::RTT::Corba::AttributeInterface_ptr duplicate (
00434 ::RTT::Corba::AttributeInterface_ptr p
00435 );
00436 static void release (
00437 ::RTT::Corba::AttributeInterface_ptr p
00438 );
00439 static ::RTT::Corba::AttributeInterface_ptr nil (void);
00440 static ::CORBA::Boolean marshal (
00441 const ::RTT::Corba::AttributeInterface_ptr p,
00442 TAO_OutputCDR & cdr
00443 );
00444 };
00445
00446 #endif
00447 }
00448 TAO_END_VERSIONED_NAMESPACE_DECL
00449
00450
00451
00452
00453
00454
00455
00456
00457 #if defined (ACE_ANY_OPS_USE_NAMESPACE)
00458
00459 namespace RTT
00460 {
00461
00462 namespace Corba
00463 {
00464 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, AttributeInterface_ptr);
00465 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, AttributeInterface_ptr *);
00466 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, AttributeInterface_ptr &);
00467 }
00468 }
00469
00470 #else
00471
00472
00473 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00474
00475 RTT_CORBA_API void operator<<= (::CORBA::Any &, RTT::Corba::AttributeInterface_ptr);
00476 RTT_CORBA_API void operator<<= (::CORBA::Any &, RTT::Corba::AttributeInterface_ptr *);
00477 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, RTT::Corba::AttributeInterface_ptr &);
00478 TAO_END_VERSIONED_NAMESPACE_DECL
00479
00480
00481
00482 #endif
00483
00484
00485
00486
00487
00488 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00489
00490 RTT_CORBA_API void operator<<= (::CORBA::Any &, const RTT::Corba::AttributeInterface::Property &);
00491 RTT_CORBA_API void operator<<= (::CORBA::Any &, RTT::Corba::AttributeInterface::Property*);
00492 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, RTT::Corba::AttributeInterface::Property *&);
00493 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const RTT::Corba::AttributeInterface::Property *&);
00494 TAO_END_VERSIONED_NAMESPACE_DECL
00495
00496
00497
00498
00499
00500
00501
00502 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00503
00504 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, const RTT::Corba::AttributeInterface::PropertyNames &);
00505 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, RTT::Corba::AttributeInterface::PropertyNames*);
00506 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, RTT::Corba::AttributeInterface::PropertyNames *&);
00507 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const RTT::Corba::AttributeInterface::PropertyNames *&);
00508 TAO_END_VERSIONED_NAMESPACE_DECL
00509
00510
00511
00512
00513
00514
00515
00516 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00517
00518 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, const RTT::Corba::AttributeInterface::AttributeNames &);
00519 RTT_CORBA_API void operator<<= ( ::CORBA::Any &, RTT::Corba::AttributeInterface::AttributeNames*);
00520 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, RTT::Corba::AttributeInterface::AttributeNames *&);
00521 RTT_CORBA_API ::CORBA::Boolean operator>>= (const ::CORBA::Any &, const RTT::Corba::AttributeInterface::AttributeNames *&);
00522 TAO_END_VERSIONED_NAMESPACE_DECL
00523
00524
00525
00526
00527
00528
00529 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00530
00531 RTT_CORBA_API ::CORBA::Boolean operator<< (TAO_OutputCDR &, const RTT::Corba::AttributeInterface_ptr );
00532 RTT_CORBA_API ::CORBA::Boolean operator>> (TAO_InputCDR &, RTT::Corba::AttributeInterface_ptr &);
00533
00534 TAO_END_VERSIONED_NAMESPACE_DECL
00535
00536
00537
00538
00539
00540
00541
00542 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00543
00544 RTT_CORBA_API ::CORBA::Boolean operator<< (TAO_OutputCDR &, const RTT::Corba::AttributeInterface::Property &);
00545 RTT_CORBA_API ::CORBA::Boolean operator>> (TAO_InputCDR &, RTT::Corba::AttributeInterface::Property &);
00546
00547 TAO_END_VERSIONED_NAMESPACE_DECL
00548
00549
00550
00551
00552
00553
00554 #if !defined _TAO_CDR_OP_RTT_Corba_AttributeInterface_PropertyNames_H_
00555 #define _TAO_CDR_OP_RTT_Corba_AttributeInterface_PropertyNames_H_
00556 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00557
00558
00559
00560 RTT_CORBA_API ::CORBA::Boolean operator<< (
00561 TAO_OutputCDR &strm,
00562 const RTT::Corba::AttributeInterface::PropertyNames &_tao_sequence
00563 );
00564 RTT_CORBA_API ::CORBA::Boolean operator>> (
00565 TAO_InputCDR &strm,
00566 RTT::Corba::AttributeInterface::PropertyNames &_tao_sequence
00567 );
00568 TAO_END_VERSIONED_NAMESPACE_DECL
00569
00570
00571
00572 #endif
00573
00574
00575
00576
00577 #if !defined _TAO_CDR_OP_RTT_Corba_AttributeInterface_AttributeNames_H_
00578 #define _TAO_CDR_OP_RTT_Corba_AttributeInterface_AttributeNames_H_
00579 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00580
00581
00582
00583 RTT_CORBA_API ::CORBA::Boolean operator<< (
00584 TAO_OutputCDR &strm,
00585 const RTT::Corba::AttributeInterface::AttributeNames &_tao_sequence
00586 );
00587 RTT_CORBA_API ::CORBA::Boolean operator>> (
00588 TAO_InputCDR &strm,
00589 RTT::Corba::AttributeInterface::AttributeNames &_tao_sequence
00590 );
00591 TAO_END_VERSIONED_NAMESPACE_DECL
00592
00593
00594
00595 #endif
00596
00597
00598
00599 #if defined (__ACE_INLINE__)
00600 #include "AttributesC.inl"
00601 #endif
00602
00603 #endif
00604
00605