DomainC.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // DomainC.h,v 1.75 2006/04/19 08:39:44 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:153
00030 
00031 #ifndef _TAO_IDL_ORIG_DOMAINC_H_
00032 #define _TAO_IDL_ORIG_DOMAINC_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/Sequence_T.h"
00049 #include "tao/Objref_VarOut_T.h"
00050 #include "tao/Seq_Var_T.h"
00051 #include "tao/Seq_Out_T.h"
00052 
00053 #include "tao/PolicyC.h"
00054 
00055 #if defined (TAO_EXPORT_MACRO)
00056 #undef TAO_EXPORT_MACRO
00057 #endif
00058 #define TAO_EXPORT_MACRO TAO_Export
00059 
00060 #if defined(_MSC_VER)
00061 #pragma warning(push)
00062 #pragma warning(disable:4250)
00063 #endif /* _MSC_VER */
00064 
00065 #if defined (__BORLANDC__)
00066 #pragma option push -w-rvl -w-rch -w-ccc -w-inl
00067 #endif /* __BORLANDC__ */
00068 
00069 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00070 
00071 // TAO_IDL - Generated from
00072 // be\be_visitor_root/root_ch.cpp:62
00073 
00074 namespace TAO
00075 {
00076   class Collocation_Proxy_Broker;
00077   template<typename T> class Narrow_Utils;
00078 }
00079 
00080 // TAO_IDL - Generated from
00081 // be\be_visitor_module/module_ch.cpp:48
00082 
00083 namespace CORBA
00084 {
00085 
00086   // TAO_IDL - Generated from
00087   // be\be_interface.cpp:598
00088 
00089 #if !defined (_CORBA_DOMAINMANAGER__VAR_OUT_CH_)
00090 #define _CORBA_DOMAINMANAGER__VAR_OUT_CH_
00091 
00092   class DomainManager;
00093   typedef DomainManager *DomainManager_ptr;
00094 
00095   typedef
00096     TAO_Objref_Var_T<
00097         DomainManager
00098       >
00099     DomainManager_var;
00100 
00101   typedef
00102     TAO_Objref_Out_T<
00103         DomainManager
00104       >
00105     DomainManager_out;
00106 
00107 #endif /* end #if !defined */
00108 
00109   // TAO_IDL - Generated from
00110   // be\be_visitor_interface/interface_ch.cpp:54
00111 
00112 #if !defined (_CORBA_DOMAINMANAGER_CH_)
00113 #define _CORBA_DOMAINMANAGER_CH_
00114 
00115   class TAO_Export DomainManager
00116     : public virtual CORBA::Object
00117   {
00118   public:
00119     friend class TAO::Narrow_Utils<DomainManager>;
00120     typedef DomainManager_ptr _ptr_type;
00121     typedef DomainManager_var _var_type;
00122 
00123     // The static operations.
00124     static DomainManager_ptr _duplicate (DomainManager_ptr obj);
00125 
00126     static void _tao_release (DomainManager_ptr obj);
00127 
00128     static DomainManager_ptr _narrow (
00129         CORBA::Object_ptr obj
00130         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00131       );
00132 
00133     static DomainManager_ptr _unchecked_narrow (
00134         CORBA::Object_ptr obj
00135         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00136       );
00137 
00138     static DomainManager_ptr _nil (void)
00139     {
00140       return static_cast<DomainManager_ptr> (0);
00141     }
00142 
00143     static void _tao_any_destructor (void *);
00144 
00145     // TAO_IDL - Generated from
00146     // be\be_visitor_operation/operation_ch.cpp:46
00147 
00148     virtual ::CORBA::Policy_ptr get_domain_policy (
00149         ::CORBA::PolicyType policy_type
00150         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00151       )
00152       ACE_THROW_SPEC ((
00153         CORBA::SystemException
00154       ));
00155 
00156     // TAO_IDL - Generated from
00157     // be\be_visitor_interface/interface_ch.cpp:210
00158 
00159     virtual CORBA::Boolean _is_a (
00160         const char *type_id
00161         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00162       );
00163 
00164     virtual const char* _interface_repository_id (void) const;
00165     virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
00166   private:
00167     TAO::Collocation_Proxy_Broker *the_TAO_DomainManager_Proxy_Broker_;
00168 
00169   protected:
00170     // Concrete interface only.
00171     DomainManager (void);
00172 
00173     // These methods travese the inheritance tree and set the
00174     // parents piece of the given class in the right mode.
00175     virtual void CORBA_DomainManager_setup_collocation (void);
00176 
00177     // Concrete non-local interface only.
00178     DomainManager (
00179         IOP::IOR *ior,
00180         TAO_ORB_Core *orb_core = 0
00181       );
00182 
00183     // Non-local interface only.
00184     DomainManager (
00185         TAO_Stub *objref,
00186         CORBA::Boolean _tao_collocated = 0,
00187         TAO_Abstract_ServantBase *servant = 0,
00188         TAO_ORB_Core *orb_core = 0
00189       );
00190 
00191     virtual ~DomainManager (void);
00192 
00193   private:
00194     // Private and unimplemented for concrete interfaces.
00195     DomainManager (const DomainManager &);
00196 
00197     void operator= (const DomainManager &);
00198   };
00199 
00200 #endif /* end #if !defined */
00201 
00202   // TAO_IDL - Generated from
00203   // be\be_visitor_constant/constant_ch.cpp:52
00204 
00205   const CORBA::PolicyType SecConstruction = 11U;
00206 
00207   // TAO_IDL - Generated from
00208   // be\be_interface.cpp:598
00209 
00210 #if !defined (_CORBA_CONSTRUCTIONPOLICY__VAR_OUT_CH_)
00211 #define _CORBA_CONSTRUCTIONPOLICY__VAR_OUT_CH_
00212 
00213   class ConstructionPolicy;
00214   typedef ConstructionPolicy *ConstructionPolicy_ptr;
00215 
00216   typedef
00217     TAO_Objref_Var_T<
00218         ConstructionPolicy
00219       >
00220     ConstructionPolicy_var;
00221 
00222   typedef
00223     TAO_Objref_Out_T<
00224         ConstructionPolicy
00225       >
00226     ConstructionPolicy_out;
00227 
00228 #endif /* end #if !defined */
00229 
00230   // TAO_IDL - Generated from
00231   // be\be_visitor_interface/interface_ch.cpp:54
00232 
00233 #if !defined (_CORBA_CONSTRUCTIONPOLICY_CH_)
00234 #define _CORBA_CONSTRUCTIONPOLICY_CH_
00235 
00236   class TAO_Export ConstructionPolicy
00237     : public virtual ::CORBA::Policy
00238   {
00239   public:
00240     friend class TAO::Narrow_Utils<ConstructionPolicy>;
00241     typedef ConstructionPolicy_ptr _ptr_type;
00242     typedef ConstructionPolicy_var _var_type;
00243 
00244     // The static operations.
00245     static ConstructionPolicy_ptr _duplicate (ConstructionPolicy_ptr obj);
00246 
00247     static void _tao_release (ConstructionPolicy_ptr obj);
00248 
00249     static ConstructionPolicy_ptr _narrow (
00250         CORBA::Object_ptr obj
00251         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00252       );
00253 
00254     static ConstructionPolicy_ptr _unchecked_narrow (
00255         CORBA::Object_ptr obj
00256         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00257       );
00258 
00259     static ConstructionPolicy_ptr _nil (void)
00260     {
00261       return static_cast<ConstructionPolicy_ptr> (0);
00262     }
00263 
00264     static void _tao_any_destructor (void *);
00265 
00266     // TAO_IDL - Generated from
00267     // be\be_visitor_operation/operation_ch.cpp:46
00268 
00269     virtual void make_domain_manager (
00270         ::CORBA::InterfaceDef_ptr object_type,
00271         ::CORBA::Boolean constr_policy
00272         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00273       )
00274       ACE_THROW_SPEC ((
00275         CORBA::SystemException
00276       ));
00277 
00278     // TAO_IDL - Generated from
00279     // be\be_visitor_interface/interface_ch.cpp:210
00280 
00281     virtual CORBA::Boolean _is_a (
00282         const char *type_id
00283         ACE_ENV_ARG_DECL_WITH_DEFAULTS
00284       );
00285 
00286     virtual const char* _interface_repository_id (void) const;
00287     virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
00288   private:
00289     TAO::Collocation_Proxy_Broker *the_TAO_ConstructionPolicy_Proxy_Broker_;
00290 
00291   protected:
00292     // Concrete interface only.
00293     ConstructionPolicy (void);
00294 
00295     // These methods travese the inheritance tree and set the
00296     // parents piece of the given class in the right mode.
00297     virtual void CORBA_ConstructionPolicy_setup_collocation (void);
00298 
00299     // Concrete non-local interface only.
00300     ConstructionPolicy (
00301         IOP::IOR *ior,
00302         TAO_ORB_Core *orb_core = 0
00303       );
00304 
00305     // Non-local interface only.
00306     ConstructionPolicy (
00307         TAO_Stub *objref,
00308         CORBA::Boolean _tao_collocated = 0,
00309         TAO_Abstract_ServantBase *servant = 0,
00310         TAO_ORB_Core *orb_core = 0
00311       );
00312 
00313     virtual ~ConstructionPolicy (void);
00314 
00315   private:
00316     // Private and unimplemented for concrete interfaces.
00317     ConstructionPolicy (const ConstructionPolicy &);
00318 
00319     void operator= (const ConstructionPolicy &);
00320   };
00321 
00322 #endif /* end #if !defined */
00323 
00324   // TAO_IDL - Generated from
00325   // be\be_visitor_sequence/sequence_ch.cpp:101
00326 
00327 #if !defined (_CORBA_DOMAINMANAGERLIST_CH_)
00328 #define _CORBA_DOMAINMANAGERLIST_CH_
00329 
00330   class DomainManagerList;
00331 
00332   typedef
00333     TAO_VarSeq_Var_T<
00334         DomainManagerList
00335       >
00336     DomainManagerList_var;
00337 
00338   typedef
00339     TAO_Seq_Out_T<
00340         DomainManagerList
00341       >
00342     DomainManagerList_out;
00343 
00344   class TAO_Export DomainManagerList
00345     : public
00346         TAO::unbounded_object_reference_sequence<
00347             DomainManager, DomainManager_var
00348           >
00349   {
00350   public:
00351     DomainManagerList (void);
00352     DomainManagerList (CORBA::ULong max);
00353     DomainManagerList (
00354         CORBA::ULong max,
00355         CORBA::ULong length,
00356         DomainManager_ptr* buffer,
00357         CORBA::Boolean release = false
00358       );
00359     DomainManagerList (const DomainManagerList &);
00360     ~DomainManagerList (void);
00361 
00362     static void _tao_any_destructor (void *);
00363 
00364     typedef DomainManagerList_var _var_type;
00365   };
00366 
00367 #endif /* end #if !defined */
00368 
00369 // TAO_IDL - Generated from
00370 // be\be_visitor_module/module_ch.cpp:66
00371 
00372 } // module CORBA
00373 
00374 // Proxy Broker Factory function pointer declarations.
00375 
00376 // TAO_IDL - Generated from
00377 // be\be_visitor_root/root.cpp:139
00378 
00379 extern TAO_Export
00380 TAO::Collocation_Proxy_Broker *
00381 (*CORBA__TAO_DomainManager_Proxy_Broker_Factory_function_pointer) (
00382     CORBA::Object_ptr obj
00383   );
00384 
00385 extern TAO_Export
00386 TAO::Collocation_Proxy_Broker *
00387 (*CORBA__TAO_ConstructionPolicy_Proxy_Broker_Factory_function_pointer) (
00388     CORBA::Object_ptr obj
00389   );
00390 
00391 // TAO_IDL - Generated from
00392 // be\be_visitor_traits.cpp:61
00393 
00394 // Traits specializations.
00395 namespace TAO
00396 {
00397 
00398 #if !defined (_CORBA_DOMAINMANAGER__TRAITS_CH_)
00399 #define _CORBA_DOMAINMANAGER__TRAITS_CH_
00400 
00401   template<>
00402   struct TAO_Export Objref_Traits< ::CORBA::DomainManager>
00403   {
00404     static ::CORBA::DomainManager_ptr duplicate (
00405         ::CORBA::DomainManager_ptr
00406       );
00407     static void release (
00408         ::CORBA::DomainManager_ptr
00409       );
00410     static ::CORBA::DomainManager_ptr nil (void);
00411     static CORBA::Boolean marshal (
00412         const ::CORBA::DomainManager_ptr p,
00413         TAO_OutputCDR & cdr
00414       );
00415   };
00416 
00417 #endif /* end #if !defined */
00418 
00419 #if !defined (_CORBA_CONSTRUCTIONPOLICY__TRAITS_CH_)
00420 #define _CORBA_CONSTRUCTIONPOLICY__TRAITS_CH_
00421 
00422   template<>
00423   struct TAO_Export Objref_Traits< ::CORBA::ConstructionPolicy>
00424   {
00425     static ::CORBA::ConstructionPolicy_ptr duplicate (
00426         ::CORBA::ConstructionPolicy_ptr
00427       );
00428     static void release (
00429         ::CORBA::ConstructionPolicy_ptr
00430       );
00431     static ::CORBA::ConstructionPolicy_ptr nil (void);
00432     static CORBA::Boolean marshal (
00433         const ::CORBA::ConstructionPolicy_ptr p,
00434         TAO_OutputCDR & cdr
00435       );
00436   };
00437 
00438 #endif /* end #if !defined */
00439 }
00440 
00441 // TAO_IDL - Generated from
00442 // be\be_visitor_interface/cdr_op_ch.cpp:55
00443 
00444 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::DomainManager_ptr );
00445 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::DomainManager_ptr &);
00446 
00447 // TAO_IDL - Generated from
00448 // be\be_visitor_interface/cdr_op_ch.cpp:55
00449 
00450 TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::ConstructionPolicy_ptr );
00451 TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::ConstructionPolicy_ptr &);
00452 
00453 // TAO_IDL - Generated from
00454 // be\be_visitor_sequence/cdr_op_ch.cpp:71
00455 
00456 #if !defined _TAO_CDR_OP_CORBA_DomainManagerList_H_
00457 #define _TAO_CDR_OP_CORBA_DomainManagerList_H_
00458 
00459 TAO_Export CORBA::Boolean operator<< (
00460     TAO_OutputCDR &,
00461     const CORBA::DomainManagerList &
00462   );
00463 TAO_Export CORBA::Boolean operator>> (
00464     TAO_InputCDR &,
00465     CORBA::DomainManagerList &
00466   );
00467 
00468 #endif /* _TAO_CDR_OP_CORBA_DomainManagerList_H_ */
00469 
00470 // TAO_IDL - Generated from
00471 // be\be_codegen.cpp:955
00472 
00473 TAO_END_VERSIONED_NAMESPACE_DECL
00474 
00475 #if defined (__ACE_INLINE__)
00476 #include "tao/DomainC.inl"
00477 #endif /* defined INLINE */
00478 
00479 #if defined(_MSC_VER)
00480 #pragma warning(pop)
00481 #endif /* _MSC_VER */
00482 
00483 #if defined (__BORLANDC__)
00484 #pragma option pop
00485 #endif /* __BORLANDC__ */
00486 
00487 #include /**/ "ace/post.h"
00488 
00489 #endif /* ifndef */
00490 
00491 

Generated on Thu Nov 9 11:54:10 2006 for TAO by doxygen 1.3.6