LogService
libdadi: utility tools for distributed applications
 All Classes Functions Variables
LogComponentFwdr.hh
1 // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
2 #ifndef __LogComponentFwdr_hh__
3 #define __LogComponentFwdr_hh__
4 
5 #ifndef __CORBA_H_EXTERNAL_GUARD__
6 #include <omniORB4/CORBA.h>
7 #endif
8 
9 #ifndef USE_stub_in_nt_dll
10 # define USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
17 #endif
18 
19 
20 
21 #ifndef __LogTypes_hh_EXTERNAL_GUARD__
22 #define __LogTypes_hh_EXTERNAL_GUARD__
23 #include <LogTypes.hh>
24 #endif
25 #ifndef __commonLogTypes_hh_EXTERNAL_GUARD__
26 #define __commonLogTypes_hh_EXTERNAL_GUARD__
27 #include <commonLogTypes.hh>
28 #endif
29 #ifndef __LogComponent_hh_EXTERNAL_GUARD__
30 #define __LogComponent_hh_EXTERNAL_GUARD__
31 #include <LogComponent.hh>
32 #endif
33 
34 
35 
36 #ifdef USE_stub_in_nt_dll
37 # ifndef USE_core_stub_in_nt_dll
38 # define USE_core_stub_in_nt_dll
39 # endif
40 # ifndef USE_dyn_stub_in_nt_dll
41 # define USE_dyn_stub_in_nt_dll
42 # endif
43 #endif
44 
45 #ifdef _core_attr
46 # error "A local CPP macro _core_attr has already been defined."
47 #else
48 # ifdef USE_core_stub_in_nt_dll
49 # define _core_attr _OMNIORB_NTDLL_IMPORT
50 # else
51 # define _core_attr
52 # endif
53 #endif
54 
55 #ifdef _dyn_attr
56 # error "A local CPP macro _dyn_attr has already been defined."
57 #else
58 # ifdef USE_dyn_stub_in_nt_dll
59 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
60 # else
61 # define _dyn_attr
62 # endif
63 #endif
64 
65 
66 
67 
68 
69 #ifndef __ComponentConfiguratorFwdr__
70 #define __ComponentConfiguratorFwdr__
71 
75 
78 
80 public:
82 
83  static _ptr_type _nil();
84  static _CORBA_Boolean is_nil(_ptr_type);
85  static void release(_ptr_type);
86  static void duplicate(_ptr_type);
87  static void marshalObjRef(_ptr_type, cdrStream&);
88  static _ptr_type unmarshalObjRef(cdrStream&);
89 };
90 
91 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorFwdr, ComponentConfiguratorFwdr_Helper> ComponentConfiguratorFwdr_var;
92 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorFwdr,ComponentConfiguratorFwdr_Helper > ComponentConfiguratorFwdr_out;
93 
94 #endif
95 
96 // interface ComponentConfiguratorFwdr
98 public:
99  // Declarations for this interface type.
101  typedef ComponentConfiguratorFwdr_var _var_type;
102 
103  static _ptr_type _duplicate(_ptr_type);
104  static _ptr_type _narrow(::CORBA::Object_ptr);
105  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
106 
107  static _ptr_type _nil();
108 
109  static inline void _marshalObjRef(_ptr_type, cdrStream&);
110 
111  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
112  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
113  if (o)
114  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
115  else
116  return _nil();
117  }
118 
119  static _core_attr const char* _PD_repoId;
120 
121  // Other IDL defined within this scope.
122 
123 };
124 
126  public virtual _objref_ComponentConfigurator
127 {
128 public:
129 
130 
131  inline _objref_ComponentConfiguratorFwdr() { _PR_setobj(0); } // nil
132  _objref_ComponentConfiguratorFwdr(omniIOR*, omniIdentity*);
133 
134 protected:
136 
137 
138 private:
139  virtual void* _ptrToObjRef(const char*);
140 
143  // not implemented
144 
145  friend class ComponentConfiguratorFwdr;
146 };
147 
148 class _pof_ComponentConfiguratorFwdr : public _OMNI_NS(proxyObjectFactory) {
149 public:
150  inline _pof_ComponentConfiguratorFwdr() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorFwdr::_PD_repoId) {}
152 
153  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
154  virtual _CORBA_Boolean is_a(const char*) const;
155 };
156 
158  public virtual _impl_ComponentConfigurator
159 {
160 public:
162 
163 
164 
165 public: // Really protected, workaround for xlC
166  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
167 
168 private:
169  virtual void* _ptrToInterface(const char*);
170  virtual const char* _mostDerivedRepoId();
171 
172 };
173 
174 
175 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorFwdr;
176 
177 #ifndef __ComponentConfiguratorForwarder__
178 #define __ComponentConfiguratorForwarder__
179 
183 
186 
188 public:
190 
191  static _ptr_type _nil();
192  static _CORBA_Boolean is_nil(_ptr_type);
193  static void release(_ptr_type);
194  static void duplicate(_ptr_type);
195  static void marshalObjRef(_ptr_type, cdrStream&);
196  static _ptr_type unmarshalObjRef(cdrStream&);
197 };
198 
199 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorForwarder, ComponentConfiguratorForwarder_Helper> ComponentConfiguratorForwarder_var;
200 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorForwarder,ComponentConfiguratorForwarder_Helper > ComponentConfiguratorForwarder_out;
201 
202 #endif
203 
204 // interface ComponentConfiguratorForwarder
206 public:
207  // Declarations for this interface type.
209  typedef ComponentConfiguratorForwarder_var _var_type;
210 
211  static _ptr_type _duplicate(_ptr_type);
212  static _ptr_type _narrow(::CORBA::Object_ptr);
213  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
214 
215  static _ptr_type _nil();
216 
217  static inline void _marshalObjRef(_ptr_type, cdrStream&);
218 
219  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
220  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
221  if (o)
222  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
223  else
224  return _nil();
225  }
226 
227  static _core_attr const char* _PD_repoId;
228 
229  // Other IDL defined within this scope.
230 
231 };
232 
234  public virtual ::CORBA::Object,
235  public virtual omniObjRef
236 {
237 public:
238  void setTagFilter(const ::tag_list_t& tagList, const char* objName);
239  void addTagFilter(const ::tag_list_t& tagList, const char* objName);
240  void removeTagFilter(const ::tag_list_t& tagList, const char* objName);
241 
242  inline _objref_ComponentConfiguratorForwarder() { _PR_setobj(0); } // nil
243  _objref_ComponentConfiguratorForwarder(omniIOR*, omniIdentity*);
244 
245 protected:
247 
248 
249 private:
250  virtual void* _ptrToObjRef(const char*);
251 
254  // not implemented
255 
256  friend class ComponentConfiguratorForwarder;
257 };
258 
259 class _pof_ComponentConfiguratorForwarder : public _OMNI_NS(proxyObjectFactory) {
260 public:
261  inline _pof_ComponentConfiguratorForwarder() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorForwarder::_PD_repoId) {}
263 
264  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
265  virtual _CORBA_Boolean is_a(const char*) const;
266 };
267 
269  public virtual omniServant
270 {
271 public:
273 
274  virtual void setTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
275  virtual void addTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
276  virtual void removeTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
277 
278 public: // Really protected, workaround for xlC
279  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
280 
281 private:
282  virtual void* _ptrToInterface(const char*);
283  virtual const char* _mostDerivedRepoId();
284 
285 };
286 
287 
288 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorForwarder;
289 
290 #ifndef __LogCentralComponentFwdr__
291 #define __LogCentralComponentFwdr__
292 
296 
299 
301 public:
303 
304  static _ptr_type _nil();
305  static _CORBA_Boolean is_nil(_ptr_type);
306  static void release(_ptr_type);
307  static void duplicate(_ptr_type);
308  static void marshalObjRef(_ptr_type, cdrStream&);
309  static _ptr_type unmarshalObjRef(cdrStream&);
310 };
311 
312 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentFwdr, LogCentralComponentFwdr_Helper> LogCentralComponentFwdr_var;
313 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentFwdr,LogCentralComponentFwdr_Helper > LogCentralComponentFwdr_out;
314 
315 #endif
316 
317 // interface LogCentralComponentFwdr
319 public:
320  // Declarations for this interface type.
322  typedef LogCentralComponentFwdr_var _var_type;
323 
324  static _ptr_type _duplicate(_ptr_type);
325  static _ptr_type _narrow(::CORBA::Object_ptr);
326  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
327 
328  static _ptr_type _nil();
329 
330  static inline void _marshalObjRef(_ptr_type, cdrStream&);
331 
332  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
333  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
334  if (o)
335  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
336  else
337  return _nil();
338  }
339 
340  static _core_attr const char* _PD_repoId;
341 
342  // Other IDL defined within this scope.
343 
344 };
345 
347  public virtual _objref_LogCentralComponent
348 {
349 public:
350 
351 
352  inline _objref_LogCentralComponentFwdr() { _PR_setobj(0); } // nil
353  _objref_LogCentralComponentFwdr(omniIOR*, omniIdentity*);
354 
355 protected:
357 
358 
359 private:
360  virtual void* _ptrToObjRef(const char*);
361 
364  // not implemented
365 
366  friend class LogCentralComponentFwdr;
367 };
368 
369 class _pof_LogCentralComponentFwdr : public _OMNI_NS(proxyObjectFactory) {
370 public:
371  inline _pof_LogCentralComponentFwdr() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentFwdr::_PD_repoId) {}
372  virtual ~_pof_LogCentralComponentFwdr();
373 
374  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
375  virtual _CORBA_Boolean is_a(const char*) const;
376 };
377 
379  public virtual _impl_LogCentralComponent
380 {
381 public:
383 
384 
385 
386 public: // Really protected, workaround for xlC
387  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
388 
389 private:
390  virtual void* _ptrToInterface(const char*);
391  virtual const char* _mostDerivedRepoId();
392 
393 };
394 
395 
396 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentFwdr;
397 
398 #ifndef __LogCentralComponentForwarder__
399 #define __LogCentralComponentForwarder__
400 
404 
407 
409 public:
411 
412  static _ptr_type _nil();
413  static _CORBA_Boolean is_nil(_ptr_type);
414  static void release(_ptr_type);
415  static void duplicate(_ptr_type);
416  static void marshalObjRef(_ptr_type, cdrStream&);
417  static _ptr_type unmarshalObjRef(cdrStream&);
418 };
419 
420 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentForwarder, LogCentralComponentForwarder_Helper> LogCentralComponentForwarder_var;
421 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentForwarder,LogCentralComponentForwarder_Helper > LogCentralComponentForwarder_out;
422 
423 #endif
424 
425 // interface LogCentralComponentForwarder
427 public:
428  // Declarations for this interface type.
430  typedef LogCentralComponentForwarder_var _var_type;
431 
432  static _ptr_type _duplicate(_ptr_type);
433  static _ptr_type _narrow(::CORBA::Object_ptr);
434  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
435 
436  static _ptr_type _nil();
437 
438  static inline void _marshalObjRef(_ptr_type, cdrStream&);
439 
440  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
441  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
442  if (o)
443  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
444  else
445  return _nil();
446  }
447 
448  static _core_attr const char* _PD_repoId;
449 
450  // Other IDL defined within this scope.
451 
452 };
453 
455  public virtual ::CORBA::Object,
456  public virtual omniObjRef
457 {
458 public:
459  ::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);
460  ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName);
461  void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName);
462  void ping(const char* componentName, const char* objName);
463  void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName);
464  void test(const char* objName);
465 
466  inline _objref_LogCentralComponentForwarder() { _PR_setobj(0); } // nil
467  _objref_LogCentralComponentForwarder(omniIOR*, omniIdentity*);
468 
469 protected:
471 
472 
473 private:
474  virtual void* _ptrToObjRef(const char*);
475 
478  // not implemented
479 
480  friend class LogCentralComponentForwarder;
481 };
482 
483 class _pof_LogCentralComponentForwarder : public _OMNI_NS(proxyObjectFactory) {
484 public:
485  inline _pof_LogCentralComponentForwarder() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentForwarder::_PD_repoId) {}
487 
488  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
489  virtual _CORBA_Boolean is_a(const char*) const;
490 };
491 
493  public virtual omniServant
494 {
495 public:
497 
498  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;
499  virtual ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) = 0;
500  virtual void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName) = 0;
501  virtual void ping(const char* componentName, const char* objName) = 0;
502  virtual void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName) = 0;
503  virtual void test(const char* objName) = 0;
504 
505 public: // Really protected, workaround for xlC
506  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
507 
508 private:
509  virtual void* _ptrToInterface(const char*);
510  virtual const char* _mostDerivedRepoId();
511 
512 };
513 
514 
515 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentForwarder;
516 
517 
518 
520  public virtual _impl_ComponentConfiguratorFwdr,
521  public virtual POA_ComponentConfigurator
522 {
523 public:
525 
526  inline ::ComponentConfiguratorFwdr_ptr _this() {
527  return (::ComponentConfiguratorFwdr_ptr) _do_this(::ComponentConfiguratorFwdr::_PD_repoId);
528  }
529 };
530 
531 template <class _omniT>
533 {
534 public:
536  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
537  POA_ComponentConfiguratorFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
538  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
539  POA_ComponentConfiguratorFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
540  : pd_obj(t), pd_poa(0), pd_rel(r) {}
541  POA_ComponentConfiguratorFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
542  : pd_obj(t), pd_poa(p), pd_rel(r) {}
544  if( pd_poa ) ::CORBA::release(pd_poa);
545  if( pd_rel ) delete pd_obj;
546  }
547 
548  _omniT* _tied_object() { return pd_obj; }
549 
550  void _tied_object(_omniT& t) {
551  if( pd_rel ) delete pd_obj;
552  pd_obj = &t;
553  pd_rel = 0;
554  }
555 
556  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
557  if( pd_rel ) delete pd_obj;
558  pd_obj = t;
559  pd_rel = r;
560  }
561 
562  _CORBA_Boolean _is_owner() { return pd_rel; }
563  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
564 
565  ::PortableServer::POA_ptr _default_POA() {
566  if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
567  else return ::PortableServer::POA::_duplicate(pd_poa);
568  }
569 
570  void setTagFilter(const tag_list_t& tagList) { pd_obj->setTagFilter(tagList); }
571  void addTagFilter(const tag_list_t& tagList) { pd_obj->addTagFilter(tagList); }
572  void removeTagFilter(const tag_list_t& tagList) { pd_obj->removeTagFilter(tagList); }
573  void test() { pd_obj->test(); }
574 
575 
576 private:
577  _omniT* pd_obj;
578  ::PortableServer::POA_ptr pd_poa;
579  _CORBA_Boolean pd_rel;
580 };
581 
584  public virtual ::PortableServer::ServantBase
585 {
586 public:
588 
589  inline ::ComponentConfiguratorForwarder_ptr _this() {
590  return (::ComponentConfiguratorForwarder_ptr) _do_this(::ComponentConfiguratorForwarder::_PD_repoId);
591  }
592 };
593 
594 template <class _omniT>
596 {
597 public:
599  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
600  POA_ComponentConfiguratorForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
601  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
602  POA_ComponentConfiguratorForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
603  : pd_obj(t), pd_poa(0), pd_rel(r) {}
604  POA_ComponentConfiguratorForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
605  : pd_obj(t), pd_poa(p), pd_rel(r) {}
607  if( pd_poa ) ::CORBA::release(pd_poa);
608  if( pd_rel ) delete pd_obj;
609  }
610 
611  _omniT* _tied_object() { return pd_obj; }
612 
613  void _tied_object(_omniT& t) {
614  if( pd_rel ) delete pd_obj;
615  pd_obj = &t;
616  pd_rel = 0;
617  }
618 
619  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
620  if( pd_rel ) delete pd_obj;
621  pd_obj = t;
622  pd_rel = r;
623  }
624 
625  _CORBA_Boolean _is_owner() { return pd_rel; }
626  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
627 
628  ::PortableServer::POA_ptr _default_POA() {
629  if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
630  else return ::PortableServer::POA::_duplicate(pd_poa);
631  }
632 
633  void setTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->setTagFilter(tagList, objName); }
634  void addTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->addTagFilter(tagList, objName); }
635  void removeTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->removeTagFilter(tagList, objName); }
636 
637 
638 private:
639  _omniT* pd_obj;
640  ::PortableServer::POA_ptr pd_poa;
641  _CORBA_Boolean pd_rel;
642 };
643 
645  public virtual _impl_LogCentralComponentFwdr,
646  public virtual POA_LogCentralComponent
647 {
648 public:
649  virtual ~POA_LogCentralComponentFwdr();
650 
651  inline ::LogCentralComponentFwdr_ptr _this() {
652  return (::LogCentralComponentFwdr_ptr) _do_this(::LogCentralComponentFwdr::_PD_repoId);
653  }
654 };
655 
656 template <class _omniT>
658 {
659 public:
661  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
662  POA_LogCentralComponentFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
663  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
664  POA_LogCentralComponentFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
665  : pd_obj(t), pd_poa(0), pd_rel(r) {}
666  POA_LogCentralComponentFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
667  : pd_obj(t), pd_poa(p), pd_rel(r) {}
669  if( pd_poa ) ::CORBA::release(pd_poa);
670  if( pd_rel ) delete pd_obj;
671  }
672 
673  _omniT* _tied_object() { return pd_obj; }
674 
675  void _tied_object(_omniT& t) {
676  if( pd_rel ) delete pd_obj;
677  pd_obj = &t;
678  pd_rel = 0;
679  }
680 
681  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
682  if( pd_rel ) delete pd_obj;
683  pd_obj = t;
684  pd_rel = r;
685  }
686 
687  _CORBA_Boolean _is_owner() { return pd_rel; }
688  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
689 
690  ::PortableServer::POA_ptr _default_POA() {
691  if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
692  else return ::PortableServer::POA::_duplicate(pd_poa);
693  }
694 
695  void test() { pd_obj->test(); }
696  ::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); }
697  ::CORBA::Short disconnectComponent(const char* componentName, const char* message) { return pd_obj->disconnectComponent(componentName, message); }
698  void sendBuffer(const log_msg_buf_t& buffer) { pd_obj->sendBuffer(buffer); }
699  void ping(const char* componentName) { pd_obj->ping(componentName); }
700  void synchronize(const char* componentName, const log_time_t& componentTime) { pd_obj->synchronize(componentName, componentTime); }
701 
702 
703 private:
704  _omniT* pd_obj;
705  ::PortableServer::POA_ptr pd_poa;
706  _CORBA_Boolean pd_rel;
707 };
708 
710  public virtual _impl_LogCentralComponentForwarder,
711  public virtual ::PortableServer::ServantBase
712 {
713 public:
715 
716  inline ::LogCentralComponentForwarder_ptr _this() {
717  return (::LogCentralComponentForwarder_ptr) _do_this(::LogCentralComponentForwarder::_PD_repoId);
718  }
719 };
720 
721 template <class _omniT>
723 {
724 public:
726  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
727  POA_LogCentralComponentForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
728  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
729  POA_LogCentralComponentForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
730  : pd_obj(t), pd_poa(0), pd_rel(r) {}
731  POA_LogCentralComponentForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
732  : pd_obj(t), pd_poa(p), pd_rel(r) {}
734  if( pd_poa ) ::CORBA::release(pd_poa);
735  if( pd_rel ) delete pd_obj;
736  }
737 
738  _omniT* _tied_object() { return pd_obj; }
739 
740  void _tied_object(_omniT& t) {
741  if( pd_rel ) delete pd_obj;
742  pd_obj = &t;
743  pd_rel = 0;
744  }
745 
746  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
747  if( pd_rel ) delete pd_obj;
748  pd_obj = t;
749  pd_rel = r;
750  }
751 
752  _CORBA_Boolean _is_owner() { return pd_rel; }
753  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
754 
755  ::PortableServer::POA_ptr _default_POA() {
756  if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
757  else return ::PortableServer::POA::_duplicate(pd_poa);
758  }
759 
760  ::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); }
761  ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) { return pd_obj->disconnectComponent(componentName, message, objName); }
762  void sendBuffer(const log_msg_buf_t& buffer, const char* objName) { pd_obj->sendBuffer(buffer, objName); }
763  void ping(const char* componentName, const char* objName) { pd_obj->ping(componentName, objName); }
764  void synchronize(const char* componentName, const log_time_t& componentTime, const char* objName) { pd_obj->synchronize(componentName, componentTime, objName); }
765  void test(const char* objName) { pd_obj->test(objName); }
766 
767 
768 private:
769  _omniT* pd_obj;
770  ::PortableServer::POA_ptr pd_poa;
771  _CORBA_Boolean pd_rel;
772 };
773 
774 
775 
776 
777 
778 
779 
780 #undef _core_attr
781 #undef _dyn_attr
782 
783 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr _s);
784 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr* _s);
785 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr& _s);
786 
787 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr _s);
788 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr* _s);
789 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr& _s);
790 
791 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr _s);
792 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr* _s);
793 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentFwdr_ptr& _s);
794 
795 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr _s);
796 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr* _s);
797 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentForwarder_ptr& _s);
798 
799 
800 
801 inline void
802 ComponentConfiguratorFwdr::_marshalObjRef(::ComponentConfiguratorFwdr_ptr obj, cdrStream& s) {
803  omniObjRef::_marshal(obj->_PR_getobj(),s);
804 }
805 
806 
807 inline void
808 ComponentConfiguratorForwarder::_marshalObjRef(::ComponentConfiguratorForwarder_ptr obj, cdrStream& s) {
809  omniObjRef::_marshal(obj->_PR_getobj(),s);
810 }
811 
812 
813 inline void
814 LogCentralComponentFwdr::_marshalObjRef(::LogCentralComponentFwdr_ptr obj, cdrStream& s) {
815  omniObjRef::_marshal(obj->_PR_getobj(),s);
816 }
817 
818 
819 inline void
820 LogCentralComponentForwarder::_marshalObjRef(::LogCentralComponentForwarder_ptr obj, cdrStream& s) {
821  omniObjRef::_marshal(obj->_PR_getobj(),s);
822 }
823 
824 
825 
826 
827 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
828 # undef USE_stub_in_nt_dll
829 # undef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
830 #endif
831 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
832 # undef USE_core_stub_in_nt_dll
833 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
834 #endif
835 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
836 # undef USE_dyn_stub_in_nt_dll
837 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
838 #endif
839 
840 #endif // __LogComponentFwdr_hh__
841