LogService
libdadi: utility tools for distributed applications
|
00001 // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit. 00002 #ifndef __LogComponentFwdr_hh__ 00003 #define __LogComponentFwdr_hh__ 00004 00005 #ifndef __CORBA_H_EXTERNAL_GUARD__ 00006 #include <omniORB4/CORBA.h> 00007 #endif 00008 00009 #ifndef USE_stub_in_nt_dll 00010 # define USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00011 #endif 00012 #ifndef USE_core_stub_in_nt_dll 00013 # define USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00014 #endif 00015 #ifndef USE_dyn_stub_in_nt_dll 00016 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00017 #endif 00018 00019 00020 00021 #ifndef __LogTypes_hh_EXTERNAL_GUARD__ 00022 #define __LogTypes_hh_EXTERNAL_GUARD__ 00023 #include <LogTypes.hh> 00024 #endif 00025 #ifndef __commonLogTypes_hh_EXTERNAL_GUARD__ 00026 #define __commonLogTypes_hh_EXTERNAL_GUARD__ 00027 #include <commonLogTypes.hh> 00028 #endif 00029 #ifndef __LogComponent_hh_EXTERNAL_GUARD__ 00030 #define __LogComponent_hh_EXTERNAL_GUARD__ 00031 #include <LogComponent.hh> 00032 #endif 00033 00034 00035 00036 #ifdef USE_stub_in_nt_dll 00037 # ifndef USE_core_stub_in_nt_dll 00038 # define USE_core_stub_in_nt_dll 00039 # endif 00040 # ifndef USE_dyn_stub_in_nt_dll 00041 # define USE_dyn_stub_in_nt_dll 00042 # endif 00043 #endif 00044 00045 #ifdef _core_attr 00046 # error "A local CPP macro _core_attr has already been defined." 00047 #else 00048 # ifdef USE_core_stub_in_nt_dll 00049 # define _core_attr _OMNIORB_NTDLL_IMPORT 00050 # else 00051 # define _core_attr 00052 # endif 00053 #endif 00054 00055 #ifdef _dyn_attr 00056 # error "A local CPP macro _dyn_attr has already been defined." 00057 #else 00058 # ifdef USE_dyn_stub_in_nt_dll 00059 # define _dyn_attr _OMNIORB_NTDLL_IMPORT 00060 # else 00061 # define _dyn_attr 00062 # endif 00063 #endif 00064 00065 00066 00067 00068 00069 #ifndef __ComponentConfiguratorFwdr__ 00070 #define __ComponentConfiguratorFwdr__ 00071 00072 class ComponentConfiguratorFwdr; 00073 class _objref_ComponentConfiguratorFwdr; 00074 class _impl_ComponentConfiguratorFwdr; 00075 00076 typedef _objref_ComponentConfiguratorFwdr* ComponentConfiguratorFwdr_ptr; 00077 typedef ComponentConfiguratorFwdr_ptr ComponentConfiguratorFwdrRef; 00078 00079 class ComponentConfiguratorFwdr_Helper { 00080 public: 00081 typedef ComponentConfiguratorFwdr_ptr _ptr_type; 00082 00083 static _ptr_type _nil(); 00084 static _CORBA_Boolean is_nil(_ptr_type); 00085 static void release(_ptr_type); 00086 static void duplicate(_ptr_type); 00087 static void marshalObjRef(_ptr_type, cdrStream&); 00088 static _ptr_type unmarshalObjRef(cdrStream&); 00089 }; 00090 00091 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorFwdr, ComponentConfiguratorFwdr_Helper> ComponentConfiguratorFwdr_var; 00092 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorFwdr,ComponentConfiguratorFwdr_Helper > ComponentConfiguratorFwdr_out; 00093 00094 #endif 00095 00096 // interface ComponentConfiguratorFwdr 00097 class ComponentConfiguratorFwdr { 00098 public: 00099 // Declarations for this interface type. 00100 typedef ComponentConfiguratorFwdr_ptr _ptr_type; 00101 typedef ComponentConfiguratorFwdr_var _var_type; 00102 00103 static _ptr_type _duplicate(_ptr_type); 00104 static _ptr_type _narrow(::CORBA::Object_ptr); 00105 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); 00106 00107 static _ptr_type _nil(); 00108 00109 static inline void _marshalObjRef(_ptr_type, cdrStream&); 00110 00111 static inline _ptr_type _unmarshalObjRef(cdrStream& s) { 00112 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); 00113 if (o) 00114 return (_ptr_type) o->_ptrToObjRef(_PD_repoId); 00115 else 00116 return _nil(); 00117 } 00118 00119 static _core_attr const char* _PD_repoId; 00120 00121 // Other IDL defined within this scope. 00122 00123 }; 00124 00125 class _objref_ComponentConfiguratorFwdr : 00126 public virtual _objref_ComponentConfigurator 00127 { 00128 public: 00129 00130 00131 inline _objref_ComponentConfiguratorFwdr() { _PR_setobj(0); } // nil 00132 _objref_ComponentConfiguratorFwdr(omniIOR*, omniIdentity*); 00133 00134 protected: 00135 virtual ~_objref_ComponentConfiguratorFwdr(); 00136 00137 00138 private: 00139 virtual void* _ptrToObjRef(const char*); 00140 00141 _objref_ComponentConfiguratorFwdr(const _objref_ComponentConfiguratorFwdr&); 00142 _objref_ComponentConfiguratorFwdr& operator = (const _objref_ComponentConfiguratorFwdr&); 00143 // not implemented 00144 00145 friend class ComponentConfiguratorFwdr; 00146 }; 00147 00148 class _pof_ComponentConfiguratorFwdr : public _OMNI_NS(proxyObjectFactory) { 00149 public: 00150 inline _pof_ComponentConfiguratorFwdr() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorFwdr::_PD_repoId) {} 00151 virtual ~_pof_ComponentConfiguratorFwdr(); 00152 00153 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); 00154 virtual _CORBA_Boolean is_a(const char*) const; 00155 }; 00156 00157 class _impl_ComponentConfiguratorFwdr : 00158 public virtual _impl_ComponentConfigurator 00159 { 00160 public: 00161 virtual ~_impl_ComponentConfiguratorFwdr(); 00162 00163 00164 00165 public: // Really protected, workaround for xlC 00166 virtual _CORBA_Boolean _dispatch(omniCallHandle&); 00167 00168 private: 00169 virtual void* _ptrToInterface(const char*); 00170 virtual const char* _mostDerivedRepoId(); 00171 00172 }; 00173 00174 00175 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorFwdr; 00176 00177 #ifndef __ComponentConfiguratorForwarder__ 00178 #define __ComponentConfiguratorForwarder__ 00179 00180 class ComponentConfiguratorForwarder; 00181 class _objref_ComponentConfiguratorForwarder; 00182 class _impl_ComponentConfiguratorForwarder; 00183 00184 typedef _objref_ComponentConfiguratorForwarder* ComponentConfiguratorForwarder_ptr; 00185 typedef ComponentConfiguratorForwarder_ptr ComponentConfiguratorForwarderRef; 00186 00187 class ComponentConfiguratorForwarder_Helper { 00188 public: 00189 typedef ComponentConfiguratorForwarder_ptr _ptr_type; 00190 00191 static _ptr_type _nil(); 00192 static _CORBA_Boolean is_nil(_ptr_type); 00193 static void release(_ptr_type); 00194 static void duplicate(_ptr_type); 00195 static void marshalObjRef(_ptr_type, cdrStream&); 00196 static _ptr_type unmarshalObjRef(cdrStream&); 00197 }; 00198 00199 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorForwarder, ComponentConfiguratorForwarder_Helper> ComponentConfiguratorForwarder_var; 00200 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorForwarder,ComponentConfiguratorForwarder_Helper > ComponentConfiguratorForwarder_out; 00201 00202 #endif 00203 00204 // interface ComponentConfiguratorForwarder 00205 class ComponentConfiguratorForwarder { 00206 public: 00207 // Declarations for this interface type. 00208 typedef ComponentConfiguratorForwarder_ptr _ptr_type; 00209 typedef ComponentConfiguratorForwarder_var _var_type; 00210 00211 static _ptr_type _duplicate(_ptr_type); 00212 static _ptr_type _narrow(::CORBA::Object_ptr); 00213 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); 00214 00215 static _ptr_type _nil(); 00216 00217 static inline void _marshalObjRef(_ptr_type, cdrStream&); 00218 00219 static inline _ptr_type _unmarshalObjRef(cdrStream& s) { 00220 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); 00221 if (o) 00222 return (_ptr_type) o->_ptrToObjRef(_PD_repoId); 00223 else 00224 return _nil(); 00225 } 00226 00227 static _core_attr const char* _PD_repoId; 00228 00229 // Other IDL defined within this scope. 00230 00231 }; 00232 00233 class _objref_ComponentConfiguratorForwarder : 00234 public virtual ::CORBA::Object, 00235 public virtual omniObjRef 00236 { 00237 public: 00238 void setTagFilter(const ::tag_list_t& tagList, const char* objName); 00239 void addTagFilter(const ::tag_list_t& tagList, const char* objName); 00240 void removeTagFilter(const ::tag_list_t& tagList, const char* objName); 00241 00242 inline _objref_ComponentConfiguratorForwarder() { _PR_setobj(0); } // nil 00243 _objref_ComponentConfiguratorForwarder(omniIOR*, omniIdentity*); 00244 00245 protected: 00246 virtual ~_objref_ComponentConfiguratorForwarder(); 00247 00248 00249 private: 00250 virtual void* _ptrToObjRef(const char*); 00251 00252 _objref_ComponentConfiguratorForwarder(const _objref_ComponentConfiguratorForwarder&); 00253 _objref_ComponentConfiguratorForwarder& operator = (const _objref_ComponentConfiguratorForwarder&); 00254 // not implemented 00255 00256 friend class ComponentConfiguratorForwarder; 00257 }; 00258 00259 class _pof_ComponentConfiguratorForwarder : public _OMNI_NS(proxyObjectFactory) { 00260 public: 00261 inline _pof_ComponentConfiguratorForwarder() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorForwarder::_PD_repoId) {} 00262 virtual ~_pof_ComponentConfiguratorForwarder(); 00263 00264 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); 00265 virtual _CORBA_Boolean is_a(const char*) const; 00266 }; 00267 00268 class _impl_ComponentConfiguratorForwarder : 00269 public virtual omniServant 00270 { 00271 public: 00272 virtual ~_impl_ComponentConfiguratorForwarder(); 00273 00274 virtual void setTagFilter(const ::tag_list_t& tagList, const char* objName) = 0; 00275 virtual void addTagFilter(const ::tag_list_t& tagList, const char* objName) = 0; 00276 virtual void removeTagFilter(const ::tag_list_t& tagList, const char* objName) = 0; 00277 00278 public: // Really protected, workaround for xlC 00279 virtual _CORBA_Boolean _dispatch(omniCallHandle&); 00280 00281 private: 00282 virtual void* _ptrToInterface(const char*); 00283 virtual const char* _mostDerivedRepoId(); 00284 00285 }; 00286 00287 00288 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorForwarder; 00289 00290 #ifndef __LogCentralComponentFwdr__ 00291 #define __LogCentralComponentFwdr__ 00292 00293 class LogCentralComponentFwdr; 00294 class _objref_LogCentralComponentFwdr; 00295 class _impl_LogCentralComponentFwdr; 00296 00297 typedef _objref_LogCentralComponentFwdr* LogCentralComponentFwdr_ptr; 00298 typedef LogCentralComponentFwdr_ptr LogCentralComponentFwdrRef; 00299 00300 class LogCentralComponentFwdr_Helper { 00301 public: 00302 typedef LogCentralComponentFwdr_ptr _ptr_type; 00303 00304 static _ptr_type _nil(); 00305 static _CORBA_Boolean is_nil(_ptr_type); 00306 static void release(_ptr_type); 00307 static void duplicate(_ptr_type); 00308 static void marshalObjRef(_ptr_type, cdrStream&); 00309 static _ptr_type unmarshalObjRef(cdrStream&); 00310 }; 00311 00312 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentFwdr, LogCentralComponentFwdr_Helper> LogCentralComponentFwdr_var; 00313 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentFwdr,LogCentralComponentFwdr_Helper > LogCentralComponentFwdr_out; 00314 00315 #endif 00316 00317 // interface LogCentralComponentFwdr 00318 class LogCentralComponentFwdr { 00319 public: 00320 // Declarations for this interface type. 00321 typedef LogCentralComponentFwdr_ptr _ptr_type; 00322 typedef LogCentralComponentFwdr_var _var_type; 00323 00324 static _ptr_type _duplicate(_ptr_type); 00325 static _ptr_type _narrow(::CORBA::Object_ptr); 00326 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); 00327 00328 static _ptr_type _nil(); 00329 00330 static inline void _marshalObjRef(_ptr_type, cdrStream&); 00331 00332 static inline _ptr_type _unmarshalObjRef(cdrStream& s) { 00333 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); 00334 if (o) 00335 return (_ptr_type) o->_ptrToObjRef(_PD_repoId); 00336 else 00337 return _nil(); 00338 } 00339 00340 static _core_attr const char* _PD_repoId; 00341 00342 // Other IDL defined within this scope. 00343 00344 }; 00345 00346 class _objref_LogCentralComponentFwdr : 00347 public virtual _objref_LogCentralComponent 00348 { 00349 public: 00350 00351 00352 inline _objref_LogCentralComponentFwdr() { _PR_setobj(0); } // nil 00353 _objref_LogCentralComponentFwdr(omniIOR*, omniIdentity*); 00354 00355 protected: 00356 virtual ~_objref_LogCentralComponentFwdr(); 00357 00358 00359 private: 00360 virtual void* _ptrToObjRef(const char*); 00361 00362 _objref_LogCentralComponentFwdr(const _objref_LogCentralComponentFwdr&); 00363 _objref_LogCentralComponentFwdr& operator = (const _objref_LogCentralComponentFwdr&); 00364 // not implemented 00365 00366 friend class LogCentralComponentFwdr; 00367 }; 00368 00369 class _pof_LogCentralComponentFwdr : public _OMNI_NS(proxyObjectFactory) { 00370 public: 00371 inline _pof_LogCentralComponentFwdr() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentFwdr::_PD_repoId) {} 00372 virtual ~_pof_LogCentralComponentFwdr(); 00373 00374 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); 00375 virtual _CORBA_Boolean is_a(const char*) const; 00376 }; 00377 00378 class _impl_LogCentralComponentFwdr : 00379 public virtual _impl_LogCentralComponent 00380 { 00381 public: 00382 virtual ~_impl_LogCentralComponentFwdr(); 00383 00384 00385 00386 public: // Really protected, workaround for xlC 00387 virtual _CORBA_Boolean _dispatch(omniCallHandle&); 00388 00389 private: 00390 virtual void* _ptrToInterface(const char*); 00391 virtual const char* _mostDerivedRepoId(); 00392 00393 }; 00394 00395 00396 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentFwdr; 00397 00398 #ifndef __LogCentralComponentForwarder__ 00399 #define __LogCentralComponentForwarder__ 00400 00401 class LogCentralComponentForwarder; 00402 class _objref_LogCentralComponentForwarder; 00403 class _impl_LogCentralComponentForwarder; 00404 00405 typedef _objref_LogCentralComponentForwarder* LogCentralComponentForwarder_ptr; 00406 typedef LogCentralComponentForwarder_ptr LogCentralComponentForwarderRef; 00407 00408 class LogCentralComponentForwarder_Helper { 00409 public: 00410 typedef LogCentralComponentForwarder_ptr _ptr_type; 00411 00412 static _ptr_type _nil(); 00413 static _CORBA_Boolean is_nil(_ptr_type); 00414 static void release(_ptr_type); 00415 static void duplicate(_ptr_type); 00416 static void marshalObjRef(_ptr_type, cdrStream&); 00417 static _ptr_type unmarshalObjRef(cdrStream&); 00418 }; 00419 00420 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentForwarder, LogCentralComponentForwarder_Helper> LogCentralComponentForwarder_var; 00421 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentForwarder,LogCentralComponentForwarder_Helper > LogCentralComponentForwarder_out; 00422 00423 #endif 00424 00425 // interface LogCentralComponentForwarder 00426 class LogCentralComponentForwarder { 00427 public: 00428 // Declarations for this interface type. 00429 typedef LogCentralComponentForwarder_ptr _ptr_type; 00430 typedef LogCentralComponentForwarder_var _var_type; 00431 00432 static _ptr_type _duplicate(_ptr_type); 00433 static _ptr_type _narrow(::CORBA::Object_ptr); 00434 static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); 00435 00436 static _ptr_type _nil(); 00437 00438 static inline void _marshalObjRef(_ptr_type, cdrStream&); 00439 00440 static inline _ptr_type _unmarshalObjRef(cdrStream& s) { 00441 omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); 00442 if (o) 00443 return (_ptr_type) o->_ptrToObjRef(_PD_repoId); 00444 else 00445 return _nil(); 00446 } 00447 00448 static _core_attr const char* _PD_repoId; 00449 00450 // Other IDL defined within this scope. 00451 00452 }; 00453 00454 class _objref_LogCentralComponentForwarder : 00455 public virtual ::CORBA::Object, 00456 public virtual omniObjRef 00457 { 00458 public: 00459 ::CORBA::Short connectComponent(::CORBA::String_INOUT_arg componentName, const char* componentHostname, const char* message, const char* compConfigurator, const ::log_time_t& componentTime, ::tag_list_t& initialConfig, const char* objName); 00460 ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName); 00461 void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName); 00462 void ping(const char* componentName, const char* objName); 00463 void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName); 00464 void test(const char* objName); 00465 00466 inline _objref_LogCentralComponentForwarder() { _PR_setobj(0); } // nil 00467 _objref_LogCentralComponentForwarder(omniIOR*, omniIdentity*); 00468 00469 protected: 00470 virtual ~_objref_LogCentralComponentForwarder(); 00471 00472 00473 private: 00474 virtual void* _ptrToObjRef(const char*); 00475 00476 _objref_LogCentralComponentForwarder(const _objref_LogCentralComponentForwarder&); 00477 _objref_LogCentralComponentForwarder& operator = (const _objref_LogCentralComponentForwarder&); 00478 // not implemented 00479 00480 friend class LogCentralComponentForwarder; 00481 }; 00482 00483 class _pof_LogCentralComponentForwarder : public _OMNI_NS(proxyObjectFactory) { 00484 public: 00485 inline _pof_LogCentralComponentForwarder() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentForwarder::_PD_repoId) {} 00486 virtual ~_pof_LogCentralComponentForwarder(); 00487 00488 virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); 00489 virtual _CORBA_Boolean is_a(const char*) const; 00490 }; 00491 00492 class _impl_LogCentralComponentForwarder : 00493 public virtual omniServant 00494 { 00495 public: 00496 virtual ~_impl_LogCentralComponentForwarder(); 00497 00498 virtual ::CORBA::Short connectComponent(char*& componentName, const char* componentHostname, const char* message, const char* compConfigurator, const ::log_time_t& componentTime, ::tag_list_t& initialConfig, const char* objName) = 0; 00499 virtual ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) = 0; 00500 virtual void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName) = 0; 00501 virtual void ping(const char* componentName, const char* objName) = 0; 00502 virtual void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName) = 0; 00503 virtual void test(const char* objName) = 0; 00504 00505 public: // Really protected, workaround for xlC 00506 virtual _CORBA_Boolean _dispatch(omniCallHandle&); 00507 00508 private: 00509 virtual void* _ptrToInterface(const char*); 00510 virtual const char* _mostDerivedRepoId(); 00511 00512 }; 00513 00514 00515 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentForwarder; 00516 00517 00518 00519 class POA_ComponentConfiguratorFwdr : 00520 public virtual _impl_ComponentConfiguratorFwdr, 00521 public virtual POA_ComponentConfigurator 00522 { 00523 public: 00524 virtual ~POA_ComponentConfiguratorFwdr(); 00525 00526 inline ::ComponentConfiguratorFwdr_ptr _this() { 00527 return (::ComponentConfiguratorFwdr_ptr) _do_this(::ComponentConfiguratorFwdr::_PD_repoId); 00528 } 00529 }; 00530 00531 template <class _omniT> 00532 class POA_ComponentConfiguratorFwdr_tie : public virtual POA_ComponentConfiguratorFwdr 00533 { 00534 public: 00535 POA_ComponentConfiguratorFwdr_tie(_omniT& t) 00536 : pd_obj(&t), pd_poa(0), pd_rel(0) {} 00537 POA_ComponentConfiguratorFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p) 00538 : pd_obj(&t), pd_poa(p), pd_rel(0) {} 00539 POA_ComponentConfiguratorFwdr_tie(_omniT* t, _CORBA_Boolean r=1) 00540 : pd_obj(t), pd_poa(0), pd_rel(r) {} 00541 POA_ComponentConfiguratorFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1) 00542 : pd_obj(t), pd_poa(p), pd_rel(r) {} 00543 ~POA_ComponentConfiguratorFwdr_tie() { 00544 if( pd_poa ) ::CORBA::release(pd_poa); 00545 if( pd_rel ) delete pd_obj; 00546 } 00547 00548 _omniT* _tied_object() { return pd_obj; } 00549 00550 void _tied_object(_omniT& t) { 00551 if( pd_rel ) delete pd_obj; 00552 pd_obj = &t; 00553 pd_rel = 0; 00554 } 00555 00556 void _tied_object(_omniT* t, _CORBA_Boolean r=1) { 00557 if( pd_rel ) delete pd_obj; 00558 pd_obj = t; 00559 pd_rel = r; 00560 } 00561 00562 _CORBA_Boolean _is_owner() { return pd_rel; } 00563 void _is_owner(_CORBA_Boolean io) { pd_rel = io; } 00564 00565 ::PortableServer::POA_ptr _default_POA() { 00566 if( !pd_poa ) return ::PortableServer::POA::_the_root_poa(); 00567 else return ::PortableServer::POA::_duplicate(pd_poa); 00568 } 00569 00570 void setTagFilter(const tag_list_t& tagList) { pd_obj->setTagFilter(tagList); } 00571 void addTagFilter(const tag_list_t& tagList) { pd_obj->addTagFilter(tagList); } 00572 void removeTagFilter(const tag_list_t& tagList) { pd_obj->removeTagFilter(tagList); } 00573 void test() { pd_obj->test(); } 00574 00575 00576 private: 00577 _omniT* pd_obj; 00578 ::PortableServer::POA_ptr pd_poa; 00579 _CORBA_Boolean pd_rel; 00580 }; 00581 00582 class POA_ComponentConfiguratorForwarder : 00583 public virtual _impl_ComponentConfiguratorForwarder, 00584 public virtual ::PortableServer::ServantBase 00585 { 00586 public: 00587 virtual ~POA_ComponentConfiguratorForwarder(); 00588 00589 inline ::ComponentConfiguratorForwarder_ptr _this() { 00590 return (::ComponentConfiguratorForwarder_ptr) _do_this(::ComponentConfiguratorForwarder::_PD_repoId); 00591 } 00592 }; 00593 00594 template <class _omniT> 00595 class POA_ComponentConfiguratorForwarder_tie : public virtual POA_ComponentConfiguratorForwarder 00596 { 00597 public: 00598 POA_ComponentConfiguratorForwarder_tie(_omniT& t) 00599 : pd_obj(&t), pd_poa(0), pd_rel(0) {} 00600 POA_ComponentConfiguratorForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p) 00601 : pd_obj(&t), pd_poa(p), pd_rel(0) {} 00602 POA_ComponentConfiguratorForwarder_tie(_omniT* t, _CORBA_Boolean r=1) 00603 : pd_obj(t), pd_poa(0), pd_rel(r) {} 00604 POA_ComponentConfiguratorForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1) 00605 : pd_obj(t), pd_poa(p), pd_rel(r) {} 00606 ~POA_ComponentConfiguratorForwarder_tie() { 00607 if( pd_poa ) ::CORBA::release(pd_poa); 00608 if( pd_rel ) delete pd_obj; 00609 } 00610 00611 _omniT* _tied_object() { return pd_obj; } 00612 00613 void _tied_object(_omniT& t) { 00614 if( pd_rel ) delete pd_obj; 00615 pd_obj = &t; 00616 pd_rel = 0; 00617 } 00618 00619 void _tied_object(_omniT* t, _CORBA_Boolean r=1) { 00620 if( pd_rel ) delete pd_obj; 00621 pd_obj = t; 00622 pd_rel = r; 00623 } 00624 00625 _CORBA_Boolean _is_owner() { return pd_rel; } 00626 void _is_owner(_CORBA_Boolean io) { pd_rel = io; } 00627 00628 ::PortableServer::POA_ptr _default_POA() { 00629 if( !pd_poa ) return ::PortableServer::POA::_the_root_poa(); 00630 else return ::PortableServer::POA::_duplicate(pd_poa); 00631 } 00632 00633 void setTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->setTagFilter(tagList, objName); } 00634 void addTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->addTagFilter(tagList, objName); } 00635 void removeTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->removeTagFilter(tagList, objName); } 00636 00637 00638 private: 00639 _omniT* pd_obj; 00640 ::PortableServer::POA_ptr pd_poa; 00641 _CORBA_Boolean pd_rel; 00642 }; 00643 00644 class POA_LogCentralComponentFwdr : 00645 public virtual _impl_LogCentralComponentFwdr, 00646 public virtual POA_LogCentralComponent 00647 { 00648 public: 00649 virtual ~POA_LogCentralComponentFwdr(); 00650 00651 inline ::LogCentralComponentFwdr_ptr _this() { 00652 return (::LogCentralComponentFwdr_ptr) _do_this(::LogCentralComponentFwdr::_PD_repoId); 00653 } 00654 }; 00655 00656 template <class _omniT> 00657 class POA_LogCentralComponentFwdr_tie : public virtual POA_LogCentralComponentFwdr 00658 { 00659 public: 00660 POA_LogCentralComponentFwdr_tie(_omniT& t) 00661 : pd_obj(&t), pd_poa(0), pd_rel(0) {} 00662 POA_LogCentralComponentFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p) 00663 : pd_obj(&t), pd_poa(p), pd_rel(0) {} 00664 POA_LogCentralComponentFwdr_tie(_omniT* t, _CORBA_Boolean r=1) 00665 : pd_obj(t), pd_poa(0), pd_rel(r) {} 00666 POA_LogCentralComponentFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1) 00667 : pd_obj(t), pd_poa(p), pd_rel(r) {} 00668 ~POA_LogCentralComponentFwdr_tie() { 00669 if( pd_poa ) ::CORBA::release(pd_poa); 00670 if( pd_rel ) delete pd_obj; 00671 } 00672 00673 _omniT* _tied_object() { return pd_obj; } 00674 00675 void _tied_object(_omniT& t) { 00676 if( pd_rel ) delete pd_obj; 00677 pd_obj = &t; 00678 pd_rel = 0; 00679 } 00680 00681 void _tied_object(_omniT* t, _CORBA_Boolean r=1) { 00682 if( pd_rel ) delete pd_obj; 00683 pd_obj = t; 00684 pd_rel = r; 00685 } 00686 00687 _CORBA_Boolean _is_owner() { return pd_rel; } 00688 void _is_owner(_CORBA_Boolean io) { pd_rel = io; } 00689 00690 ::PortableServer::POA_ptr _default_POA() { 00691 if( !pd_poa ) return ::PortableServer::POA::_the_root_poa(); 00692 else return ::PortableServer::POA::_duplicate(pd_poa); 00693 } 00694 00695 void test() { pd_obj->test(); } 00696 ::CORBA::Short connectComponent(char*& componentName, const char* componentHostname, const char* message, const char* compConfigurator, const log_time_t& componentTime, tag_list_t& initialConfig) { return pd_obj->connectComponent(componentName, componentHostname, message, compConfigurator, componentTime, initialConfig); } 00697 ::CORBA::Short disconnectComponent(const char* componentName, const char* message) { return pd_obj->disconnectComponent(componentName, message); } 00698 void sendBuffer(const log_msg_buf_t& buffer) { pd_obj->sendBuffer(buffer); } 00699 void ping(const char* componentName) { pd_obj->ping(componentName); } 00700 void synchronize(const char* componentName, const log_time_t& componentTime) { pd_obj->synchronize(componentName, componentTime); } 00701 00702 00703 private: 00704 _omniT* pd_obj; 00705 ::PortableServer::POA_ptr pd_poa; 00706 _CORBA_Boolean pd_rel; 00707 }; 00708 00709 class POA_LogCentralComponentForwarder : 00710 public virtual _impl_LogCentralComponentForwarder, 00711 public virtual ::PortableServer::ServantBase 00712 { 00713 public: 00714 virtual ~POA_LogCentralComponentForwarder(); 00715 00716 inline ::LogCentralComponentForwarder_ptr _this() { 00717 return (::LogCentralComponentForwarder_ptr) _do_this(::LogCentralComponentForwarder::_PD_repoId); 00718 } 00719 }; 00720 00721 template <class _omniT> 00722 class POA_LogCentralComponentForwarder_tie : public virtual POA_LogCentralComponentForwarder 00723 { 00724 public: 00725 POA_LogCentralComponentForwarder_tie(_omniT& t) 00726 : pd_obj(&t), pd_poa(0), pd_rel(0) {} 00727 POA_LogCentralComponentForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p) 00728 : pd_obj(&t), pd_poa(p), pd_rel(0) {} 00729 POA_LogCentralComponentForwarder_tie(_omniT* t, _CORBA_Boolean r=1) 00730 : pd_obj(t), pd_poa(0), pd_rel(r) {} 00731 POA_LogCentralComponentForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1) 00732 : pd_obj(t), pd_poa(p), pd_rel(r) {} 00733 ~POA_LogCentralComponentForwarder_tie() { 00734 if( pd_poa ) ::CORBA::release(pd_poa); 00735 if( pd_rel ) delete pd_obj; 00736 } 00737 00738 _omniT* _tied_object() { return pd_obj; } 00739 00740 void _tied_object(_omniT& t) { 00741 if( pd_rel ) delete pd_obj; 00742 pd_obj = &t; 00743 pd_rel = 0; 00744 } 00745 00746 void _tied_object(_omniT* t, _CORBA_Boolean r=1) { 00747 if( pd_rel ) delete pd_obj; 00748 pd_obj = t; 00749 pd_rel = r; 00750 } 00751 00752 _CORBA_Boolean _is_owner() { return pd_rel; } 00753 void _is_owner(_CORBA_Boolean io) { pd_rel = io; } 00754 00755 ::PortableServer::POA_ptr _default_POA() { 00756 if( !pd_poa ) return ::PortableServer::POA::_the_root_poa(); 00757 else return ::PortableServer::POA::_duplicate(pd_poa); 00758 } 00759 00760 ::CORBA::Short connectComponent(char*& componentName, const char* componentHostname, const char* message, const char* compConfigurator, const log_time_t& componentTime, tag_list_t& initialConfig, const char* objName) { return pd_obj->connectComponent(componentName, componentHostname, message, compConfigurator, componentTime, initialConfig, objName); } 00761 ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) { return pd_obj->disconnectComponent(componentName, message, objName); } 00762 void sendBuffer(const log_msg_buf_t& buffer, const char* objName) { pd_obj->sendBuffer(buffer, objName); } 00763 void ping(const char* componentName, const char* objName) { pd_obj->ping(componentName, objName); } 00764 void synchronize(const char* componentName, const log_time_t& componentTime, const char* objName) { pd_obj->synchronize(componentName, componentTime, objName); } 00765 void test(const char* objName) { pd_obj->test(objName); } 00766 00767 00768 private: 00769 _omniT* pd_obj; 00770 ::PortableServer::POA_ptr pd_poa; 00771 _CORBA_Boolean pd_rel; 00772 }; 00773 00774 00775 00776 00777 00778 00779 00780 #undef _core_attr 00781 #undef _dyn_attr 00782 00783 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr _s); 00784 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr* _s); 00785 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr& _s); 00786 00787 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr _s); 00788 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr* _s); 00789 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr& _s); 00790 00791 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr _s); 00792 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr* _s); 00793 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentFwdr_ptr& _s); 00794 00795 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr _s); 00796 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr* _s); 00797 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentForwarder_ptr& _s); 00798 00799 00800 00801 inline void 00802 ComponentConfiguratorFwdr::_marshalObjRef(::ComponentConfiguratorFwdr_ptr obj, cdrStream& s) { 00803 omniObjRef::_marshal(obj->_PR_getobj(),s); 00804 } 00805 00806 00807 inline void 00808 ComponentConfiguratorForwarder::_marshalObjRef(::ComponentConfiguratorForwarder_ptr obj, cdrStream& s) { 00809 omniObjRef::_marshal(obj->_PR_getobj(),s); 00810 } 00811 00812 00813 inline void 00814 LogCentralComponentFwdr::_marshalObjRef(::LogCentralComponentFwdr_ptr obj, cdrStream& s) { 00815 omniObjRef::_marshal(obj->_PR_getobj(),s); 00816 } 00817 00818 00819 inline void 00820 LogCentralComponentForwarder::_marshalObjRef(::LogCentralComponentForwarder_ptr obj, cdrStream& s) { 00821 omniObjRef::_marshal(obj->_PR_getobj(),s); 00822 } 00823 00824 00825 00826 00827 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00828 # undef USE_stub_in_nt_dll 00829 # undef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00830 #endif 00831 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00832 # undef USE_core_stub_in_nt_dll 00833 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00834 #endif 00835 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00836 # undef USE_dyn_stub_in_nt_dll 00837 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr 00838 #endif 00839 00840 #endif // __LogComponentFwdr_hh__ 00841