Horus Doc || IDL Reference || C++ Binding   Java Binding || Doxygen's quick Index  

HxCorbaConfigure.h

Go to the documentation of this file.
00001 // **********************************************************************
00002 //
00003 // Generated by the ORBacus IDL-to-C++ Translator
00004 //
00005 // Copyright (c) 2001
00006 // IONA Technologies, Inc.
00007 // Waltham, MA, USA
00008 //
00009 // All Rights Reserved
00010 //
00011 // **********************************************************************
00012 
00013 // Version: 4.1.0
00014 
00015 #ifndef ___HxCorbaConfigure_h__
00016 #define ___HxCorbaConfigure_h__
00017 
00018 #include <HxCorbaTypes.h>
00019 
00020 #ifndef OB_INTEGER_VERSION
00021 #   error No ORBacus version defined! Is <OB/CORBA.h> included?
00022 #endif
00023 
00024 #ifndef OB_NO_VERSION_CHECK
00025 #   if (OB_INTEGER_VERSION != 4010000L)
00026 #       error ORBacus version mismatch!
00027 #   endif
00028 #endif
00029 
00030 namespace HxCorba
00031 {
00032 
00033 class ObjectUsage;
00034 typedef ObjectUsage* ObjectUsage_ptr;
00035 typedef ObjectUsage* ObjectUsageRef;
00036 
00037 extern OB::TypeCodeConst _tc_ObjectUsage;
00038 
00039 class Configure;
00040 typedef Configure* Configure_ptr;
00041 typedef Configure* ConfigureRef;
00042 
00043 extern OB::TypeCodeConst _tc_Configure;
00044 
00045 } // End of namespace HxCorba
00046 
00047 void OBDuplicate(HxCorba::ObjectUsage_ptr);
00048 void OBRelease(HxCorba::ObjectUsage_ptr);
00049 
00050 void OBMarshal(HxCorba::ObjectUsage_ptr, OB::OutputStreamImpl*);
00051 void OBUnmarshal(HxCorba::ObjectUsage_ptr&, OB::InputStreamImpl*);
00052 
00053 void OBDuplicate(HxCorba::Configure_ptr);
00054 void OBRelease(HxCorba::Configure_ptr);
00055 
00056 void OBMarshal(HxCorba::Configure_ptr, OB::OutputStreamImpl*);
00057 void OBUnmarshal(HxCorba::Configure_ptr&, OB::InputStreamImpl*);
00058 
00059 namespace HxCorba
00060 {
00061 
00062 typedef OB::ObjVar< ObjectUsage > ObjectUsage_var;
00063 typedef OB::ObjOut< ObjectUsage > ObjectUsage_out;
00064 
00065 typedef OB::ObjVar< Configure > Configure_var;
00066 typedef OB::ObjOut< Configure > Configure_out;
00067 
00068 } // End of namespace HxCorba
00069 
00070 namespace OBStubImpl_HxCorba
00071 {
00072 
00073 class ObjectUsage;
00074 typedef ObjectUsage* ObjectUsage_ptr;
00075 
00076 class Configure;
00077 typedef Configure* Configure_ptr;
00078 
00079 } // End of namespace OBStubImpl_HxCorba
00080 
00081 void OBDuplicate(OBStubImpl_HxCorba::ObjectUsage_ptr);
00082 void OBRelease(OBStubImpl_HxCorba::ObjectUsage_ptr);
00083 
00084 void OBDuplicate(OBStubImpl_HxCorba::Configure_ptr);
00085 void OBRelease(OBStubImpl_HxCorba::Configure_ptr);
00086 
00087 namespace OBStubImpl_HxCorba
00088 {
00089 
00090 typedef OB::ObjVar< ObjectUsage > ObjectUsage_var;
00091 
00092 typedef OB::ObjVar< Configure > Configure_var;
00093 
00094 } // End of namespace OBStubImpl_HxCorba
00095 
00096 //
00097 // IDL:HxCorba:1.0
00098 //
00099 namespace HxCorba
00100 {
00101 
00102 //
00103 // IDL:HxCorba/ObjectUsage:1.0
00104 //
00105 class ObjectUsage : virtual public CORBA::Object
00106 {
00107     ObjectUsage(const ObjectUsage&);
00108     void operator=(const ObjectUsage&);
00109 
00110 protected:
00111 
00112     static const char* ids_[];
00113 
00114 public:
00115 
00116     ObjectUsage() { }
00117     virtual ~ObjectUsage() { }
00118 
00119     typedef ObjectUsage_ptr _ptr_type;
00120     typedef ObjectUsage_var _var_type;
00121 
00122     static inline ObjectUsage_ptr
00123     _duplicate(ObjectUsage_ptr p)
00124     {
00125         if(p)
00126             p -> _add_ref();
00127         return p;
00128     }
00129 
00130     static inline ObjectUsage_ptr
00131     _nil()
00132     {
00133         return 0;
00134     }
00135 
00136     static ObjectUsage_ptr _narrow(CORBA::Object_ptr);
00137     static ObjectUsage_ptr _unchecked_narrow(CORBA::Object_ptr);
00138 
00139     static ObjectUsage_ptr _narrow(CORBA::AbstractBase_ptr);
00140     static ObjectUsage_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00141 
00142     static const char** _OB_staticIds();
00143 
00144     //
00145     // IDL:HxCorba/ObjectUsage/getUsed:1.0
00146     //
00147     virtual CORBA::Long getUsed(const char* unit) = 0;
00148 
00149     //
00150     // IDL:HxCorba/ObjectUsage/getTotalLimit:1.0
00151     //
00152     virtual CORBA::Long getTotalLimit(const char* unit) = 0;
00153 
00154     //
00155     // IDL:HxCorba/ObjectUsage/setTotalLimit:1.0
00156     //
00157     virtual void setTotalLimit(const char* unit,
00158                                CORBA::Long limit) = 0;
00159 
00160     //
00161     // IDL:HxCorba/ObjectUsage/getObjectLimit:1.0
00162     //
00163     virtual CORBA::Long getObjectLimit(const char* unit) = 0;
00164 
00165     //
00166     // IDL:HxCorba/ObjectUsage/setObjectLimit:1.0
00167     //
00168     virtual void setObjectLimit(const char* unit,
00169                                 CORBA::Long limit) = 0;
00170 
00171     //
00172     // IDL:HxCorba/ObjectUsage/listUnits:1.0
00173     //
00174     virtual StringSeq* listUnits() = 0;
00175 
00176     //
00177     // IDL:HxCorba/ObjectUsage/close:1.0
00178     //
00179     virtual void close() = 0;
00180 };
00181 
00182 //
00183 // IDL:HxCorba/Configure:1.0
00184 //
00185 class Configure : virtual public CORBA::Object
00186 {
00187     Configure(const Configure&);
00188     void operator=(const Configure&);
00189 
00190 protected:
00191 
00192     static const char* ids_[];
00193 
00194 public:
00195 
00196     Configure() { }
00197     virtual ~Configure() { }
00198 
00199     typedef Configure_ptr _ptr_type;
00200     typedef Configure_var _var_type;
00201 
00202     static inline Configure_ptr
00203     _duplicate(Configure_ptr p)
00204     {
00205         if(p)
00206             p -> _add_ref();
00207         return p;
00208     }
00209 
00210     static inline Configure_ptr
00211     _nil()
00212     {
00213         return 0;
00214     }
00215 
00216     static Configure_ptr _narrow(CORBA::Object_ptr);
00217     static Configure_ptr _unchecked_narrow(CORBA::Object_ptr);
00218 
00219     static Configure_ptr _narrow(CORBA::AbstractBase_ptr);
00220     static Configure_ptr _unchecked_narrow(CORBA::AbstractBase_ptr);
00221 
00222     static const char** _OB_staticIds();
00223 
00224     //
00225     // IDL:HxCorba/Configure/shutdown:1.0
00226     //
00227     virtual void shutdown() = 0;
00228 
00229     //
00230     // IDL:HxCorba/Configure/getDefaultObjectUsage:1.0
00231     //
00232     virtual ObjectUsage_ptr getDefaultObjectUsage() = 0;
00233 
00234     //
00235     // IDL:HxCorba/Configure/getObjectUsage:1.0
00236     //
00237     virtual ObjectUsage_ptr getObjectUsage(const char* name) = 0;
00238 
00239     //
00240     // IDL:HxCorba/Configure/listObjectUsages:1.0
00241     //
00242     virtual StringSeq* listObjectUsages() = 0;
00243 };
00244 
00245 } // End of namespace HxCorba
00246 
00247 //
00248 // IDL:HxCorba:1.0
00249 //
00250 namespace OBProxy_HxCorba
00251 {
00252 
00253 //
00254 // IDL:HxCorba/ObjectUsage:1.0
00255 //
00256 class ObjectUsage : virtual public ::HxCorba::ObjectUsage,
00257                     virtual public OBCORBA::Object
00258 {
00259     ObjectUsage(const ObjectUsage&);
00260     void operator=(const ObjectUsage&);
00261 
00262 protected:
00263 
00264     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00265 
00266 public:
00267 
00268     ObjectUsage() { }
00269     virtual ~ObjectUsage() { }
00270 
00271     virtual const char** _OB_ids() const;
00272 
00273     //
00274     // IDL:HxCorba/ObjectUsage/getUsed:1.0
00275     //
00276     CORBA::Long getUsed(const char* unit);
00277 
00278     //
00279     // IDL:HxCorba/ObjectUsage/getTotalLimit:1.0
00280     //
00281     CORBA::Long getTotalLimit(const char* unit);
00282 
00283     //
00284     // IDL:HxCorba/ObjectUsage/setTotalLimit:1.0
00285     //
00286     void setTotalLimit(const char* unit,
00287                        CORBA::Long limit);
00288 
00289     //
00290     // IDL:HxCorba/ObjectUsage/getObjectLimit:1.0
00291     //
00292     CORBA::Long getObjectLimit(const char* unit);
00293 
00294     //
00295     // IDL:HxCorba/ObjectUsage/setObjectLimit:1.0
00296     //
00297     void setObjectLimit(const char* unit,
00298                         CORBA::Long limit);
00299 
00300     //
00301     // IDL:HxCorba/ObjectUsage/listUnits:1.0
00302     //
00303     ::HxCorba::StringSeq* listUnits();
00304 
00305     //
00306     // IDL:HxCorba/ObjectUsage/close:1.0
00307     //
00308     void close();
00309 };
00310 
00311 //
00312 // IDL:HxCorba/Configure:1.0
00313 //
00314 class Configure : virtual public ::HxCorba::Configure,
00315                   virtual public OBCORBA::Object
00316 {
00317     Configure(const Configure&);
00318     void operator=(const Configure&);
00319 
00320 protected:
00321 
00322     virtual OB::MarshalStubImpl_ptr _OB_createMarshalStubImpl();
00323 
00324 public:
00325 
00326     Configure() { }
00327     virtual ~Configure() { }
00328 
00329     virtual const char** _OB_ids() const;
00330 
00331     //
00332     // IDL:HxCorba/Configure/shutdown:1.0
00333     //
00334     void shutdown();
00335 
00336     //
00337     // IDL:HxCorba/Configure/getDefaultObjectUsage:1.0
00338     //
00339     ::HxCorba::ObjectUsage_ptr getDefaultObjectUsage();
00340 
00341     //
00342     // IDL:HxCorba/Configure/getObjectUsage:1.0
00343     //
00344     ::HxCorba::ObjectUsage_ptr getObjectUsage(const char* name);
00345 
00346     //
00347     // IDL:HxCorba/Configure/listObjectUsages:1.0
00348     //
00349     ::HxCorba::StringSeq* listObjectUsages();
00350 };
00351 
00352 } // End of namespace OBProxy_HxCorba
00353 
00354 //
00355 // IDL:HxCorba:1.0
00356 //
00357 namespace OBStubImpl_HxCorba
00358 {
00359 
00360 //
00361 // IDL:HxCorba/ObjectUsage:1.0
00362 //
00363 class ObjectUsage : virtual public OB::StubImplBase
00364 {
00365     ObjectUsage(const ObjectUsage&);
00366     void operator=(const ObjectUsage&);
00367 
00368 protected:
00369 
00370     ObjectUsage() { }
00371 
00372 public:
00373 
00374     static inline ObjectUsage_ptr
00375     _duplicate(ObjectUsage_ptr p)
00376     {
00377         if(p)
00378             p -> _OB_incRef();
00379         return p;
00380     }
00381 
00382     static inline ObjectUsage_ptr
00383     _nil()
00384     {
00385         return 0;
00386     }
00387 
00388     //
00389     // IDL:HxCorba/ObjectUsage/getUsed:1.0
00390     //
00391     virtual CORBA::Long getUsed(const char* unit) = 0;
00392 
00393     //
00394     // IDL:HxCorba/ObjectUsage/getTotalLimit:1.0
00395     //
00396     virtual CORBA::Long getTotalLimit(const char* unit) = 0;
00397 
00398     //
00399     // IDL:HxCorba/ObjectUsage/setTotalLimit:1.0
00400     //
00401     virtual void setTotalLimit(const char* unit,
00402                                CORBA::Long limit) = 0;
00403 
00404     //
00405     // IDL:HxCorba/ObjectUsage/getObjectLimit:1.0
00406     //
00407     virtual CORBA::Long getObjectLimit(const char* unit) = 0;
00408 
00409     //
00410     // IDL:HxCorba/ObjectUsage/setObjectLimit:1.0
00411     //
00412     virtual void setObjectLimit(const char* unit,
00413                                 CORBA::Long limit) = 0;
00414 
00415     //
00416     // IDL:HxCorba/ObjectUsage/listUnits:1.0
00417     //
00418     virtual ::HxCorba::StringSeq* listUnits() = 0;
00419 
00420     //
00421     // IDL:HxCorba/ObjectUsage/close:1.0
00422     //
00423     virtual void close() = 0;
00424 };
00425 
00426 //
00427 // IDL:HxCorba/Configure:1.0
00428 //
00429 class Configure : virtual public OB::StubImplBase
00430 {
00431     Configure(const Configure&);
00432     void operator=(const Configure&);
00433 
00434 protected:
00435 
00436     Configure() { }
00437 
00438 public:
00439 
00440     static inline Configure_ptr
00441     _duplicate(Configure_ptr p)
00442     {
00443         if(p)
00444             p -> _OB_incRef();
00445         return p;
00446     }
00447 
00448     static inline Configure_ptr
00449     _nil()
00450     {
00451         return 0;
00452     }
00453 
00454     //
00455     // IDL:HxCorba/Configure/shutdown:1.0
00456     //
00457     virtual void shutdown() = 0;
00458 
00459     //
00460     // IDL:HxCorba/Configure/getDefaultObjectUsage:1.0
00461     //
00462     virtual ::HxCorba::ObjectUsage_ptr getDefaultObjectUsage() = 0;
00463 
00464     //
00465     // IDL:HxCorba/Configure/getObjectUsage:1.0
00466     //
00467     virtual ::HxCorba::ObjectUsage_ptr getObjectUsage(const char* name) = 0;
00468 
00469     //
00470     // IDL:HxCorba/Configure/listObjectUsages:1.0
00471     //
00472     virtual ::HxCorba::StringSeq* listObjectUsages() = 0;
00473 };
00474 
00475 } // End of namespace OBStubImpl_HxCorba
00476 
00477 //
00478 // IDL:HxCorba:1.0
00479 //
00480 namespace OBMarshalStubImpl_HxCorba
00481 {
00482 
00483 //
00484 // IDL:HxCorba/ObjectUsage:1.0
00485 //
00486 class ObjectUsage : virtual public OBStubImpl_HxCorba::ObjectUsage,
00487                     virtual public OB::MarshalStubImpl
00488 {
00489     ObjectUsage(const ObjectUsage&);
00490     void operator=(const ObjectUsage&);
00491 
00492 protected:
00493 
00494     ObjectUsage() { }
00495     friend class OBProxy_HxCorba::ObjectUsage;
00496 
00497 public:
00498 
00499     //
00500     // IDL:HxCorba/ObjectUsage/getUsed:1.0
00501     //
00502     virtual CORBA::Long getUsed(const char* unit);
00503 
00504     //
00505     // IDL:HxCorba/ObjectUsage/getTotalLimit:1.0
00506     //
00507     virtual CORBA::Long getTotalLimit(const char* unit);
00508 
00509     //
00510     // IDL:HxCorba/ObjectUsage/setTotalLimit:1.0
00511     //
00512     virtual void setTotalLimit(const char* unit,
00513                                CORBA::Long limit);
00514 
00515     //
00516     // IDL:HxCorba/ObjectUsage/getObjectLimit:1.0
00517     //
00518     virtual CORBA::Long getObjectLimit(const char* unit);
00519 
00520     //
00521     // IDL:HxCorba/ObjectUsage/setObjectLimit:1.0
00522     //
00523     virtual void setObjectLimit(const char* unit,
00524                                 CORBA::Long limit);
00525 
00526     //
00527     // IDL:HxCorba/ObjectUsage/listUnits:1.0
00528     //
00529     virtual ::HxCorba::StringSeq* listUnits();
00530 
00531     //
00532     // IDL:HxCorba/ObjectUsage/close:1.0
00533     //
00534     virtual void close();
00535 };
00536 
00537 //
00538 // IDL:HxCorba/Configure:1.0
00539 //
00540 class Configure : virtual public OBStubImpl_HxCorba::Configure,
00541                   virtual public OB::MarshalStubImpl
00542 {
00543     Configure(const Configure&);
00544     void operator=(const Configure&);
00545 
00546 protected:
00547 
00548     Configure() { }
00549     friend class OBProxy_HxCorba::Configure;
00550 
00551 public:
00552 
00553     //
00554     // IDL:HxCorba/Configure/shutdown:1.0
00555     //
00556     virtual void shutdown();
00557 
00558     //
00559     // IDL:HxCorba/Configure/getDefaultObjectUsage:1.0
00560     //
00561     virtual ::HxCorba::ObjectUsage_ptr getDefaultObjectUsage();
00562 
00563     //
00564     // IDL:HxCorba/Configure/getObjectUsage:1.0
00565     //
00566     virtual ::HxCorba::ObjectUsage_ptr getObjectUsage(const char* name);
00567 
00568     //
00569     // IDL:HxCorba/Configure/listObjectUsages:1.0
00570     //
00571     virtual ::HxCorba::StringSeq* listObjectUsages();
00572 };
00573 
00574 } // End of namespace OBMarshalStubImpl_HxCorba
00575 
00576 //
00577 // IDL:HxCorba:1.0
00578 //
00579 namespace OBV_HxCorba
00580 {
00581 
00582 } // End of namespace OBV_HxCorba
00583 
00584 //
00585 // IDL:HxCorba/ObjectUsage:1.0
00586 //
00587 namespace CORBA
00588 {
00589 
00590 inline void
00591 release(::HxCorba::ObjectUsage_ptr p)
00592 {
00593     if(p)
00594         p -> _remove_ref();
00595 }
00596 
00597 inline Boolean
00598 is_nil(::HxCorba::ObjectUsage_ptr p)
00599 {
00600     return p == 0;
00601 }
00602 
00603 inline void
00604 release(OBStubImpl_HxCorba::ObjectUsage_ptr p)
00605 {
00606     if(p)
00607         p -> _OB_decRef();
00608 }
00609 
00610 inline Boolean
00611 is_nil(OBStubImpl_HxCorba::ObjectUsage_ptr p)
00612 {
00613     return p == 0;
00614 }
00615 
00616 } // End of namespace CORBA
00617 
00618 void operator<<=(CORBA::Any&, HxCorba::ObjectUsage_ptr*);
00619 void operator<<=(CORBA::Any&, HxCorba::ObjectUsage_ptr);
00620 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::ObjectUsage_ptr&);
00621 
00622 inline void
00623 operator<<=(CORBA::Any_var& any, HxCorba::ObjectUsage_ptr* val)
00624 {
00625     any.inout() <<= val;
00626 }
00627 
00628 inline void
00629 operator<<=(CORBA::Any_var& any, HxCorba::ObjectUsage_ptr val)
00630 {
00631     any.inout() <<= val;
00632 }
00633 
00634 inline CORBA::Boolean
00635 operator>>=(const CORBA::Any_var& any, HxCorba::ObjectUsage_ptr& val)
00636 {
00637     return any.in() >>= val;
00638 }
00639 
00640 //
00641 // IDL:HxCorba/Configure:1.0
00642 //
00643 namespace CORBA
00644 {
00645 
00646 inline void
00647 release(::HxCorba::Configure_ptr p)
00648 {
00649     if(p)
00650         p -> _remove_ref();
00651 }
00652 
00653 inline Boolean
00654 is_nil(::HxCorba::Configure_ptr p)
00655 {
00656     return p == 0;
00657 }
00658 
00659 inline void
00660 release(OBStubImpl_HxCorba::Configure_ptr p)
00661 {
00662     if(p)
00663         p -> _OB_decRef();
00664 }
00665 
00666 inline Boolean
00667 is_nil(OBStubImpl_HxCorba::Configure_ptr p)
00668 {
00669     return p == 0;
00670 }
00671 
00672 } // End of namespace CORBA
00673 
00674 void operator<<=(CORBA::Any&, HxCorba::Configure_ptr*);
00675 void operator<<=(CORBA::Any&, HxCorba::Configure_ptr);
00676 CORBA::Boolean operator>>=(const CORBA::Any&, HxCorba::Configure_ptr&);
00677 
00678 inline void
00679 operator<<=(CORBA::Any_var& any, HxCorba::Configure_ptr* val)
00680 {
00681     any.inout() <<= val;
00682 }
00683 
00684 inline void
00685 operator<<=(CORBA::Any_var& any, HxCorba::Configure_ptr val)
00686 {
00687     any.inout() <<= val;
00688 }
00689 
00690 inline CORBA::Boolean
00691 operator>>=(const CORBA::Any_var& any, HxCorba::Configure_ptr& val)
00692 {
00693     return any.in() >>= val;
00694 }
00695 
00696 #endif

Generated on Mon Jan 27 15:07:49 2003 for C++Binding by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001