LogService
libdadi: utility tools for distributed applications
LogComponentFwdr.hh
1 // This file is generated by omniidl (C++ backend)- omniORB_4_2. 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 #ifndef __ComponentConfiguratorFwdr__
68 #define __ComponentConfiguratorFwdr__
72 
75 
77 public:
79 
80  static _ptr_type _nil();
81  static _CORBA_Boolean is_nil(_ptr_type);
82  static void release(_ptr_type);
83  static void duplicate(_ptr_type);
84  static void marshalObjRef(_ptr_type, cdrStream&);
85  static _ptr_type unmarshalObjRef(cdrStream&);
86 };
87 
88 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorFwdr, ComponentConfiguratorFwdr_Helper> ComponentConfiguratorFwdr_var;
89 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorFwdr,ComponentConfiguratorFwdr_Helper > ComponentConfiguratorFwdr_out;
90 
91 #endif
92 
93 // interface ComponentConfiguratorFwdr
95 public:
96  // Declarations for this interface type.
98  typedef ComponentConfiguratorFwdr_var _var_type;
99 
100  static _ptr_type _duplicate(_ptr_type);
101  static _ptr_type _narrow(::CORBA::Object_ptr);
102  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
103 
104  static _ptr_type _nil();
105 
106  static inline void _marshalObjRef(_ptr_type, cdrStream&);
107 
108  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
109  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
110  if (o)
111  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
112  else
113  return _nil();
114  }
115 
116  static inline _ptr_type _fromObjRef(omniObjRef* o) {
117  if (o)
118  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
119  else
120  return _nil();
121  }
122 
123  static _core_attr const char* _PD_repoId;
124 
125  // Other IDL defined within this scope.
126 
127 };
128 
130  public virtual _objref_ComponentConfigurator
131 {
132 public:
133  // IDL operations
134 
135 
136  // Constructors
137  inline _objref_ComponentConfiguratorFwdr() { _PR_setobj(0); } // nil
138  _objref_ComponentConfiguratorFwdr(omniIOR*, omniIdentity*);
139 
140 protected:
142 
143 
144 private:
145  virtual void* _ptrToObjRef(const char*);
146 
149  // not implemented
150 
151  friend class ComponentConfiguratorFwdr;
152 };
153 
154 class _pof_ComponentConfiguratorFwdr : public _OMNI_NS(proxyObjectFactory) {
155 public:
156  inline _pof_ComponentConfiguratorFwdr() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorFwdr::_PD_repoId) {}
158 
159  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
160  virtual _CORBA_Boolean is_a(const char*) const;
161 };
162 
164  public virtual _impl_ComponentConfigurator
165 {
166 public:
168 
169 
170 
171 public: // Really protected, workaround for xlC
172  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
173 
174 private:
175  virtual void* _ptrToInterface(const char*);
176  virtual const char* _mostDerivedRepoId();
177 
178 };
179 
180 
181 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorFwdr;
182 
183 #ifndef __ComponentConfiguratorForwarder__
184 #define __ComponentConfiguratorForwarder__
188 
191 
193 public:
195 
196  static _ptr_type _nil();
197  static _CORBA_Boolean is_nil(_ptr_type);
198  static void release(_ptr_type);
199  static void duplicate(_ptr_type);
200  static void marshalObjRef(_ptr_type, cdrStream&);
201  static _ptr_type unmarshalObjRef(cdrStream&);
202 };
203 
204 typedef _CORBA_ObjRef_Var<_objref_ComponentConfiguratorForwarder, ComponentConfiguratorForwarder_Helper> ComponentConfiguratorForwarder_var;
205 typedef _CORBA_ObjRef_OUT_arg<_objref_ComponentConfiguratorForwarder,ComponentConfiguratorForwarder_Helper > ComponentConfiguratorForwarder_out;
206 
207 #endif
208 
209 // interface ComponentConfiguratorForwarder
211 public:
212  // Declarations for this interface type.
214  typedef ComponentConfiguratorForwarder_var _var_type;
215 
216  static _ptr_type _duplicate(_ptr_type);
217  static _ptr_type _narrow(::CORBA::Object_ptr);
218  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
219 
220  static _ptr_type _nil();
221 
222  static inline void _marshalObjRef(_ptr_type, cdrStream&);
223 
224  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
225  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
226  if (o)
227  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
228  else
229  return _nil();
230  }
231 
232  static inline _ptr_type _fromObjRef(omniObjRef* o) {
233  if (o)
234  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
235  else
236  return _nil();
237  }
238 
239  static _core_attr const char* _PD_repoId;
240 
241  // Other IDL defined within this scope.
242 
243 };
244 
246  public virtual ::CORBA::Object,
247  public virtual omniObjRef
248 {
249 public:
250  // IDL operations
251  void setTagFilter(const ::tag_list_t& tagList, const char* objName);
252  void addTagFilter(const ::tag_list_t& tagList, const char* objName);
253  void removeTagFilter(const ::tag_list_t& tagList, const char* objName);
254 
255  // Constructors
256  inline _objref_ComponentConfiguratorForwarder() { _PR_setobj(0); } // nil
257  _objref_ComponentConfiguratorForwarder(omniIOR*, omniIdentity*);
258 
259 protected:
261 
262 
263 private:
264  virtual void* _ptrToObjRef(const char*);
265 
268  // not implemented
269 
270  friend class ComponentConfiguratorForwarder;
271 };
272 
273 class _pof_ComponentConfiguratorForwarder : public _OMNI_NS(proxyObjectFactory) {
274 public:
275  inline _pof_ComponentConfiguratorForwarder() : _OMNI_NS(proxyObjectFactory)(ComponentConfiguratorForwarder::_PD_repoId) {}
277 
278  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
279  virtual _CORBA_Boolean is_a(const char*) const;
280 };
281 
283  public virtual omniServant
284 {
285 public:
287 
288  virtual void setTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
289  virtual void addTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
290  virtual void removeTagFilter(const ::tag_list_t& tagList, const char* objName) = 0;
291 
292 public: // Really protected, workaround for xlC
293  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
294 
295 private:
296  virtual void* _ptrToInterface(const char*);
297  virtual const char* _mostDerivedRepoId();
298 
299 };
300 
301 
302 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ComponentConfiguratorForwarder;
303 
304 #ifndef __LogCentralComponentFwdr__
305 #define __LogCentralComponentFwdr__
309 
312 
314 public:
316 
317  static _ptr_type _nil();
318  static _CORBA_Boolean is_nil(_ptr_type);
319  static void release(_ptr_type);
320  static void duplicate(_ptr_type);
321  static void marshalObjRef(_ptr_type, cdrStream&);
322  static _ptr_type unmarshalObjRef(cdrStream&);
323 };
324 
325 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentFwdr, LogCentralComponentFwdr_Helper> LogCentralComponentFwdr_var;
326 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentFwdr,LogCentralComponentFwdr_Helper > LogCentralComponentFwdr_out;
327 
328 #endif
329 
330 // interface LogCentralComponentFwdr
332 public:
333  // Declarations for this interface type.
335  typedef LogCentralComponentFwdr_var _var_type;
336 
337  static _ptr_type _duplicate(_ptr_type);
338  static _ptr_type _narrow(::CORBA::Object_ptr);
339  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
340 
341  static _ptr_type _nil();
342 
343  static inline void _marshalObjRef(_ptr_type, cdrStream&);
344 
345  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
346  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
347  if (o)
348  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
349  else
350  return _nil();
351  }
352 
353  static inline _ptr_type _fromObjRef(omniObjRef* o) {
354  if (o)
355  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
356  else
357  return _nil();
358  }
359 
360  static _core_attr const char* _PD_repoId;
361 
362  // Other IDL defined within this scope.
363 
364 };
365 
367  public virtual _objref_LogCentralComponent
368 {
369 public:
370  // IDL operations
371 
372 
373  // Constructors
374  inline _objref_LogCentralComponentFwdr() { _PR_setobj(0); } // nil
375  _objref_LogCentralComponentFwdr(omniIOR*, omniIdentity*);
376 
377 protected:
379 
380 
381 private:
382  virtual void* _ptrToObjRef(const char*);
383 
386  // not implemented
387 
388  friend class LogCentralComponentFwdr;
389 };
390 
391 class _pof_LogCentralComponentFwdr : public _OMNI_NS(proxyObjectFactory) {
392 public:
393  inline _pof_LogCentralComponentFwdr() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentFwdr::_PD_repoId) {}
394  virtual ~_pof_LogCentralComponentFwdr();
395 
396  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
397  virtual _CORBA_Boolean is_a(const char*) const;
398 };
399 
401  public virtual _impl_LogCentralComponent
402 {
403 public:
405 
406 
407 
408 public: // Really protected, workaround for xlC
409  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
410 
411 private:
412  virtual void* _ptrToInterface(const char*);
413  virtual const char* _mostDerivedRepoId();
414 
415 };
416 
417 
418 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentFwdr;
419 
420 #ifndef __LogCentralComponentForwarder__
421 #define __LogCentralComponentForwarder__
425 
428 
430 public:
432 
433  static _ptr_type _nil();
434  static _CORBA_Boolean is_nil(_ptr_type);
435  static void release(_ptr_type);
436  static void duplicate(_ptr_type);
437  static void marshalObjRef(_ptr_type, cdrStream&);
438  static _ptr_type unmarshalObjRef(cdrStream&);
439 };
440 
441 typedef _CORBA_ObjRef_Var<_objref_LogCentralComponentForwarder, LogCentralComponentForwarder_Helper> LogCentralComponentForwarder_var;
442 typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralComponentForwarder,LogCentralComponentForwarder_Helper > LogCentralComponentForwarder_out;
443 
444 #endif
445 
446 // interface LogCentralComponentForwarder
448 public:
449  // Declarations for this interface type.
451  typedef LogCentralComponentForwarder_var _var_type;
452 
453  static _ptr_type _duplicate(_ptr_type);
454  static _ptr_type _narrow(::CORBA::Object_ptr);
455  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
456 
457  static _ptr_type _nil();
458 
459  static inline void _marshalObjRef(_ptr_type, cdrStream&);
460 
461  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
462  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
463  if (o)
464  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
465  else
466  return _nil();
467  }
468 
469  static inline _ptr_type _fromObjRef(omniObjRef* o) {
470  if (o)
471  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
472  else
473  return _nil();
474  }
475 
476  static _core_attr const char* _PD_repoId;
477 
478  // Other IDL defined within this scope.
479 
480 };
481 
483  public virtual ::CORBA::Object,
484  public virtual omniObjRef
485 {
486 public:
487  // IDL operations
488  ::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);
489  ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName);
490  void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName);
491  void ping(const char* componentName, const char* objName);
492  void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName);
493  void test(const char* objName);
494 
495  // Constructors
496  inline _objref_LogCentralComponentForwarder() { _PR_setobj(0); } // nil
497  _objref_LogCentralComponentForwarder(omniIOR*, omniIdentity*);
498 
499 protected:
501 
502 
503 private:
504  virtual void* _ptrToObjRef(const char*);
505 
508  // not implemented
509 
510  friend class LogCentralComponentForwarder;
511 };
512 
513 class _pof_LogCentralComponentForwarder : public _OMNI_NS(proxyObjectFactory) {
514 public:
515  inline _pof_LogCentralComponentForwarder() : _OMNI_NS(proxyObjectFactory)(LogCentralComponentForwarder::_PD_repoId) {}
517 
518  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
519  virtual _CORBA_Boolean is_a(const char*) const;
520 };
521 
523  public virtual omniServant
524 {
525 public:
527 
528  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;
529  virtual ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) = 0;
530  virtual void sendBuffer(const ::log_msg_buf_t& buffer, const char* objName) = 0;
531  virtual void ping(const char* componentName, const char* objName) = 0;
532  virtual void synchronize(const char* componentName, const ::log_time_t& componentTime, const char* objName) = 0;
533  virtual void test(const char* objName) = 0;
534 
535 public: // Really protected, workaround for xlC
536  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
537 
538 private:
539  virtual void* _ptrToInterface(const char*);
540  virtual const char* _mostDerivedRepoId();
541 
542 };
543 
544 
545 _CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralComponentForwarder;
546 
547 
548 
550  public virtual _impl_ComponentConfiguratorFwdr,
551  public virtual POA_ComponentConfigurator
552 {
553 public:
555 
556  inline ::ComponentConfiguratorFwdr_ptr _this() {
557  return (::ComponentConfiguratorFwdr_ptr) _do_this(::ComponentConfiguratorFwdr::_PD_repoId);
558  }
559 };
560 
561 template <class _omniT>
563 {
564 public:
566  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
567  POA_ComponentConfiguratorFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
568  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
569  POA_ComponentConfiguratorFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
570  : pd_obj(t), pd_poa(0), pd_rel(r) {}
571  POA_ComponentConfiguratorFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
572  : pd_obj(t), pd_poa(p), pd_rel(r) {}
574  if (pd_poa) ::CORBA::release(pd_poa);
575  if (pd_rel) delete pd_obj;
576  }
577 
578  _omniT* _tied_object() { return pd_obj; }
579 
580  void _tied_object(_omniT& t) {
581  if (pd_rel) delete pd_obj;
582  pd_obj = &t;
583  pd_rel = 0;
584  }
585 
586  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
587  if (pd_rel) delete pd_obj;
588  pd_obj = t;
589  pd_rel = r;
590  }
591 
592  _CORBA_Boolean _is_owner() { return pd_rel; }
593  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
594 
595  ::PortableServer::POA_ptr _default_POA() {
596  if (!pd_poa) return ::PortableServer::POA::_the_root_poa();
597  else return ::PortableServer::POA::_duplicate(pd_poa);
598  }
599 
600  void setTagFilter(const tag_list_t& tagList) { pd_obj->setTagFilter(tagList); }
601  void addTagFilter(const tag_list_t& tagList) { pd_obj->addTagFilter(tagList); }
602  void removeTagFilter(const tag_list_t& tagList) { pd_obj->removeTagFilter(tagList); }
603  void test() { pd_obj->test(); }
604 
605 
606 private:
607  _omniT* pd_obj;
608  ::PortableServer::POA_ptr pd_poa;
609  _CORBA_Boolean pd_rel;
610 };
611 
614  public virtual ::PortableServer::ServantBase
615 {
616 public:
618 
619  inline ::ComponentConfiguratorForwarder_ptr _this() {
620  return (::ComponentConfiguratorForwarder_ptr) _do_this(::ComponentConfiguratorForwarder::_PD_repoId);
621  }
622 };
623 
624 template <class _omniT>
626 {
627 public:
629  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
630  POA_ComponentConfiguratorForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
631  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
632  POA_ComponentConfiguratorForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
633  : pd_obj(t), pd_poa(0), pd_rel(r) {}
634  POA_ComponentConfiguratorForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
635  : pd_obj(t), pd_poa(p), pd_rel(r) {}
637  if (pd_poa) ::CORBA::release(pd_poa);
638  if (pd_rel) delete pd_obj;
639  }
640 
641  _omniT* _tied_object() { return pd_obj; }
642 
643  void _tied_object(_omniT& t) {
644  if (pd_rel) delete pd_obj;
645  pd_obj = &t;
646  pd_rel = 0;
647  }
648 
649  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
650  if (pd_rel) delete pd_obj;
651  pd_obj = t;
652  pd_rel = r;
653  }
654 
655  _CORBA_Boolean _is_owner() { return pd_rel; }
656  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
657 
658  ::PortableServer::POA_ptr _default_POA() {
659  if (!pd_poa) return ::PortableServer::POA::_the_root_poa();
660  else return ::PortableServer::POA::_duplicate(pd_poa);
661  }
662 
663  void setTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->setTagFilter(tagList, objName); }
664  void addTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->addTagFilter(tagList, objName); }
665  void removeTagFilter(const tag_list_t& tagList, const char* objName) { pd_obj->removeTagFilter(tagList, objName); }
666 
667 
668 private:
669  _omniT* pd_obj;
670  ::PortableServer::POA_ptr pd_poa;
671  _CORBA_Boolean pd_rel;
672 };
673 
675  public virtual _impl_LogCentralComponentFwdr,
676  public virtual POA_LogCentralComponent
677 {
678 public:
679  virtual ~POA_LogCentralComponentFwdr();
680 
681  inline ::LogCentralComponentFwdr_ptr _this() {
682  return (::LogCentralComponentFwdr_ptr) _do_this(::LogCentralComponentFwdr::_PD_repoId);
683  }
684 };
685 
686 template <class _omniT>
688 {
689 public:
691  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
692  POA_LogCentralComponentFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
693  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
694  POA_LogCentralComponentFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
695  : pd_obj(t), pd_poa(0), pd_rel(r) {}
696  POA_LogCentralComponentFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
697  : pd_obj(t), pd_poa(p), pd_rel(r) {}
699  if (pd_poa) ::CORBA::release(pd_poa);
700  if (pd_rel) delete pd_obj;
701  }
702 
703  _omniT* _tied_object() { return pd_obj; }
704 
705  void _tied_object(_omniT& t) {
706  if (pd_rel) delete pd_obj;
707  pd_obj = &t;
708  pd_rel = 0;
709  }
710 
711  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
712  if (pd_rel) delete pd_obj;
713  pd_obj = t;
714  pd_rel = r;
715  }
716 
717  _CORBA_Boolean _is_owner() { return pd_rel; }
718  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
719 
720  ::PortableServer::POA_ptr _default_POA() {
721  if (!pd_poa) return ::PortableServer::POA::_the_root_poa();
722  else return ::PortableServer::POA::_duplicate(pd_poa);
723  }
724 
725  void test() { pd_obj->test(); }
726  ::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); }
727  ::CORBA::Short disconnectComponent(const char* componentName, const char* message) { return pd_obj->disconnectComponent(componentName, message); }
728  void sendBuffer(const log_msg_buf_t& buffer) { pd_obj->sendBuffer(buffer); }
729  void ping(const char* componentName) { pd_obj->ping(componentName); }
730  void synchronize(const char* componentName, const log_time_t& componentTime) { pd_obj->synchronize(componentName, componentTime); }
731 
732 
733 private:
734  _omniT* pd_obj;
735  ::PortableServer::POA_ptr pd_poa;
736  _CORBA_Boolean pd_rel;
737 };
738 
740  public virtual _impl_LogCentralComponentForwarder,
741  public virtual ::PortableServer::ServantBase
742 {
743 public:
745 
746  inline ::LogCentralComponentForwarder_ptr _this() {
747  return (::LogCentralComponentForwarder_ptr) _do_this(::LogCentralComponentForwarder::_PD_repoId);
748  }
749 };
750 
751 template <class _omniT>
753 {
754 public:
756  : pd_obj(&t), pd_poa(0), pd_rel(0) {}
757  POA_LogCentralComponentForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
758  : pd_obj(&t), pd_poa(p), pd_rel(0) {}
759  POA_LogCentralComponentForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
760  : pd_obj(t), pd_poa(0), pd_rel(r) {}
761  POA_LogCentralComponentForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
762  : pd_obj(t), pd_poa(p), pd_rel(r) {}
764  if (pd_poa) ::CORBA::release(pd_poa);
765  if (pd_rel) delete pd_obj;
766  }
767 
768  _omniT* _tied_object() { return pd_obj; }
769 
770  void _tied_object(_omniT& t) {
771  if (pd_rel) delete pd_obj;
772  pd_obj = &t;
773  pd_rel = 0;
774  }
775 
776  void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
777  if (pd_rel) delete pd_obj;
778  pd_obj = t;
779  pd_rel = r;
780  }
781 
782  _CORBA_Boolean _is_owner() { return pd_rel; }
783  void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
784 
785  ::PortableServer::POA_ptr _default_POA() {
786  if (!pd_poa) return ::PortableServer::POA::_the_root_poa();
787  else return ::PortableServer::POA::_duplicate(pd_poa);
788  }
789 
790  ::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); }
791  ::CORBA::Short disconnectComponent(const char* componentName, const char* message, const char* objName) { return pd_obj->disconnectComponent(componentName, message, objName); }
792  void sendBuffer(const log_msg_buf_t& buffer, const char* objName) { pd_obj->sendBuffer(buffer, objName); }
793  void ping(const char* componentName, const char* objName) { pd_obj->ping(componentName, objName); }
794  void synchronize(const char* componentName, const log_time_t& componentTime, const char* objName) { pd_obj->synchronize(componentName, componentTime, objName); }
795  void test(const char* objName) { pd_obj->test(objName); }
796 
797 
798 private:
799  _omniT* pd_obj;
800  ::PortableServer::POA_ptr pd_poa;
801  _CORBA_Boolean pd_rel;
802 };
803 
804 
805 
806 
807 
808 
809 
810 #undef _core_attr
811 #undef _dyn_attr
812 
813 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr _s);
814 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr* _s);
815 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorFwdr_ptr& _s);
816 
817 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr _s);
818 void operator<<=(::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr* _s);
819 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ComponentConfiguratorForwarder_ptr& _s);
820 
821 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr _s);
822 void operator<<=(::CORBA::Any& _a, LogCentralComponentFwdr_ptr* _s);
823 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentFwdr_ptr& _s);
824 
825 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr _s);
826 void operator<<=(::CORBA::Any& _a, LogCentralComponentForwarder_ptr* _s);
827 _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralComponentForwarder_ptr& _s);
828 
829 
830 
831 inline void
832 ComponentConfiguratorFwdr::_marshalObjRef(::ComponentConfiguratorFwdr_ptr obj, cdrStream& s) {
833  omniObjRef::_marshal(obj->_PR_getobj(),s);
834 }
835 
836 inline void
837 ComponentConfiguratorForwarder::_marshalObjRef(::ComponentConfiguratorForwarder_ptr obj, cdrStream& s) {
838  omniObjRef::_marshal(obj->_PR_getobj(),s);
839 }
840 
841 inline void
842 LogCentralComponentFwdr::_marshalObjRef(::LogCentralComponentFwdr_ptr obj, cdrStream& s) {
843  omniObjRef::_marshal(obj->_PR_getobj(),s);
844 }
845 
846 inline void
847 LogCentralComponentForwarder::_marshalObjRef(::LogCentralComponentForwarder_ptr obj, cdrStream& s) {
848  omniObjRef::_marshal(obj->_PR_getobj(),s);
849 }
850 
851 
852 
853 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
854 # undef USE_stub_in_nt_dll
855 # undef USE_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
856 #endif
857 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
858 # undef USE_core_stub_in_nt_dll
859 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
860 #endif
861 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
862 # undef USE_dyn_stub_in_nt_dll
863 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogComponentFwdr
864 #endif
865 
866 #endif // __LogComponentFwdr_hh__
867 
Definition: LogComponentFwdr.hh:366
Definition: LogComponentFwdr.hh:313
Definition: LogComponentFwdr.hh:612
Definition: LogComponentFwdr.hh:513
Definition: LogComponentFwdr.hh:687
Definition: LogComponentFwdr.hh:94
Definition: LogComponentFwdr.hh:192
Definition: LogComponent.hh:173
Definition: LogComponent.hh:135
Definition: LogComponentFwdr.hh:429
Definition: LogComponentFwdr.hh:391
Definition: LogComponentFwdr.hh:739
Definition: LogComponentFwdr.hh:76
Definition: LogComponentFwdr.hh:154
Definition: LogComponent.hh:325
Definition: LogComponentFwdr.hh:447
Definition: LogTypes.hh:57
Definition: LogComponentFwdr.hh:522
Definition: LogComponentFwdr.hh:245
Definition: LogTypes.hh:107
Definition: LogComponentFwdr.hh:331
Definition: LogTypes.hh:221
Definition: LogComponentFwdr.hh:674
Definition: LogComponentFwdr.hh:129
Definition: LogComponentFwdr.hh:562
Definition: LogComponentFwdr.hh:549
Definition: LogComponentFwdr.hh:752
Definition: LogComponentFwdr.hh:625
Definition: LogComponent.hh:388
Definition: LogComponent.hh:298
Definition: LogComponentFwdr.hh:273
Definition: LogComponentFwdr.hh:163
Definition: LogComponentFwdr.hh:210
Definition: LogComponentFwdr.hh:482
Definition: LogComponentFwdr.hh:400
Definition: LogComponentFwdr.hh:282
Definition: LogComponent.hh:258