RTCORBAC.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // RTCORBAC.cpp,v 1.46 2006/04/19 09:30:04 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:291
00030 
00031 
00032 #include "tao/RTCORBA/RTCORBA.h"
00033 #include "tao/CDR.h"
00034 #include "tao/Basic_Arguments.h"
00035 #include "tao/Special_Basic_Arguments.h"
00036 #include "tao/UB_String_Arguments.h"
00037 #include "ace/OS_NS_string.h"
00038 
00039 #if defined (__BORLANDC__)
00040 #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
00041 #endif /* __BORLANDC__ */
00042 
00043 // TAO_IDL - Generated from
00044 // be\be_visitor_arg_traits.cpp:70
00045 
00046 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00047 
00048 // Arg traits specializations.
00049 namespace TAO
00050 {
00051 }
00052 
00053 //////////////////////////////////////////////////////
00054 // CDR Encoding Support hand crafted
00055 
00056 CORBA::Boolean
00057 RTCORBA::ProtocolProperties::_tao_encode (TAO_OutputCDR &)
00058 {
00059   return 1;
00060 }
00061 // TAO_IDL - Generated from
00062 // be/be_visitor_arg_traits.cpp:60
00063 
00064 CORBA::Boolean
00065 RTCORBA::ProtocolProperties::_tao_decode (TAO_InputCDR &)
00066 {
00067   return 1;
00068 }
00069 
00070 // TAO_IDL - Generated from
00071 // be\be_visitor_structure/structure_cs.cpp:66
00072 
00073 void
00074 RTCORBA::ThreadpoolLane::_tao_any_destructor (
00075     void *_tao_void_pointer
00076   )
00077 {
00078   ThreadpoolLane *_tao_tmp_pointer =
00079     static_cast<ThreadpoolLane *> (_tao_void_pointer);
00080   delete _tao_tmp_pointer;
00081 }
00082 
00083 // TAO_IDL - Generated from
00084 // be\be_visitor_sequence/sequence_cs.cpp:65
00085 
00086 #if !defined (_RTCORBA_THREADPOOLLANES_CS_)
00087 #define _RTCORBA_THREADPOOLLANES_CS_
00088 
00089 RTCORBA::ThreadpoolLanes::ThreadpoolLanes (void)
00090 {}
00091 
00092 RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
00093     CORBA::ULong max
00094   )
00095   : TAO::unbounded_value_sequence<
00096         RTCORBA::ThreadpoolLane
00097       >
00098     (max)
00099 {}
00100 
00101 RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
00102     CORBA::ULong max,
00103     CORBA::ULong length,
00104     RTCORBA::ThreadpoolLane * buffer,
00105     CORBA::Boolean release
00106   )
00107   : TAO::unbounded_value_sequence<
00108         RTCORBA::ThreadpoolLane
00109       >
00110     (max, length, buffer, release)
00111 {}
00112 
00113 RTCORBA::ThreadpoolLanes::ThreadpoolLanes (
00114     const ThreadpoolLanes &seq
00115   )
00116   : TAO::unbounded_value_sequence<
00117         RTCORBA::ThreadpoolLane
00118       >
00119     (seq)
00120 {}
00121 
00122 RTCORBA::ThreadpoolLanes::~ThreadpoolLanes (void)
00123 {}
00124 
00125 void RTCORBA::ThreadpoolLanes::_tao_any_destructor (
00126     void * _tao_void_pointer
00127   )
00128 {
00129   ThreadpoolLanes * _tao_tmp_pointer =
00130     static_cast<ThreadpoolLanes *> (_tao_void_pointer);
00131   delete _tao_tmp_pointer;
00132 }
00133 
00134 #endif /* end #if !defined */
00135 
00136 // TAO_IDL - Generated from
00137 // be\be_visitor_interface/interface_cs.cpp:60
00138 
00139 // Traits specializations for RTCORBA::PriorityModelPolicy.
00140 
00141 RTCORBA::PriorityModelPolicy_ptr
00142 TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::duplicate (
00143     RTCORBA::PriorityModelPolicy_ptr p
00144   )
00145 {
00146   return RTCORBA::PriorityModelPolicy::_duplicate (p);
00147 }
00148 
00149 void
00150 TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::release (
00151     RTCORBA::PriorityModelPolicy_ptr p
00152   )
00153 {
00154   ::CORBA::release (p);
00155 }
00156 
00157 RTCORBA::PriorityModelPolicy_ptr
00158 TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::nil (void)
00159 {
00160   return RTCORBA::PriorityModelPolicy::_nil ();
00161 }
00162 
00163 CORBA::Boolean
00164 TAO::Objref_Traits<RTCORBA::PriorityModelPolicy>::marshal (
00165     RTCORBA::PriorityModelPolicy_ptr p,
00166     TAO_OutputCDR & cdr
00167   )
00168 {
00169   return CORBA::Object::marshal (p, cdr);
00170 }
00171 
00172 RTCORBA::PriorityModelPolicy::PriorityModelPolicy (void)
00173 {}
00174 
00175 RTCORBA::PriorityModelPolicy::~PriorityModelPolicy (void)
00176 {}
00177 
00178 void
00179 RTCORBA::PriorityModelPolicy::_tao_any_destructor (void *_tao_void_pointer)
00180 {
00181   PriorityModelPolicy *_tao_tmp_pointer =
00182     static_cast<PriorityModelPolicy *> (_tao_void_pointer);
00183   ::CORBA::release (_tao_tmp_pointer);
00184 }
00185 
00186 RTCORBA::PriorityModelPolicy_ptr
00187 RTCORBA::PriorityModelPolicy::_narrow (
00188     CORBA::Object_ptr _tao_objref
00189     ACE_ENV_ARG_DECL_NOT_USED
00190   )
00191 {
00192   return PriorityModelPolicy::_duplicate (
00193       dynamic_cast<PriorityModelPolicy_ptr> (_tao_objref)
00194     );
00195 }
00196 
00197 RTCORBA::PriorityModelPolicy_ptr
00198 RTCORBA::PriorityModelPolicy::_unchecked_narrow (
00199     CORBA::Object_ptr _tao_objref
00200     ACE_ENV_ARG_DECL_NOT_USED
00201   )
00202 {
00203   return PriorityModelPolicy::_duplicate (
00204       dynamic_cast<PriorityModelPolicy_ptr> (_tao_objref)
00205     );
00206 }
00207 
00208 RTCORBA::PriorityModelPolicy_ptr
00209 RTCORBA::PriorityModelPolicy::_duplicate (PriorityModelPolicy_ptr obj)
00210 {
00211   if (! ::CORBA::is_nil (obj))
00212     {
00213       obj->_add_ref ();
00214     }
00215 
00216   return obj;
00217 }
00218 
00219 void
00220 RTCORBA::PriorityModelPolicy::_tao_release (PriorityModelPolicy_ptr obj)
00221 {
00222   ::CORBA::release (obj);
00223 }
00224 
00225 CORBA::Boolean
00226 RTCORBA::PriorityModelPolicy::_is_a (
00227     const char *value
00228     ACE_ENV_ARG_DECL_NOT_USED
00229   )
00230 {
00231   if (
00232       !ACE_OS::strcmp (
00233           value,
00234           "IDL:omg.org/CORBA/Policy:1.0"
00235         ) ||
00236       !ACE_OS::strcmp (
00237           value,
00238           "IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0"
00239         ) ||
00240       !ACE_OS::strcmp (
00241           value,
00242           "IDL:omg.org/CORBA/LocalObject:1.0"
00243         ) ||
00244       !ACE_OS::strcmp (
00245           value,
00246           "IDL:omg.org/CORBA/Object:1.0"
00247         )
00248     )
00249     {
00250       return true; // success using local knowledge
00251     }
00252   else
00253     {
00254       return false;
00255     }
00256 }
00257 
00258 const char* RTCORBA::PriorityModelPolicy::_interface_repository_id (void) const
00259 {
00260   return "IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0";
00261 }
00262 
00263 CORBA::Boolean
00264 RTCORBA::PriorityModelPolicy::marshal (TAO_OutputCDR &)
00265 {
00266   return false;
00267 }
00268 
00269 // TAO_IDL - Generated from
00270 // be\be_visitor_interface/interface_cs.cpp:60
00271 
00272 // Traits specializations for RTCORBA::ThreadpoolPolicy.
00273 
00274 RTCORBA::ThreadpoolPolicy_ptr
00275 TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::duplicate (
00276     RTCORBA::ThreadpoolPolicy_ptr p
00277   )
00278 {
00279   return RTCORBA::ThreadpoolPolicy::_duplicate (p);
00280 }
00281 
00282 void
00283 TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::release (
00284     RTCORBA::ThreadpoolPolicy_ptr p
00285   )
00286 {
00287   ::CORBA::release (p);
00288 }
00289 
00290 RTCORBA::ThreadpoolPolicy_ptr
00291 TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::nil (void)
00292 {
00293   return RTCORBA::ThreadpoolPolicy::_nil ();
00294 }
00295 
00296 CORBA::Boolean
00297 TAO::Objref_Traits<RTCORBA::ThreadpoolPolicy>::marshal (
00298     RTCORBA::ThreadpoolPolicy_ptr p,
00299     TAO_OutputCDR & cdr
00300   )
00301 {
00302   return CORBA::Object::marshal (p, cdr);
00303 }
00304 
00305 RTCORBA::ThreadpoolPolicy::ThreadpoolPolicy (void)
00306 {}
00307 
00308 RTCORBA::ThreadpoolPolicy::~ThreadpoolPolicy (void)
00309 {}
00310 
00311 void
00312 RTCORBA::ThreadpoolPolicy::_tao_any_destructor (void *_tao_void_pointer)
00313 {
00314   ThreadpoolPolicy *_tao_tmp_pointer =
00315     static_cast<ThreadpoolPolicy *> (_tao_void_pointer);
00316   ::CORBA::release (_tao_tmp_pointer);
00317 }
00318 
00319 RTCORBA::ThreadpoolPolicy_ptr
00320 RTCORBA::ThreadpoolPolicy::_narrow (
00321     CORBA::Object_ptr _tao_objref
00322     ACE_ENV_ARG_DECL_NOT_USED
00323   )
00324 {
00325   return ThreadpoolPolicy::_duplicate (
00326       dynamic_cast<ThreadpoolPolicy_ptr> (_tao_objref)
00327     );
00328 }
00329 
00330 RTCORBA::ThreadpoolPolicy_ptr
00331 RTCORBA::ThreadpoolPolicy::_unchecked_narrow (
00332     CORBA::Object_ptr _tao_objref
00333     ACE_ENV_ARG_DECL_NOT_USED
00334   )
00335 {
00336   return ThreadpoolPolicy::_duplicate (
00337       dynamic_cast<ThreadpoolPolicy_ptr> (_tao_objref)
00338     );
00339 }
00340 
00341 RTCORBA::ThreadpoolPolicy_ptr
00342 RTCORBA::ThreadpoolPolicy::_duplicate (ThreadpoolPolicy_ptr obj)
00343 {
00344   if (! ::CORBA::is_nil (obj))
00345     {
00346       obj->_add_ref ();
00347     }
00348 
00349   return obj;
00350 }
00351 
00352 void
00353 RTCORBA::ThreadpoolPolicy::_tao_release (ThreadpoolPolicy_ptr obj)
00354 {
00355   ::CORBA::release (obj);
00356 }
00357 
00358 CORBA::Boolean
00359 RTCORBA::ThreadpoolPolicy::_is_a (
00360     const char *value
00361     ACE_ENV_ARG_DECL_NOT_USED
00362   )
00363 {
00364   if (
00365       !ACE_OS::strcmp (
00366           value,
00367           "IDL:omg.org/CORBA/Policy:1.0"
00368         ) ||
00369       !ACE_OS::strcmp (
00370           value,
00371           "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0"
00372         ) ||
00373       !ACE_OS::strcmp (
00374           value,
00375           "IDL:omg.org/CORBA/LocalObject:1.0"
00376         ) ||
00377       !ACE_OS::strcmp (
00378           value,
00379           "IDL:omg.org/CORBA/Object:1.0"
00380         )
00381     )
00382     {
00383       return true; // success using local knowledge
00384     }
00385   else
00386     {
00387       return false;
00388     }
00389 }
00390 
00391 const char* RTCORBA::ThreadpoolPolicy::_interface_repository_id (void) const
00392 {
00393   return "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0";
00394 }
00395 
00396 CORBA::Boolean
00397 RTCORBA::ThreadpoolPolicy::marshal (TAO_OutputCDR &)
00398 {
00399   return false;
00400 }
00401 
00402 // TAO_IDL - Generated from
00403 // be\be_visitor_interface/interface_cs.cpp:60
00404 
00405 // Traits specializations for RTCORBA::ProtocolProperties.
00406 
00407 RTCORBA::ProtocolProperties_ptr
00408 TAO::Objref_Traits<RTCORBA::ProtocolProperties>::duplicate (
00409     RTCORBA::ProtocolProperties_ptr p
00410   )
00411 {
00412   return RTCORBA::ProtocolProperties::_duplicate (p);
00413 }
00414 
00415 void
00416 TAO::Objref_Traits<RTCORBA::ProtocolProperties>::release (
00417     RTCORBA::ProtocolProperties_ptr p
00418   )
00419 {
00420   ::CORBA::release (p);
00421 }
00422 
00423 RTCORBA::ProtocolProperties_ptr
00424 TAO::Objref_Traits<RTCORBA::ProtocolProperties>::nil (void)
00425 {
00426   return RTCORBA::ProtocolProperties::_nil ();
00427 }
00428 
00429 CORBA::Boolean
00430 TAO::Objref_Traits<RTCORBA::ProtocolProperties>::marshal (
00431     RTCORBA::ProtocolProperties_ptr p,
00432     TAO_OutputCDR & cdr
00433   )
00434 {
00435   return CORBA::Object::marshal (p, cdr);
00436 }
00437 
00438 RTCORBA::ProtocolProperties::ProtocolProperties (void)
00439 {}
00440 
00441 RTCORBA::ProtocolProperties::~ProtocolProperties (void)
00442 {}
00443 
00444 void
00445 RTCORBA::ProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
00446 {
00447   ProtocolProperties *_tao_tmp_pointer =
00448     static_cast<ProtocolProperties *> (_tao_void_pointer);
00449   ::CORBA::release (_tao_tmp_pointer);
00450 }
00451 
00452 RTCORBA::ProtocolProperties_ptr
00453 RTCORBA::ProtocolProperties::_narrow (
00454     CORBA::Object_ptr _tao_objref
00455     ACE_ENV_ARG_DECL_NOT_USED
00456   )
00457 {
00458   return ProtocolProperties::_duplicate (
00459       dynamic_cast<ProtocolProperties_ptr> (_tao_objref)
00460     );
00461 }
00462 
00463 RTCORBA::ProtocolProperties_ptr
00464 RTCORBA::ProtocolProperties::_unchecked_narrow (
00465     CORBA::Object_ptr _tao_objref
00466     ACE_ENV_ARG_DECL_NOT_USED
00467   )
00468 {
00469   return ProtocolProperties::_duplicate (
00470       dynamic_cast<ProtocolProperties_ptr> (_tao_objref)
00471     );
00472 }
00473 
00474 RTCORBA::ProtocolProperties_ptr
00475 RTCORBA::ProtocolProperties::_duplicate (ProtocolProperties_ptr obj)
00476 {
00477   if (! ::CORBA::is_nil (obj))
00478     {
00479       obj->_add_ref ();
00480     }
00481 
00482   return obj;
00483 }
00484 
00485 void
00486 RTCORBA::ProtocolProperties::_tao_release (ProtocolProperties_ptr obj)
00487 {
00488   ::CORBA::release (obj);
00489 }
00490 
00491 CORBA::Boolean
00492 RTCORBA::ProtocolProperties::_is_a (
00493     const char *value
00494     ACE_ENV_ARG_DECL_NOT_USED
00495   )
00496 {
00497   if (
00498       !ACE_OS::strcmp (
00499           value,
00500           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
00501         ) ||
00502       !ACE_OS::strcmp (
00503           value,
00504           "IDL:omg.org/CORBA/LocalObject:1.0"
00505         ) ||
00506       !ACE_OS::strcmp (
00507           value,
00508           "IDL:omg.org/CORBA/Object:1.0"
00509         )
00510     )
00511     {
00512       return true; // success using local knowledge
00513     }
00514   else
00515     {
00516       return false;
00517     }
00518 }
00519 
00520 const char* RTCORBA::ProtocolProperties::_interface_repository_id (void) const
00521 {
00522   return "IDL:omg.org/RTCORBA/ProtocolProperties:1.0";
00523 }
00524 
00525 CORBA::Boolean
00526 RTCORBA::ProtocolProperties::marshal (TAO_OutputCDR &)
00527 {
00528   return false;
00529 }
00530 
00531 // TAO_IDL - Generated from
00532 // be\be_visitor_structure/structure_cs.cpp:66
00533 
00534 void
00535 RTCORBA::Protocol::_tao_any_destructor (
00536     void *_tao_void_pointer
00537   )
00538 {
00539   Protocol *_tao_tmp_pointer =
00540     static_cast<Protocol *> (_tao_void_pointer);
00541   delete _tao_tmp_pointer;
00542 }
00543 
00544 // TAO_IDL - Generated from
00545 // be\be_visitor_sequence/sequence_cs.cpp:65
00546 
00547 #if !defined (_RTCORBA_PROTOCOLLIST_CS_)
00548 #define _RTCORBA_PROTOCOLLIST_CS_
00549 
00550 RTCORBA::ProtocolList::ProtocolList (void)
00551 {}
00552 
00553 RTCORBA::ProtocolList::ProtocolList (
00554     CORBA::ULong max
00555   )
00556   : TAO::unbounded_value_sequence<
00557         RTCORBA::Protocol
00558       >
00559     (max)
00560 {}
00561 
00562 RTCORBA::ProtocolList::ProtocolList (
00563     CORBA::ULong max,
00564     CORBA::ULong length,
00565     RTCORBA::Protocol * buffer,
00566     CORBA::Boolean release
00567   )
00568   : TAO::unbounded_value_sequence<
00569         RTCORBA::Protocol
00570       >
00571     (max, length, buffer, release)
00572 {}
00573 
00574 RTCORBA::ProtocolList::ProtocolList (
00575     const ProtocolList &seq
00576   )
00577   : TAO::unbounded_value_sequence<
00578         RTCORBA::Protocol
00579       >
00580     (seq)
00581 {}
00582 
00583 RTCORBA::ProtocolList::~ProtocolList (void)
00584 {}
00585 
00586 void RTCORBA::ProtocolList::_tao_any_destructor (
00587     void * _tao_void_pointer
00588   )
00589 {
00590   ProtocolList * _tao_tmp_pointer =
00591     static_cast<ProtocolList *> (_tao_void_pointer);
00592   delete _tao_tmp_pointer;
00593 }
00594 
00595 #endif /* end #if !defined */
00596 
00597 // TAO_IDL - Generated from
00598 // be\be_visitor_interface/interface_cs.cpp:60
00599 
00600 // Traits specializations for RTCORBA::ServerProtocolPolicy.
00601 
00602 RTCORBA::ServerProtocolPolicy_ptr
00603 TAO::Objref_Traits<RTCORBA::ServerProtocolPolicy>::duplicate (
00604     RTCORBA::ServerProtocolPolicy_ptr p
00605   )
00606 {
00607   return RTCORBA::ServerProtocolPolicy::_duplicate (p);
00608 }
00609 
00610 void
00611 TAO::Objref_Traits<RTCORBA::ServerProtocolPolicy>::release (
00612     RTCORBA::ServerProtocolPolicy_ptr p
00613   )
00614 {
00615   ::CORBA::release (p);
00616 }
00617 
00618 RTCORBA::ServerProtocolPolicy_ptr
00619 TAO::Objref_Traits<RTCORBA::ServerProtocolPolicy>::nil (void)
00620 {
00621   return RTCORBA::ServerProtocolPolicy::_nil ();
00622 }
00623 
00624 CORBA::Boolean
00625 TAO::Objref_Traits<RTCORBA::ServerProtocolPolicy>::marshal (
00626     RTCORBA::ServerProtocolPolicy_ptr p,
00627     TAO_OutputCDR & cdr
00628   )
00629 {
00630   return CORBA::Object::marshal (p, cdr);
00631 }
00632 
00633 RTCORBA::ServerProtocolPolicy::ServerProtocolPolicy (void)
00634 {}
00635 
00636 RTCORBA::ServerProtocolPolicy::~ServerProtocolPolicy (void)
00637 {}
00638 
00639 void
00640 RTCORBA::ServerProtocolPolicy::_tao_any_destructor (void *_tao_void_pointer)
00641 {
00642   ServerProtocolPolicy *_tao_tmp_pointer =
00643     static_cast<ServerProtocolPolicy *> (_tao_void_pointer);
00644   ::CORBA::release (_tao_tmp_pointer);
00645 }
00646 
00647 RTCORBA::ServerProtocolPolicy_ptr
00648 RTCORBA::ServerProtocolPolicy::_narrow (
00649     CORBA::Object_ptr _tao_objref
00650     ACE_ENV_ARG_DECL_NOT_USED
00651   )
00652 {
00653   return ServerProtocolPolicy::_duplicate (
00654       dynamic_cast<ServerProtocolPolicy_ptr> (_tao_objref)
00655     );
00656 }
00657 
00658 RTCORBA::ServerProtocolPolicy_ptr
00659 RTCORBA::ServerProtocolPolicy::_unchecked_narrow (
00660     CORBA::Object_ptr _tao_objref
00661     ACE_ENV_ARG_DECL_NOT_USED
00662   )
00663 {
00664   return ServerProtocolPolicy::_duplicate (
00665       dynamic_cast<ServerProtocolPolicy_ptr> (_tao_objref)
00666     );
00667 }
00668 
00669 RTCORBA::ServerProtocolPolicy_ptr
00670 RTCORBA::ServerProtocolPolicy::_duplicate (ServerProtocolPolicy_ptr obj)
00671 {
00672   if (! ::CORBA::is_nil (obj))
00673     {
00674       obj->_add_ref ();
00675     }
00676 
00677   return obj;
00678 }
00679 
00680 void
00681 RTCORBA::ServerProtocolPolicy::_tao_release (ServerProtocolPolicy_ptr obj)
00682 {
00683   ::CORBA::release (obj);
00684 }
00685 
00686 CORBA::Boolean
00687 RTCORBA::ServerProtocolPolicy::_is_a (
00688     const char *value
00689     ACE_ENV_ARG_DECL_NOT_USED
00690   )
00691 {
00692   if (
00693       !ACE_OS::strcmp (
00694           value,
00695           "IDL:omg.org/CORBA/Policy:1.0"
00696         ) ||
00697       !ACE_OS::strcmp (
00698           value,
00699           "IDL:omg.org/RTCORBA/ServerProtocolPolicy:1.0"
00700         ) ||
00701       !ACE_OS::strcmp (
00702           value,
00703           "IDL:omg.org/CORBA/LocalObject:1.0"
00704         ) ||
00705       !ACE_OS::strcmp (
00706           value,
00707           "IDL:omg.org/CORBA/Object:1.0"
00708         )
00709     )
00710     {
00711       return true; // success using local knowledge
00712     }
00713   else
00714     {
00715       return false;
00716     }
00717 }
00718 
00719 const char* RTCORBA::ServerProtocolPolicy::_interface_repository_id (void) const
00720 {
00721   return "IDL:omg.org/RTCORBA/ServerProtocolPolicy:1.0";
00722 }
00723 
00724 CORBA::Boolean
00725 RTCORBA::ServerProtocolPolicy::marshal (TAO_OutputCDR &)
00726 {
00727   return false;
00728 }
00729 
00730 // TAO_IDL - Generated from
00731 // be\be_visitor_interface/interface_cs.cpp:60
00732 
00733 // Traits specializations for RTCORBA::ClientProtocolPolicy.
00734 
00735 RTCORBA::ClientProtocolPolicy_ptr
00736 TAO::Objref_Traits<RTCORBA::ClientProtocolPolicy>::duplicate (
00737     RTCORBA::ClientProtocolPolicy_ptr p
00738   )
00739 {
00740   return RTCORBA::ClientProtocolPolicy::_duplicate (p);
00741 }
00742 
00743 void
00744 TAO::Objref_Traits<RTCORBA::ClientProtocolPolicy>::release (
00745     RTCORBA::ClientProtocolPolicy_ptr p
00746   )
00747 {
00748   ::CORBA::release (p);
00749 }
00750 
00751 RTCORBA::ClientProtocolPolicy_ptr
00752 TAO::Objref_Traits<RTCORBA::ClientProtocolPolicy>::nil (void)
00753 {
00754   return RTCORBA::ClientProtocolPolicy::_nil ();
00755 }
00756 
00757 CORBA::Boolean
00758 TAO::Objref_Traits<RTCORBA::ClientProtocolPolicy>::marshal (
00759     RTCORBA::ClientProtocolPolicy_ptr p,
00760     TAO_OutputCDR & cdr
00761   )
00762 {
00763   return CORBA::Object::marshal (p, cdr);
00764 }
00765 
00766 RTCORBA::ClientProtocolPolicy::ClientProtocolPolicy (void)
00767 {}
00768 
00769 RTCORBA::ClientProtocolPolicy::~ClientProtocolPolicy (void)
00770 {}
00771 
00772 void
00773 RTCORBA::ClientProtocolPolicy::_tao_any_destructor (void *_tao_void_pointer)
00774 {
00775   ClientProtocolPolicy *_tao_tmp_pointer =
00776     static_cast<ClientProtocolPolicy *> (_tao_void_pointer);
00777   ::CORBA::release (_tao_tmp_pointer);
00778 }
00779 
00780 RTCORBA::ClientProtocolPolicy_ptr
00781 RTCORBA::ClientProtocolPolicy::_narrow (
00782     CORBA::Object_ptr _tao_objref
00783     ACE_ENV_ARG_DECL_NOT_USED
00784   )
00785 {
00786   return ClientProtocolPolicy::_duplicate (
00787       dynamic_cast<ClientProtocolPolicy_ptr> (_tao_objref)
00788     );
00789 }
00790 
00791 RTCORBA::ClientProtocolPolicy_ptr
00792 RTCORBA::ClientProtocolPolicy::_unchecked_narrow (
00793     CORBA::Object_ptr _tao_objref
00794     ACE_ENV_ARG_DECL_NOT_USED
00795   )
00796 {
00797   return ClientProtocolPolicy::_duplicate (
00798       dynamic_cast<ClientProtocolPolicy_ptr> (_tao_objref)
00799     );
00800 }
00801 
00802 RTCORBA::ClientProtocolPolicy_ptr
00803 RTCORBA::ClientProtocolPolicy::_duplicate (ClientProtocolPolicy_ptr obj)
00804 {
00805   if (! ::CORBA::is_nil (obj))
00806     {
00807       obj->_add_ref ();
00808     }
00809 
00810   return obj;
00811 }
00812 
00813 void
00814 RTCORBA::ClientProtocolPolicy::_tao_release (ClientProtocolPolicy_ptr obj)
00815 {
00816   ::CORBA::release (obj);
00817 }
00818 
00819 CORBA::Boolean
00820 RTCORBA::ClientProtocolPolicy::_is_a (
00821     const char *value
00822     ACE_ENV_ARG_DECL_NOT_USED
00823   )
00824 {
00825   if (
00826       !ACE_OS::strcmp (
00827           value,
00828           "IDL:omg.org/CORBA/Policy:1.0"
00829         ) ||
00830       !ACE_OS::strcmp (
00831           value,
00832           "IDL:omg.org/RTCORBA/ClientProtocolPolicy:1.0"
00833         ) ||
00834       !ACE_OS::strcmp (
00835           value,
00836           "IDL:omg.org/CORBA/LocalObject:1.0"
00837         ) ||
00838       !ACE_OS::strcmp (
00839           value,
00840           "IDL:omg.org/CORBA/Object:1.0"
00841         )
00842     )
00843     {
00844       return true; // success using local knowledge
00845     }
00846   else
00847     {
00848       return false;
00849     }
00850 }
00851 
00852 const char* RTCORBA::ClientProtocolPolicy::_interface_repository_id (void) const
00853 {
00854   return "IDL:omg.org/RTCORBA/ClientProtocolPolicy:1.0";
00855 }
00856 
00857 CORBA::Boolean
00858 RTCORBA::ClientProtocolPolicy::marshal (TAO_OutputCDR &)
00859 {
00860   return false;
00861 }
00862 
00863 // TAO_IDL - Generated from
00864 // be\be_visitor_interface/interface_cs.cpp:60
00865 
00866 // Traits specializations for RTCORBA::PrivateConnectionPolicy.
00867 
00868 RTCORBA::PrivateConnectionPolicy_ptr
00869 TAO::Objref_Traits<RTCORBA::PrivateConnectionPolicy>::duplicate (
00870     RTCORBA::PrivateConnectionPolicy_ptr p
00871   )
00872 {
00873   return RTCORBA::PrivateConnectionPolicy::_duplicate (p);
00874 }
00875 
00876 void
00877 TAO::Objref_Traits<RTCORBA::PrivateConnectionPolicy>::release (
00878     RTCORBA::PrivateConnectionPolicy_ptr p
00879   )
00880 {
00881   ::CORBA::release (p);
00882 }
00883 
00884 RTCORBA::PrivateConnectionPolicy_ptr
00885 TAO::Objref_Traits<RTCORBA::PrivateConnectionPolicy>::nil (void)
00886 {
00887   return RTCORBA::PrivateConnectionPolicy::_nil ();
00888 }
00889 
00890 CORBA::Boolean
00891 TAO::Objref_Traits<RTCORBA::PrivateConnectionPolicy>::marshal (
00892     RTCORBA::PrivateConnectionPolicy_ptr p,
00893     TAO_OutputCDR & cdr
00894   )
00895 {
00896   return CORBA::Object::marshal (p, cdr);
00897 }
00898 
00899 RTCORBA::PrivateConnectionPolicy::PrivateConnectionPolicy (void)
00900 {}
00901 
00902 RTCORBA::PrivateConnectionPolicy::~PrivateConnectionPolicy (void)
00903 {}
00904 
00905 void
00906 RTCORBA::PrivateConnectionPolicy::_tao_any_destructor (void *_tao_void_pointer)
00907 {
00908   PrivateConnectionPolicy *_tao_tmp_pointer =
00909     static_cast<PrivateConnectionPolicy *> (_tao_void_pointer);
00910   ::CORBA::release (_tao_tmp_pointer);
00911 }
00912 
00913 RTCORBA::PrivateConnectionPolicy_ptr
00914 RTCORBA::PrivateConnectionPolicy::_narrow (
00915     CORBA::Object_ptr _tao_objref
00916     ACE_ENV_ARG_DECL_NOT_USED
00917   )
00918 {
00919   return PrivateConnectionPolicy::_duplicate (
00920       dynamic_cast<PrivateConnectionPolicy_ptr> (_tao_objref)
00921     );
00922 }
00923 
00924 RTCORBA::PrivateConnectionPolicy_ptr
00925 RTCORBA::PrivateConnectionPolicy::_unchecked_narrow (
00926     CORBA::Object_ptr _tao_objref
00927     ACE_ENV_ARG_DECL_NOT_USED
00928   )
00929 {
00930   return PrivateConnectionPolicy::_duplicate (
00931       dynamic_cast<PrivateConnectionPolicy_ptr> (_tao_objref)
00932     );
00933 }
00934 
00935 RTCORBA::PrivateConnectionPolicy_ptr
00936 RTCORBA::PrivateConnectionPolicy::_duplicate (PrivateConnectionPolicy_ptr obj)
00937 {
00938   if (! ::CORBA::is_nil (obj))
00939     {
00940       obj->_add_ref ();
00941     }
00942 
00943   return obj;
00944 }
00945 
00946 void
00947 RTCORBA::PrivateConnectionPolicy::_tao_release (PrivateConnectionPolicy_ptr obj)
00948 {
00949   ::CORBA::release (obj);
00950 }
00951 
00952 CORBA::Boolean
00953 RTCORBA::PrivateConnectionPolicy::_is_a (
00954     const char *value
00955     ACE_ENV_ARG_DECL_NOT_USED
00956   )
00957 {
00958   if (
00959       !ACE_OS::strcmp (
00960           value,
00961           "IDL:omg.org/CORBA/Policy:1.0"
00962         ) ||
00963       !ACE_OS::strcmp (
00964           value,
00965           "IDL:omg.org/RTCORBA/PrivateConnectionPolicy:1.0"
00966         ) ||
00967       !ACE_OS::strcmp (
00968           value,
00969           "IDL:omg.org/CORBA/LocalObject:1.0"
00970         ) ||
00971       !ACE_OS::strcmp (
00972           value,
00973           "IDL:omg.org/CORBA/Object:1.0"
00974         )
00975     )
00976     {
00977       return true; // success using local knowledge
00978     }
00979   else
00980     {
00981       return false;
00982     }
00983 }
00984 
00985 const char* RTCORBA::PrivateConnectionPolicy::_interface_repository_id (void) const
00986 {
00987   return "IDL:omg.org/RTCORBA/PrivateConnectionPolicy:1.0";
00988 }
00989 
00990 CORBA::Boolean
00991 RTCORBA::PrivateConnectionPolicy::marshal (TAO_OutputCDR &)
00992 {
00993   return false;
00994 }
00995 
00996 // TAO_IDL - Generated from
00997 // be\be_visitor_interface/interface_cs.cpp:60
00998 
00999 // Traits specializations for RTCORBA::TCPProtocolProperties.
01000 
01001 RTCORBA::TCPProtocolProperties_ptr
01002 TAO::Objref_Traits<RTCORBA::TCPProtocolProperties>::duplicate (
01003     RTCORBA::TCPProtocolProperties_ptr p
01004   )
01005 {
01006   return RTCORBA::TCPProtocolProperties::_duplicate (p);
01007 }
01008 
01009 void
01010 TAO::Objref_Traits<RTCORBA::TCPProtocolProperties>::release (
01011     RTCORBA::TCPProtocolProperties_ptr p
01012   )
01013 {
01014   ::CORBA::release (p);
01015 }
01016 
01017 RTCORBA::TCPProtocolProperties_ptr
01018 TAO::Objref_Traits<RTCORBA::TCPProtocolProperties>::nil (void)
01019 {
01020   return RTCORBA::TCPProtocolProperties::_nil ();
01021 }
01022 
01023 CORBA::Boolean
01024 TAO::Objref_Traits<RTCORBA::TCPProtocolProperties>::marshal (
01025     RTCORBA::TCPProtocolProperties_ptr p,
01026     TAO_OutputCDR & cdr
01027   )
01028 {
01029   return CORBA::Object::marshal (p, cdr);
01030 }
01031 
01032 RTCORBA::TCPProtocolProperties::TCPProtocolProperties (void)
01033 {}
01034 
01035 RTCORBA::TCPProtocolProperties::~TCPProtocolProperties (void)
01036 {}
01037 
01038 void
01039 RTCORBA::TCPProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01040 {
01041   TCPProtocolProperties *_tao_tmp_pointer =
01042     static_cast<TCPProtocolProperties *> (_tao_void_pointer);
01043   ::CORBA::release (_tao_tmp_pointer);
01044 }
01045 
01046 RTCORBA::TCPProtocolProperties_ptr
01047 RTCORBA::TCPProtocolProperties::_narrow (
01048     CORBA::Object_ptr _tao_objref
01049     ACE_ENV_ARG_DECL_NOT_USED
01050   )
01051 {
01052   return TCPProtocolProperties::_duplicate (
01053       dynamic_cast<TCPProtocolProperties_ptr> (_tao_objref)
01054     );
01055 }
01056 
01057 RTCORBA::TCPProtocolProperties_ptr
01058 RTCORBA::TCPProtocolProperties::_unchecked_narrow (
01059     CORBA::Object_ptr _tao_objref
01060     ACE_ENV_ARG_DECL_NOT_USED
01061   )
01062 {
01063   return TCPProtocolProperties::_duplicate (
01064       dynamic_cast<TCPProtocolProperties_ptr> (_tao_objref)
01065     );
01066 }
01067 
01068 RTCORBA::TCPProtocolProperties_ptr
01069 RTCORBA::TCPProtocolProperties::_duplicate (TCPProtocolProperties_ptr obj)
01070 {
01071   if (! ::CORBA::is_nil (obj))
01072     {
01073       obj->_add_ref ();
01074     }
01075 
01076   return obj;
01077 }
01078 
01079 void
01080 RTCORBA::TCPProtocolProperties::_tao_release (TCPProtocolProperties_ptr obj)
01081 {
01082   ::CORBA::release (obj);
01083 }
01084 
01085 CORBA::Boolean
01086 RTCORBA::TCPProtocolProperties::_is_a (
01087     const char *value
01088     ACE_ENV_ARG_DECL_NOT_USED
01089   )
01090 {
01091   if (
01092       !ACE_OS::strcmp (
01093           value,
01094           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01095         ) ||
01096       !ACE_OS::strcmp (
01097           value,
01098           "IDL:omg.org/RTCORBA/TCPProtocolProperties:1.0"
01099         ) ||
01100       !ACE_OS::strcmp (
01101           value,
01102           "IDL:omg.org/CORBA/LocalObject:1.0"
01103         ) ||
01104       !ACE_OS::strcmp (
01105           value,
01106           "IDL:omg.org/CORBA/Object:1.0"
01107         )
01108     )
01109     {
01110       return true; // success using local knowledge
01111     }
01112   else
01113     {
01114       return false;
01115     }
01116 }
01117 
01118 const char* RTCORBA::TCPProtocolProperties::_interface_repository_id (void) const
01119 {
01120   return "IDL:omg.org/RTCORBA/TCPProtocolProperties:1.0";
01121 }
01122 
01123 CORBA::Boolean
01124 RTCORBA::TCPProtocolProperties::marshal (TAO_OutputCDR &)
01125 {
01126   return false;
01127 }
01128 
01129 // TAO_IDL - Generated from
01130 // be\be_visitor_interface/interface_cs.cpp:60
01131 
01132 // Traits specializations for RTCORBA::GIOPProtocolProperties.
01133 
01134 RTCORBA::GIOPProtocolProperties_ptr
01135 TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::duplicate (
01136     RTCORBA::GIOPProtocolProperties_ptr p
01137   )
01138 {
01139   return RTCORBA::GIOPProtocolProperties::_duplicate (p);
01140 }
01141 
01142 void
01143 TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::release (
01144     RTCORBA::GIOPProtocolProperties_ptr p
01145   )
01146 {
01147   ::CORBA::release (p);
01148 }
01149 
01150 RTCORBA::GIOPProtocolProperties_ptr
01151 TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::nil (void)
01152 {
01153   return RTCORBA::GIOPProtocolProperties::_nil ();
01154 }
01155 
01156 CORBA::Boolean
01157 TAO::Objref_Traits<RTCORBA::GIOPProtocolProperties>::marshal (
01158     RTCORBA::GIOPProtocolProperties_ptr p,
01159     TAO_OutputCDR & cdr
01160   )
01161 {
01162   return CORBA::Object::marshal (p, cdr);
01163 }
01164 
01165 RTCORBA::GIOPProtocolProperties::GIOPProtocolProperties (void)
01166 {}
01167 
01168 RTCORBA::GIOPProtocolProperties::~GIOPProtocolProperties (void)
01169 {}
01170 
01171 void
01172 RTCORBA::GIOPProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01173 {
01174   GIOPProtocolProperties *_tao_tmp_pointer =
01175     static_cast<GIOPProtocolProperties *> (_tao_void_pointer);
01176   ::CORBA::release (_tao_tmp_pointer);
01177 }
01178 
01179 RTCORBA::GIOPProtocolProperties_ptr
01180 RTCORBA::GIOPProtocolProperties::_narrow (
01181     CORBA::Object_ptr _tao_objref
01182     ACE_ENV_ARG_DECL_NOT_USED
01183   )
01184 {
01185   return GIOPProtocolProperties::_duplicate (
01186       dynamic_cast<GIOPProtocolProperties_ptr> (_tao_objref)
01187     );
01188 }
01189 
01190 RTCORBA::GIOPProtocolProperties_ptr
01191 RTCORBA::GIOPProtocolProperties::_unchecked_narrow (
01192     CORBA::Object_ptr _tao_objref
01193     ACE_ENV_ARG_DECL_NOT_USED
01194   )
01195 {
01196   return GIOPProtocolProperties::_duplicate (
01197       dynamic_cast<GIOPProtocolProperties_ptr> (_tao_objref)
01198     );
01199 }
01200 
01201 RTCORBA::GIOPProtocolProperties_ptr
01202 RTCORBA::GIOPProtocolProperties::_duplicate (GIOPProtocolProperties_ptr obj)
01203 {
01204   if (! ::CORBA::is_nil (obj))
01205     {
01206       obj->_add_ref ();
01207     }
01208 
01209   return obj;
01210 }
01211 
01212 void
01213 RTCORBA::GIOPProtocolProperties::_tao_release (GIOPProtocolProperties_ptr obj)
01214 {
01215   ::CORBA::release (obj);
01216 }
01217 
01218 CORBA::Boolean
01219 RTCORBA::GIOPProtocolProperties::_is_a (
01220     const char *value
01221     ACE_ENV_ARG_DECL_NOT_USED
01222   )
01223 {
01224   if (
01225       !ACE_OS::strcmp (
01226           value,
01227           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01228         ) ||
01229       !ACE_OS::strcmp (
01230           value,
01231           "IDL:omg.org/RTCORBA/GIOPProtocolProperties:1.0"
01232         ) ||
01233       !ACE_OS::strcmp (
01234           value,
01235           "IDL:omg.org/CORBA/LocalObject:1.0"
01236         ) ||
01237       !ACE_OS::strcmp (
01238           value,
01239           "IDL:omg.org/CORBA/Object:1.0"
01240         )
01241     )
01242     {
01243       return true; // success using local knowledge
01244     }
01245   else
01246     {
01247       return false;
01248     }
01249 }
01250 
01251 const char* RTCORBA::GIOPProtocolProperties::_interface_repository_id (void) const
01252 {
01253   return "IDL:omg.org/RTCORBA/GIOPProtocolProperties:1.0";
01254 }
01255 
01256 CORBA::Boolean
01257 RTCORBA::GIOPProtocolProperties::marshal (TAO_OutputCDR &)
01258 {
01259   return false;
01260 }
01261 
01262 // TAO_IDL - Generated from
01263 // be\be_visitor_interface/interface_cs.cpp:60
01264 
01265 // Traits specializations for RTCORBA::UnixDomainProtocolProperties.
01266 
01267 RTCORBA::UnixDomainProtocolProperties_ptr
01268 TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::duplicate (
01269     RTCORBA::UnixDomainProtocolProperties_ptr p
01270   )
01271 {
01272   return RTCORBA::UnixDomainProtocolProperties::_duplicate (p);
01273 }
01274 
01275 void
01276 TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::release (
01277     RTCORBA::UnixDomainProtocolProperties_ptr p
01278   )
01279 {
01280   ::CORBA::release (p);
01281 }
01282 
01283 RTCORBA::UnixDomainProtocolProperties_ptr
01284 TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::nil (void)
01285 {
01286   return RTCORBA::UnixDomainProtocolProperties::_nil ();
01287 }
01288 
01289 CORBA::Boolean
01290 TAO::Objref_Traits<RTCORBA::UnixDomainProtocolProperties>::marshal (
01291     RTCORBA::UnixDomainProtocolProperties_ptr p,
01292     TAO_OutputCDR & cdr
01293   )
01294 {
01295   return CORBA::Object::marshal (p, cdr);
01296 }
01297 
01298 RTCORBA::UnixDomainProtocolProperties::UnixDomainProtocolProperties (void)
01299 {}
01300 
01301 RTCORBA::UnixDomainProtocolProperties::~UnixDomainProtocolProperties (void)
01302 {}
01303 
01304 void
01305 RTCORBA::UnixDomainProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01306 {
01307   UnixDomainProtocolProperties *_tao_tmp_pointer =
01308     static_cast<UnixDomainProtocolProperties *> (_tao_void_pointer);
01309   ::CORBA::release (_tao_tmp_pointer);
01310 }
01311 
01312 RTCORBA::UnixDomainProtocolProperties_ptr
01313 RTCORBA::UnixDomainProtocolProperties::_narrow (
01314     CORBA::Object_ptr _tao_objref
01315     ACE_ENV_ARG_DECL_NOT_USED
01316   )
01317 {
01318   return UnixDomainProtocolProperties::_duplicate (
01319       dynamic_cast<UnixDomainProtocolProperties_ptr> (_tao_objref)
01320     );
01321 }
01322 
01323 RTCORBA::UnixDomainProtocolProperties_ptr
01324 RTCORBA::UnixDomainProtocolProperties::_unchecked_narrow (
01325     CORBA::Object_ptr _tao_objref
01326     ACE_ENV_ARG_DECL_NOT_USED
01327   )
01328 {
01329   return UnixDomainProtocolProperties::_duplicate (
01330       dynamic_cast<UnixDomainProtocolProperties_ptr> (_tao_objref)
01331     );
01332 }
01333 
01334 RTCORBA::UnixDomainProtocolProperties_ptr
01335 RTCORBA::UnixDomainProtocolProperties::_duplicate (UnixDomainProtocolProperties_ptr obj)
01336 {
01337   if (! ::CORBA::is_nil (obj))
01338     {
01339       obj->_add_ref ();
01340     }
01341 
01342   return obj;
01343 }
01344 
01345 void
01346 RTCORBA::UnixDomainProtocolProperties::_tao_release (UnixDomainProtocolProperties_ptr obj)
01347 {
01348   ::CORBA::release (obj);
01349 }
01350 
01351 CORBA::Boolean
01352 RTCORBA::UnixDomainProtocolProperties::_is_a (
01353     const char *value
01354     ACE_ENV_ARG_DECL_NOT_USED
01355   )
01356 {
01357   if (
01358       !ACE_OS::strcmp (
01359           value,
01360           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01361         ) ||
01362       !ACE_OS::strcmp (
01363           value,
01364           "IDL:omg.org/RTCORBA/UnixDomainProtocolProperties:1.0"
01365         ) ||
01366       !ACE_OS::strcmp (
01367           value,
01368           "IDL:omg.org/CORBA/LocalObject:1.0"
01369         ) ||
01370       !ACE_OS::strcmp (
01371           value,
01372           "IDL:omg.org/CORBA/Object:1.0"
01373         )
01374     )
01375     {
01376       return true; // success using local knowledge
01377     }
01378   else
01379     {
01380       return false;
01381     }
01382 }
01383 
01384 const char* RTCORBA::UnixDomainProtocolProperties::_interface_repository_id (void) const
01385 {
01386   return "IDL:omg.org/RTCORBA/UnixDomainProtocolProperties:1.0";
01387 }
01388 
01389 CORBA::Boolean
01390 RTCORBA::UnixDomainProtocolProperties::marshal (TAO_OutputCDR &)
01391 {
01392   return false;
01393 }
01394 
01395 // TAO_IDL - Generated from
01396 // be\be_visitor_interface/interface_cs.cpp:60
01397 
01398 // Traits specializations for RTCORBA::SharedMemoryProtocolProperties.
01399 
01400 RTCORBA::SharedMemoryProtocolProperties_ptr
01401 TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::duplicate (
01402     RTCORBA::SharedMemoryProtocolProperties_ptr p
01403   )
01404 {
01405   return RTCORBA::SharedMemoryProtocolProperties::_duplicate (p);
01406 }
01407 
01408 void
01409 TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::release (
01410     RTCORBA::SharedMemoryProtocolProperties_ptr p
01411   )
01412 {
01413   ::CORBA::release (p);
01414 }
01415 
01416 RTCORBA::SharedMemoryProtocolProperties_ptr
01417 TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::nil (void)
01418 {
01419   return RTCORBA::SharedMemoryProtocolProperties::_nil ();
01420 }
01421 
01422 CORBA::Boolean
01423 TAO::Objref_Traits<RTCORBA::SharedMemoryProtocolProperties>::marshal (
01424     RTCORBA::SharedMemoryProtocolProperties_ptr p,
01425     TAO_OutputCDR & cdr
01426   )
01427 {
01428   return CORBA::Object::marshal (p, cdr);
01429 }
01430 
01431 RTCORBA::SharedMemoryProtocolProperties::SharedMemoryProtocolProperties (void)
01432 {}
01433 
01434 RTCORBA::SharedMemoryProtocolProperties::~SharedMemoryProtocolProperties (void)
01435 {}
01436 
01437 void
01438 RTCORBA::SharedMemoryProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01439 {
01440   SharedMemoryProtocolProperties *_tao_tmp_pointer =
01441     static_cast<SharedMemoryProtocolProperties *> (_tao_void_pointer);
01442   ::CORBA::release (_tao_tmp_pointer);
01443 }
01444 
01445 RTCORBA::SharedMemoryProtocolProperties_ptr
01446 RTCORBA::SharedMemoryProtocolProperties::_narrow (
01447     CORBA::Object_ptr _tao_objref
01448     ACE_ENV_ARG_DECL_NOT_USED
01449   )
01450 {
01451   return SharedMemoryProtocolProperties::_duplicate (
01452       dynamic_cast<SharedMemoryProtocolProperties_ptr> (_tao_objref)
01453     );
01454 }
01455 
01456 RTCORBA::SharedMemoryProtocolProperties_ptr
01457 RTCORBA::SharedMemoryProtocolProperties::_unchecked_narrow (
01458     CORBA::Object_ptr _tao_objref
01459     ACE_ENV_ARG_DECL_NOT_USED
01460   )
01461 {
01462   return SharedMemoryProtocolProperties::_duplicate (
01463       dynamic_cast<SharedMemoryProtocolProperties_ptr> (_tao_objref)
01464     );
01465 }
01466 
01467 RTCORBA::SharedMemoryProtocolProperties_ptr
01468 RTCORBA::SharedMemoryProtocolProperties::_duplicate (SharedMemoryProtocolProperties_ptr obj)
01469 {
01470   if (! ::CORBA::is_nil (obj))
01471     {
01472       obj->_add_ref ();
01473     }
01474 
01475   return obj;
01476 }
01477 
01478 void
01479 RTCORBA::SharedMemoryProtocolProperties::_tao_release (SharedMemoryProtocolProperties_ptr obj)
01480 {
01481   ::CORBA::release (obj);
01482 }
01483 
01484 CORBA::Boolean
01485 RTCORBA::SharedMemoryProtocolProperties::_is_a (
01486     const char *value
01487     ACE_ENV_ARG_DECL_NOT_USED
01488   )
01489 {
01490   if (
01491       !ACE_OS::strcmp (
01492           value,
01493           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01494         ) ||
01495       !ACE_OS::strcmp (
01496           value,
01497           "IDL:omg.org/RTCORBA/SharedMemoryProtocolProperties:1.0"
01498         ) ||
01499       !ACE_OS::strcmp (
01500           value,
01501           "IDL:omg.org/CORBA/LocalObject:1.0"
01502         ) ||
01503       !ACE_OS::strcmp (
01504           value,
01505           "IDL:omg.org/CORBA/Object:1.0"
01506         )
01507     )
01508     {
01509       return true; // success using local knowledge
01510     }
01511   else
01512     {
01513       return false;
01514     }
01515 }
01516 
01517 const char* RTCORBA::SharedMemoryProtocolProperties::_interface_repository_id (void) const
01518 {
01519   return "IDL:omg.org/RTCORBA/SharedMemoryProtocolProperties:1.0";
01520 }
01521 
01522 CORBA::Boolean
01523 RTCORBA::SharedMemoryProtocolProperties::marshal (TAO_OutputCDR &)
01524 {
01525   return false;
01526 }
01527 
01528 // TAO_IDL - Generated from
01529 // be\be_visitor_interface/interface_cs.cpp:60
01530 
01531 // Traits specializations for RTCORBA::UserDatagramProtocolProperties.
01532 
01533 RTCORBA::UserDatagramProtocolProperties_ptr
01534 TAO::Objref_Traits<RTCORBA::UserDatagramProtocolProperties>::duplicate (
01535     RTCORBA::UserDatagramProtocolProperties_ptr p
01536   )
01537 {
01538   return RTCORBA::UserDatagramProtocolProperties::_duplicate (p);
01539 }
01540 
01541 void
01542 TAO::Objref_Traits<RTCORBA::UserDatagramProtocolProperties>::release (
01543     RTCORBA::UserDatagramProtocolProperties_ptr p
01544   )
01545 {
01546   ::CORBA::release (p);
01547 }
01548 
01549 RTCORBA::UserDatagramProtocolProperties_ptr
01550 TAO::Objref_Traits<RTCORBA::UserDatagramProtocolProperties>::nil (void)
01551 {
01552   return RTCORBA::UserDatagramProtocolProperties::_nil ();
01553 }
01554 
01555 CORBA::Boolean
01556 TAO::Objref_Traits<RTCORBA::UserDatagramProtocolProperties>::marshal (
01557     RTCORBA::UserDatagramProtocolProperties_ptr p,
01558     TAO_OutputCDR & cdr
01559   )
01560 {
01561   return CORBA::Object::marshal (p, cdr);
01562 }
01563 
01564 RTCORBA::UserDatagramProtocolProperties::UserDatagramProtocolProperties (void)
01565 {}
01566 
01567 RTCORBA::UserDatagramProtocolProperties::~UserDatagramProtocolProperties (void)
01568 {}
01569 
01570 void
01571 RTCORBA::UserDatagramProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01572 {
01573   UserDatagramProtocolProperties *_tao_tmp_pointer =
01574     static_cast<UserDatagramProtocolProperties *> (_tao_void_pointer);
01575   ::CORBA::release (_tao_tmp_pointer);
01576 }
01577 
01578 RTCORBA::UserDatagramProtocolProperties_ptr
01579 RTCORBA::UserDatagramProtocolProperties::_narrow (
01580     CORBA::Object_ptr _tao_objref
01581     ACE_ENV_ARG_DECL_NOT_USED
01582   )
01583 {
01584   return UserDatagramProtocolProperties::_duplicate (
01585       dynamic_cast<UserDatagramProtocolProperties_ptr> (_tao_objref)
01586     );
01587 }
01588 
01589 RTCORBA::UserDatagramProtocolProperties_ptr
01590 RTCORBA::UserDatagramProtocolProperties::_unchecked_narrow (
01591     CORBA::Object_ptr _tao_objref
01592     ACE_ENV_ARG_DECL_NOT_USED
01593   )
01594 {
01595   return UserDatagramProtocolProperties::_duplicate (
01596       dynamic_cast<UserDatagramProtocolProperties_ptr> (_tao_objref)
01597     );
01598 }
01599 
01600 RTCORBA::UserDatagramProtocolProperties_ptr
01601 RTCORBA::UserDatagramProtocolProperties::_duplicate (UserDatagramProtocolProperties_ptr obj)
01602 {
01603   if (! ::CORBA::is_nil (obj))
01604     {
01605       obj->_add_ref ();
01606     }
01607 
01608   return obj;
01609 }
01610 
01611 void
01612 RTCORBA::UserDatagramProtocolProperties::_tao_release (UserDatagramProtocolProperties_ptr obj)
01613 {
01614   ::CORBA::release (obj);
01615 }
01616 
01617 CORBA::Boolean
01618 RTCORBA::UserDatagramProtocolProperties::_is_a (
01619     const char *value
01620     ACE_ENV_ARG_DECL_NOT_USED
01621   )
01622 {
01623   if (
01624       !ACE_OS::strcmp (
01625           value,
01626           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01627         ) ||
01628       !ACE_OS::strcmp (
01629           value,
01630           "IDL:omg.org/RTCORBA/UserDatagramProtocolProperties:1.0"
01631         ) ||
01632       !ACE_OS::strcmp (
01633           value,
01634           "IDL:omg.org/CORBA/LocalObject:1.0"
01635         ) ||
01636       !ACE_OS::strcmp (
01637           value,
01638           "IDL:omg.org/CORBA/Object:1.0"
01639         )
01640     )
01641     {
01642       return true; // success using local knowledge
01643     }
01644   else
01645     {
01646       return false;
01647     }
01648 }
01649 
01650 const char* RTCORBA::UserDatagramProtocolProperties::_interface_repository_id (void) const
01651 {
01652   return "IDL:omg.org/RTCORBA/UserDatagramProtocolProperties:1.0";
01653 }
01654 
01655 CORBA::Boolean
01656 RTCORBA::UserDatagramProtocolProperties::marshal (TAO_OutputCDR &)
01657 {
01658   return false;
01659 }
01660 
01661 // TAO_IDL - Generated from
01662 // be\be_visitor_interface/interface_cs.cpp:60
01663 
01664 // Traits specializations for RTCORBA::StreamControlProtocolProperties.
01665 
01666 RTCORBA::StreamControlProtocolProperties_ptr
01667 TAO::Objref_Traits<RTCORBA::StreamControlProtocolProperties>::duplicate (
01668     RTCORBA::StreamControlProtocolProperties_ptr p
01669   )
01670 {
01671   return RTCORBA::StreamControlProtocolProperties::_duplicate (p);
01672 }
01673 
01674 void
01675 TAO::Objref_Traits<RTCORBA::StreamControlProtocolProperties>::release (
01676     RTCORBA::StreamControlProtocolProperties_ptr p
01677   )
01678 {
01679   ::CORBA::release (p);
01680 }
01681 
01682 RTCORBA::StreamControlProtocolProperties_ptr
01683 TAO::Objref_Traits<RTCORBA::StreamControlProtocolProperties>::nil (void)
01684 {
01685   return RTCORBA::StreamControlProtocolProperties::_nil ();
01686 }
01687 
01688 CORBA::Boolean
01689 TAO::Objref_Traits<RTCORBA::StreamControlProtocolProperties>::marshal (
01690     RTCORBA::StreamControlProtocolProperties_ptr p,
01691     TAO_OutputCDR & cdr
01692   )
01693 {
01694   return CORBA::Object::marshal (p, cdr);
01695 }
01696 
01697 RTCORBA::StreamControlProtocolProperties::StreamControlProtocolProperties (void)
01698 {}
01699 
01700 RTCORBA::StreamControlProtocolProperties::~StreamControlProtocolProperties (void)
01701 {}
01702 
01703 void
01704 RTCORBA::StreamControlProtocolProperties::_tao_any_destructor (void *_tao_void_pointer)
01705 {
01706   StreamControlProtocolProperties *_tao_tmp_pointer =
01707     static_cast<StreamControlProtocolProperties *> (_tao_void_pointer);
01708   ::CORBA::release (_tao_tmp_pointer);
01709 }
01710 
01711 RTCORBA::StreamControlProtocolProperties_ptr
01712 RTCORBA::StreamControlProtocolProperties::_narrow (
01713     CORBA::Object_ptr _tao_objref
01714     ACE_ENV_ARG_DECL_NOT_USED
01715   )
01716 {
01717   return StreamControlProtocolProperties::_duplicate (
01718       dynamic_cast<StreamControlProtocolProperties_ptr> (_tao_objref)
01719     );
01720 }
01721 
01722 RTCORBA::StreamControlProtocolProperties_ptr
01723 RTCORBA::StreamControlProtocolProperties::_unchecked_narrow (
01724     CORBA::Object_ptr _tao_objref
01725     ACE_ENV_ARG_DECL_NOT_USED
01726   )
01727 {
01728   return StreamControlProtocolProperties::_duplicate (
01729       dynamic_cast<StreamControlProtocolProperties_ptr> (_tao_objref)
01730     );
01731 }
01732 
01733 RTCORBA::StreamControlProtocolProperties_ptr
01734 RTCORBA::StreamControlProtocolProperties::_duplicate (StreamControlProtocolProperties_ptr obj)
01735 {
01736   if (! ::CORBA::is_nil (obj))
01737     {
01738       obj->_add_ref ();
01739     }
01740 
01741   return obj;
01742 }
01743 
01744 void
01745 RTCORBA::StreamControlProtocolProperties::_tao_release (StreamControlProtocolProperties_ptr obj)
01746 {
01747   ::CORBA::release (obj);
01748 }
01749 
01750 CORBA::Boolean
01751 RTCORBA::StreamControlProtocolProperties::_is_a (
01752     const char *value
01753     ACE_ENV_ARG_DECL_NOT_USED
01754   )
01755 {
01756   if (
01757       !ACE_OS::strcmp (
01758           value,
01759           "IDL:omg.org/RTCORBA/ProtocolProperties:1.0"
01760         ) ||
01761       !ACE_OS::strcmp (
01762           value,
01763           "IDL:omg.org/RTCORBA/StreamControlProtocolProperties:1.0"
01764         ) ||
01765       !ACE_OS::strcmp (
01766           value,
01767           "IDL:omg.org/CORBA/LocalObject:1.0"
01768         ) ||
01769       !ACE_OS::strcmp (
01770           value,
01771           "IDL:omg.org/CORBA/Object:1.0"
01772         )
01773     )
01774     {
01775       return true; // success using local knowledge
01776     }
01777   else
01778     {
01779       return false;
01780     }
01781 }
01782 
01783 const char* RTCORBA::StreamControlProtocolProperties::_interface_repository_id (void) const
01784 {
01785   return "IDL:omg.org/RTCORBA/StreamControlProtocolProperties:1.0";
01786 }
01787 
01788 CORBA::Boolean
01789 RTCORBA::StreamControlProtocolProperties::marshal (TAO_OutputCDR &)
01790 {
01791   return false;
01792 }
01793 
01794 // TAO_IDL - Generated from
01795 // be\be_visitor_structure/structure_cs.cpp:66
01796 
01797 void
01798 RTCORBA::PriorityBand::_tao_any_destructor (
01799     void *_tao_void_pointer
01800   )
01801 {
01802   PriorityBand *_tao_tmp_pointer =
01803     static_cast<PriorityBand *> (_tao_void_pointer);
01804   delete _tao_tmp_pointer;
01805 }
01806 
01807 // TAO_IDL - Generated from
01808 // be\be_visitor_sequence/sequence_cs.cpp:65
01809 
01810 #if !defined (_RTCORBA_PRIORITYBANDS_CS_)
01811 #define _RTCORBA_PRIORITYBANDS_CS_
01812 
01813 RTCORBA::PriorityBands::PriorityBands (void)
01814 {}
01815 
01816 RTCORBA::PriorityBands::PriorityBands (
01817     CORBA::ULong max
01818   )
01819   : TAO::unbounded_value_sequence<
01820         RTCORBA::PriorityBand
01821       >
01822     (max)
01823 {}
01824 
01825 RTCORBA::PriorityBands::PriorityBands (
01826     CORBA::ULong max,
01827     CORBA::ULong length,
01828     RTCORBA::PriorityBand * buffer,
01829     CORBA::Boolean release
01830   )
01831   : TAO::unbounded_value_sequence<
01832         RTCORBA::PriorityBand
01833       >
01834     (max, length, buffer, release)
01835 {}
01836 
01837 RTCORBA::PriorityBands::PriorityBands (
01838     const PriorityBands &seq
01839   )
01840   : TAO::unbounded_value_sequence<
01841         RTCORBA::PriorityBand
01842       >
01843     (seq)
01844 {}
01845 
01846 RTCORBA::PriorityBands::~PriorityBands (void)
01847 {}
01848 
01849 void RTCORBA::PriorityBands::_tao_any_destructor (
01850     void * _tao_void_pointer
01851   )
01852 {
01853   PriorityBands * _tao_tmp_pointer =
01854     static_cast<PriorityBands *> (_tao_void_pointer);
01855   delete _tao_tmp_pointer;
01856 }
01857 
01858 #endif /* end #if !defined */
01859 
01860 // TAO_IDL - Generated from
01861 // be\be_visitor_interface/interface_cs.cpp:60
01862 
01863 // Traits specializations for RTCORBA::PriorityBandedConnectionPolicy.
01864 
01865 RTCORBA::PriorityBandedConnectionPolicy_ptr
01866 TAO::Objref_Traits<RTCORBA::PriorityBandedConnectionPolicy>::duplicate (
01867     RTCORBA::PriorityBandedConnectionPolicy_ptr p
01868   )
01869 {
01870   return RTCORBA::PriorityBandedConnectionPolicy::_duplicate (p);
01871 }
01872 
01873 void
01874 TAO::Objref_Traits<RTCORBA::PriorityBandedConnectionPolicy>::release (
01875     RTCORBA::PriorityBandedConnectionPolicy_ptr p
01876   )
01877 {
01878   ::CORBA::release (p);
01879 }
01880 
01881 RTCORBA::PriorityBandedConnectionPolicy_ptr
01882 TAO::Objref_Traits<RTCORBA::PriorityBandedConnectionPolicy>::nil (void)
01883 {
01884   return RTCORBA::PriorityBandedConnectionPolicy::_nil ();
01885 }
01886 
01887 CORBA::Boolean
01888 TAO::Objref_Traits<RTCORBA::PriorityBandedConnectionPolicy>::marshal (
01889     RTCORBA::PriorityBandedConnectionPolicy_ptr p,
01890     TAO_OutputCDR & cdr
01891   )
01892 {
01893   return CORBA::Object::marshal (p, cdr);
01894 }
01895 
01896 RTCORBA::PriorityBandedConnectionPolicy::PriorityBandedConnectionPolicy (void)
01897 {}
01898 
01899 RTCORBA::PriorityBandedConnectionPolicy::~PriorityBandedConnectionPolicy (void)
01900 {}
01901 
01902 void
01903 RTCORBA::PriorityBandedConnectionPolicy::_tao_any_destructor (void *_tao_void_pointer)
01904 {
01905   PriorityBandedConnectionPolicy *_tao_tmp_pointer =
01906     static_cast<PriorityBandedConnectionPolicy *> (_tao_void_pointer);
01907   ::CORBA::release (_tao_tmp_pointer);
01908 }
01909 
01910 RTCORBA::PriorityBandedConnectionPolicy_ptr
01911 RTCORBA::PriorityBandedConnectionPolicy::_narrow (
01912     CORBA::Object_ptr _tao_objref
01913     ACE_ENV_ARG_DECL_NOT_USED
01914   )
01915 {
01916   return PriorityBandedConnectionPolicy::_duplicate (
01917       dynamic_cast<PriorityBandedConnectionPolicy_ptr> (_tao_objref)
01918     );
01919 }
01920 
01921 RTCORBA::PriorityBandedConnectionPolicy_ptr
01922 RTCORBA::PriorityBandedConnectionPolicy::_unchecked_narrow (
01923     CORBA::Object_ptr _tao_objref
01924     ACE_ENV_ARG_DECL_NOT_USED
01925   )
01926 {
01927   return PriorityBandedConnectionPolicy::_duplicate (
01928       dynamic_cast<PriorityBandedConnectionPolicy_ptr> (_tao_objref)
01929     );
01930 }
01931 
01932 RTCORBA::PriorityBandedConnectionPolicy_ptr
01933 RTCORBA::PriorityBandedConnectionPolicy::_duplicate (PriorityBandedConnectionPolicy_ptr obj)
01934 {
01935   if (! ::CORBA::is_nil (obj))
01936     {
01937       obj->_add_ref ();
01938     }
01939 
01940   return obj;
01941 }
01942 
01943 void
01944 RTCORBA::PriorityBandedConnectionPolicy::_tao_release (PriorityBandedConnectionPolicy_ptr obj)
01945 {
01946   ::CORBA::release (obj);
01947 }
01948 
01949 CORBA::Boolean
01950 RTCORBA::PriorityBandedConnectionPolicy::_is_a (
01951     const char *value
01952     ACE_ENV_ARG_DECL_NOT_USED
01953   )
01954 {
01955   if (
01956       !ACE_OS::strcmp (
01957           value,
01958           "IDL:omg.org/CORBA/Policy:1.0"
01959         ) ||
01960       !ACE_OS::strcmp (
01961           value,
01962           "IDL:omg.org/RTCORBA/PriorityBandedConnectionPolicy:1.0"
01963         ) ||
01964       !ACE_OS::strcmp (
01965           value,
01966           "IDL:omg.org/CORBA/LocalObject:1.0"
01967         ) ||
01968       !ACE_OS::strcmp (
01969           value,
01970           "IDL:omg.org/CORBA/Object:1.0"
01971         )
01972     )
01973     {
01974       return true; // success using local knowledge
01975     }
01976   else
01977     {
01978       return false;
01979     }
01980 }
01981 
01982 const char* RTCORBA::PriorityBandedConnectionPolicy::_interface_repository_id (void) const
01983 {
01984   return "IDL:omg.org/RTCORBA/PriorityBandedConnectionPolicy:1.0";
01985 }
01986 
01987 CORBA::Boolean
01988 RTCORBA::PriorityBandedConnectionPolicy::marshal (TAO_OutputCDR &)
01989 {
01990   return false;
01991 }
01992 
01993 // TAO_IDL - Generated from
01994 // be\be_visitor_interface/interface_cs.cpp:60
01995 
01996 // Traits specializations for RTCORBA::Current.
01997 
01998 RTCORBA::Current_ptr
01999 TAO::Objref_Traits<RTCORBA::Current>::duplicate (
02000     RTCORBA::Current_ptr p
02001   )
02002 {
02003   return RTCORBA::Current::_duplicate (p);
02004 }
02005 
02006 void
02007 TAO::Objref_Traits<RTCORBA::Current>::release (
02008     RTCORBA::Current_ptr p
02009   )
02010 {
02011   ::CORBA::release (p);
02012 }
02013 
02014 RTCORBA::Current_ptr
02015 TAO::Objref_Traits<RTCORBA::Current>::nil (void)
02016 {
02017   return RTCORBA::Current::_nil ();
02018 }
02019 
02020 CORBA::Boolean
02021 TAO::Objref_Traits<RTCORBA::Current>::marshal (
02022     RTCORBA::Current_ptr p,
02023     TAO_OutputCDR & cdr
02024   )
02025 {
02026   return CORBA::Object::marshal (p, cdr);
02027 }
02028 
02029 RTCORBA::Current::Current (void)
02030 {}
02031 
02032 RTCORBA::Current::~Current (void)
02033 {}
02034 
02035 void
02036 RTCORBA::Current::_tao_any_destructor (void *_tao_void_pointer)
02037 {
02038   Current *_tao_tmp_pointer =
02039     static_cast<Current *> (_tao_void_pointer);
02040   ::CORBA::release (_tao_tmp_pointer);
02041 }
02042 
02043 RTCORBA::Current_ptr
02044 RTCORBA::Current::_narrow (
02045     CORBA::Object_ptr _tao_objref
02046     ACE_ENV_ARG_DECL_NOT_USED
02047   )
02048 {
02049   return Current::_duplicate (
02050       dynamic_cast<Current_ptr> (_tao_objref)
02051     );
02052 }
02053 
02054 RTCORBA::Current_ptr
02055 RTCORBA::Current::_unchecked_narrow (
02056     CORBA::Object_ptr _tao_objref
02057     ACE_ENV_ARG_DECL_NOT_USED
02058   )
02059 {
02060   return Current::_duplicate (
02061       dynamic_cast<Current_ptr> (_tao_objref)
02062     );
02063 }
02064 
02065 RTCORBA::Current_ptr
02066 RTCORBA::Current::_duplicate (Current_ptr obj)
02067 {
02068   if (! ::CORBA::is_nil (obj))
02069     {
02070       obj->_add_ref ();
02071     }
02072 
02073   return obj;
02074 }
02075 
02076 void
02077 RTCORBA::Current::_tao_release (Current_ptr obj)
02078 {
02079   ::CORBA::release (obj);
02080 }
02081 
02082 CORBA::Boolean
02083 RTCORBA::Current::_is_a (
02084     const char *value
02085     ACE_ENV_ARG_DECL_NOT_USED
02086   )
02087 {
02088   if (
02089       !ACE_OS::strcmp (
02090           value,
02091           "IDL:omg.org/CORBA/Current:1.0"
02092         ) ||
02093       !ACE_OS::strcmp (
02094           value,
02095           "IDL:omg.org/RTCORBA/Current:1.0"
02096         ) ||
02097       !ACE_OS::strcmp (
02098           value,
02099           "IDL:omg.org/CORBA/LocalObject:1.0"
02100         ) ||
02101       !ACE_OS::strcmp (
02102           value,
02103           "IDL:omg.org/CORBA/Object:1.0"
02104         )
02105     )
02106     {
02107       return true; // success using local knowledge
02108     }
02109   else
02110     {
02111       return false;
02112     }
02113 }
02114 
02115 const char* RTCORBA::Current::_interface_repository_id (void) const
02116 {
02117   return "IDL:omg.org/RTCORBA/Current:1.0";
02118 }
02119 
02120 CORBA::Boolean
02121 RTCORBA::Current::marshal (TAO_OutputCDR &)
02122 {
02123   return false;
02124 }
02125 
02126 // TAO_IDL - Generated from
02127 // be\be_visitor_interface/interface_cs.cpp:60
02128 
02129 // Traits specializations for RTCORBA::Mutex.
02130 
02131 RTCORBA::Mutex_ptr
02132 TAO::Objref_Traits<RTCORBA::Mutex>::duplicate (
02133     RTCORBA::Mutex_ptr p
02134   )
02135 {
02136   return RTCORBA::Mutex::_duplicate (p);
02137 }
02138 
02139 void
02140 TAO::Objref_Traits<RTCORBA::Mutex>::release (
02141     RTCORBA::Mutex_ptr p
02142   )
02143 {
02144   ::CORBA::release (p);
02145 }
02146 
02147 RTCORBA::Mutex_ptr
02148 TAO::Objref_Traits<RTCORBA::Mutex>::nil (void)
02149 {
02150   return RTCORBA::Mutex::_nil ();
02151 }
02152 
02153 CORBA::Boolean
02154 TAO::Objref_Traits<RTCORBA::Mutex>::marshal (
02155     RTCORBA::Mutex_ptr p,
02156     TAO_OutputCDR & cdr
02157   )
02158 {
02159   return CORBA::Object::marshal (p, cdr);
02160 }
02161 
02162 RTCORBA::Mutex::Mutex (void)
02163 {}
02164 
02165 RTCORBA::Mutex::~Mutex (void)
02166 {}
02167 
02168 void
02169 RTCORBA::Mutex::_tao_any_destructor (void *_tao_void_pointer)
02170 {
02171   Mutex *_tao_tmp_pointer =
02172     static_cast<Mutex *> (_tao_void_pointer);
02173   ::CORBA::release (_tao_tmp_pointer);
02174 }
02175 
02176 RTCORBA::Mutex_ptr
02177 RTCORBA::Mutex::_narrow (
02178     CORBA::Object_ptr _tao_objref
02179     ACE_ENV_ARG_DECL_NOT_USED
02180   )
02181 {
02182   return Mutex::_duplicate (
02183       dynamic_cast<Mutex_ptr> (_tao_objref)
02184     );
02185 }
02186 
02187 RTCORBA::Mutex_ptr
02188 RTCORBA::Mutex::_unchecked_narrow (
02189     CORBA::Object_ptr _tao_objref
02190     ACE_ENV_ARG_DECL_NOT_USED
02191   )
02192 {
02193   return Mutex::_duplicate (
02194       dynamic_cast<Mutex_ptr> (_tao_objref)
02195     );
02196 }
02197 
02198 RTCORBA::Mutex_ptr
02199 RTCORBA::Mutex::_duplicate (Mutex_ptr obj)
02200 {
02201   if (! ::CORBA::is_nil (obj))
02202     {
02203       obj->_add_ref ();
02204     }
02205 
02206   return obj;
02207 }
02208 
02209 void
02210 RTCORBA::Mutex::_tao_release (Mutex_ptr obj)
02211 {
02212   ::CORBA::release (obj);
02213 }
02214 
02215 CORBA::Boolean
02216 RTCORBA::Mutex::_is_a (
02217     const char *value
02218     ACE_ENV_ARG_DECL_NOT_USED
02219   )
02220 {
02221   if (
02222       !ACE_OS::strcmp (
02223           value,
02224           "IDL:omg.org/RTCORBA/Mutex:1.0"
02225         ) ||
02226       !ACE_OS::strcmp (
02227           value,
02228           "IDL:omg.org/CORBA/LocalObject:1.0"
02229         ) ||
02230       !ACE_OS::strcmp (
02231           value,
02232           "IDL:omg.org/CORBA/Object:1.0"
02233         )
02234     )
02235     {
02236       return true; // success using local knowledge
02237     }
02238   else
02239     {
02240       return false;
02241     }
02242 }
02243 
02244 const char* RTCORBA::Mutex::_interface_repository_id (void) const
02245 {
02246   return "IDL:omg.org/RTCORBA/Mutex:1.0";
02247 }
02248 
02249 CORBA::Boolean
02250 RTCORBA::Mutex::marshal (TAO_OutputCDR &)
02251 {
02252   return false;
02253 }
02254 
02255 // TAO_IDL - Generated from
02256 // be\be_visitor_interface/interface_cs.cpp:60
02257 
02258 // Traits specializations for RTCORBA::RTORB.
02259 
02260 RTCORBA::RTORB_ptr
02261 TAO::Objref_Traits<RTCORBA::RTORB>::duplicate (
02262     RTCORBA::RTORB_ptr p
02263   )
02264 {
02265   return RTCORBA::RTORB::_duplicate (p);
02266 }
02267 
02268 void
02269 TAO::Objref_Traits<RTCORBA::RTORB>::release (
02270     RTCORBA::RTORB_ptr p
02271   )
02272 {
02273   ::CORBA::release (p);
02274 }
02275 
02276 RTCORBA::RTORB_ptr
02277 TAO::Objref_Traits<RTCORBA::RTORB>::nil (void)
02278 {
02279   return RTCORBA::RTORB::_nil ();
02280 }
02281 
02282 CORBA::Boolean
02283 TAO::Objref_Traits<RTCORBA::RTORB>::marshal (
02284     RTCORBA::RTORB_ptr p,
02285     TAO_OutputCDR & cdr
02286   )
02287 {
02288   return CORBA::Object::marshal (p, cdr);
02289 }
02290 
02291 // TAO_IDL - Generated from
02292 // be\be_visitor_exception/exception_cs.cpp:63
02293 
02294 RTCORBA::RTORB::MutexNotFound::MutexNotFound (void)
02295   : CORBA::UserException (
02296         "IDL:omg.org/RTCORBA/RTORB/MutexNotFound:1.0",
02297         "MutexNotFound"
02298       )
02299 {
02300 }
02301 
02302 RTCORBA::RTORB::MutexNotFound::~MutexNotFound (void)
02303 {
02304 }
02305 
02306 RTCORBA::RTORB::MutexNotFound::MutexNotFound (const ::RTCORBA::RTORB::MutexNotFound &_tao_excp)
02307   : CORBA::UserException (
02308         _tao_excp._rep_id (),
02309         _tao_excp._name ()
02310       )
02311 {
02312 }
02313 
02314 RTCORBA::RTORB::MutexNotFound&
02315 RTCORBA::RTORB::MutexNotFound::operator= (const ::RTCORBA::RTORB::MutexNotFound &_tao_excp)
02316 {
02317   this->::CORBA::UserException::operator= (_tao_excp);
02318   return *this;
02319 }
02320 
02321 void RTCORBA::RTORB::MutexNotFound::_tao_any_destructor (void *_tao_void_pointer)
02322 {
02323   MutexNotFound *_tao_tmp_pointer =
02324     static_cast<MutexNotFound *> (_tao_void_pointer);
02325   delete _tao_tmp_pointer;
02326 }
02327 
02328 RTCORBA::RTORB::MutexNotFound *
02329 RTCORBA::RTORB::MutexNotFound::_downcast (CORBA::Exception *_tao_excp)
02330 {
02331   return dynamic_cast<MutexNotFound *> (_tao_excp);
02332 }
02333 
02334 const RTCORBA::RTORB::MutexNotFound *
02335 RTCORBA::RTORB::MutexNotFound::_downcast (CORBA::Exception const *_tao_excp)
02336 {
02337   return dynamic_cast<const MutexNotFound *> (_tao_excp);
02338 }
02339 
02340 CORBA::Exception *RTCORBA::RTORB::MutexNotFound::_alloc (void)
02341 {
02342   CORBA::Exception *retval = 0;
02343   ACE_NEW_RETURN (retval, ::RTCORBA::RTORB::MutexNotFound, 0);
02344   return retval;
02345 }
02346 
02347 CORBA::Exception *
02348 RTCORBA::RTORB::MutexNotFound::_tao_duplicate (void) const
02349 {
02350   CORBA::Exception *result = 0;
02351   ACE_NEW_RETURN (
02352       result,
02353       ::RTCORBA::RTORB::MutexNotFound (*this),
02354       0
02355     );
02356   return result;
02357 }
02358 
02359 void RTCORBA::RTORB::MutexNotFound::_raise (void) const
02360 {
02361   TAO_RAISE (*this);
02362 }
02363 
02364 void RTCORBA::RTORB::MutexNotFound::_tao_encode (
02365     TAO_OutputCDR &
02366     ACE_ENV_ARG_DECL
02367   ) const
02368 {
02369   ACE_THROW (CORBA::MARSHAL ());
02370 }
02371 
02372 void RTCORBA::RTORB::MutexNotFound::_tao_decode (
02373     TAO_InputCDR &
02374     ACE_ENV_ARG_DECL
02375   )
02376 {
02377   ACE_THROW (CORBA::MARSHAL ());
02378 }
02379 
02380 // TAO extension - the virtual _type method.
02381 CORBA::TypeCode_ptr RTCORBA::RTORB::MutexNotFound::_tao_type (void) const
02382 {
02383   return ::RTCORBA::RTORB::_tc_MutexNotFound;
02384 }
02385 
02386 // TAO_IDL - Generated from
02387 // be\be_visitor_exception/exception_cs.cpp:63
02388 
02389 RTCORBA::RTORB::InvalidThreadpool::InvalidThreadpool (void)
02390   : CORBA::UserException (
02391         "IDL:omg.org/RTCORBA/RTORB/InvalidThreadpool:1.0",
02392         "InvalidThreadpool"
02393       )
02394 {
02395 }
02396 
02397 RTCORBA::RTORB::InvalidThreadpool::~InvalidThreadpool (void)
02398 {
02399 }
02400 
02401 RTCORBA::RTORB::InvalidThreadpool::InvalidThreadpool (const ::RTCORBA::RTORB::InvalidThreadpool &_tao_excp)
02402   : CORBA::UserException (
02403         _tao_excp._rep_id (),
02404         _tao_excp._name ()
02405       )
02406 {
02407 }
02408 
02409 RTCORBA::RTORB::InvalidThreadpool&
02410 RTCORBA::RTORB::InvalidThreadpool::operator= (const ::RTCORBA::RTORB::InvalidThreadpool &_tao_excp)
02411 {
02412   this->::CORBA::UserException::operator= (_tao_excp);
02413   return *this;
02414 }
02415 
02416 void RTCORBA::RTORB::InvalidThreadpool::_tao_any_destructor (void *_tao_void_pointer)
02417 {
02418   InvalidThreadpool *_tao_tmp_pointer =
02419     static_cast<InvalidThreadpool *> (_tao_void_pointer);
02420   delete _tao_tmp_pointer;
02421 }
02422 
02423 RTCORBA::RTORB::InvalidThreadpool *
02424 RTCORBA::RTORB::InvalidThreadpool::_downcast (CORBA::Exception *_tao_excp)
02425 {
02426   return dynamic_cast<InvalidThreadpool *> (_tao_excp);
02427 }
02428 
02429 const RTCORBA::RTORB::InvalidThreadpool *
02430 RTCORBA::RTORB::InvalidThreadpool::_downcast (CORBA::Exception const *_tao_excp)
02431 {
02432   return dynamic_cast<const InvalidThreadpool *> (_tao_excp);
02433 }
02434 
02435 CORBA::Exception *RTCORBA::RTORB::InvalidThreadpool::_alloc (void)
02436 {
02437   CORBA::Exception *retval = 0;
02438   ACE_NEW_RETURN (retval, ::RTCORBA::RTORB::InvalidThreadpool, 0);
02439   return retval;
02440 }
02441 
02442 CORBA::Exception *
02443 RTCORBA::RTORB::InvalidThreadpool::_tao_duplicate (void) const
02444 {
02445   CORBA::Exception *result = 0;
02446   ACE_NEW_RETURN (
02447       result,
02448       ::RTCORBA::RTORB::InvalidThreadpool (*this),
02449       0
02450     );
02451   return result;
02452 }
02453 
02454 void RTCORBA::RTORB::InvalidThreadpool::_raise (void) const
02455 {
02456   TAO_RAISE (*this);
02457 }
02458 
02459 void RTCORBA::RTORB::InvalidThreadpool::_tao_encode (
02460     TAO_OutputCDR &
02461     ACE_ENV_ARG_DECL
02462   ) const
02463 {
02464   ACE_THROW (CORBA::MARSHAL ());
02465 }
02466 
02467 void RTCORBA::RTORB::InvalidThreadpool::_tao_decode (
02468     TAO_InputCDR &
02469     ACE_ENV_ARG_DECL
02470   )
02471 {
02472   ACE_THROW (CORBA::MARSHAL ());
02473 }
02474 
02475 // TAO extension - the virtual _type method.
02476 CORBA::TypeCode_ptr RTCORBA::RTORB::InvalidThreadpool::_tao_type (void) const
02477 {
02478   return ::RTCORBA::RTORB::_tc_InvalidThreadpool;
02479 }
02480 
02481 RTCORBA::RTORB::RTORB (void)
02482 {}
02483 
02484 RTCORBA::RTORB::~RTORB (void)
02485 {}
02486 
02487 void
02488 RTCORBA::RTORB::_tao_any_destructor (void *_tao_void_pointer)
02489 {
02490   RTORB *_tao_tmp_pointer =
02491     static_cast<RTORB *> (_tao_void_pointer);
02492   ::CORBA::release (_tao_tmp_pointer);
02493 }
02494 
02495 RTCORBA::RTORB_ptr
02496 RTCORBA::RTORB::_narrow (
02497     CORBA::Object_ptr _tao_objref
02498     ACE_ENV_ARG_DECL_NOT_USED
02499   )
02500 {
02501   return RTORB::_duplicate (
02502       dynamic_cast<RTORB_ptr> (_tao_objref)
02503     );
02504 }
02505 
02506 RTCORBA::RTORB_ptr
02507 RTCORBA::RTORB::_unchecked_narrow (
02508     CORBA::Object_ptr _tao_objref
02509     ACE_ENV_ARG_DECL_NOT_USED
02510   )
02511 {
02512   return RTORB::_duplicate (
02513       dynamic_cast<RTORB_ptr> (_tao_objref)
02514     );
02515 }
02516 
02517 RTCORBA::RTORB_ptr
02518 RTCORBA::RTORB::_duplicate (RTORB_ptr obj)
02519 {
02520   if (! ::CORBA::is_nil (obj))
02521     {
02522       obj->_add_ref ();
02523     }
02524 
02525   return obj;
02526 }
02527 
02528 void
02529 RTCORBA::RTORB::_tao_release (RTORB_ptr obj)
02530 {
02531   ::CORBA::release (obj);
02532 }
02533 
02534 CORBA::Boolean
02535 RTCORBA::RTORB::_is_a (
02536     const char *value
02537     ACE_ENV_ARG_DECL_NOT_USED
02538   )
02539 {
02540   if (
02541       !ACE_OS::strcmp (
02542           value,
02543           "IDL:omg.org/RTCORBA/RTORB:1.0"
02544         ) ||
02545       !ACE_OS::strcmp (
02546           value,
02547           "IDL:omg.org/CORBA/LocalObject:1.0"
02548         ) ||
02549       !ACE_OS::strcmp (
02550           value,
02551           "IDL:omg.org/CORBA/Object:1.0"
02552         )
02553     )
02554     {
02555       return true; // success using local knowledge
02556     }
02557   else
02558     {
02559       return false;
02560     }
02561 }
02562 
02563 const char* RTCORBA::RTORB::_interface_repository_id (void) const
02564 {
02565   return "IDL:omg.org/RTCORBA/RTORB:1.0";
02566 }
02567 
02568 CORBA::Boolean
02569 RTCORBA::RTORB::marshal (TAO_OutputCDR &)
02570 {
02571   return false;
02572 }
02573 
02574 // TAO_IDL - Generated from
02575 // be\be_visitor_structure/cdr_op_cs.cpp:61
02576 
02577 CORBA::Boolean operator<< (
02578     TAO_OutputCDR &strm,
02579     const RTCORBA::ThreadpoolLane &_tao_aggregate
02580   )
02581 {
02582   return
02583     (strm << _tao_aggregate.lane_priority) &&
02584     (strm << _tao_aggregate.static_threads) &&
02585     (strm << _tao_aggregate.dynamic_threads);
02586 }
02587 
02588 CORBA::Boolean operator>> (
02589     TAO_InputCDR &strm,
02590     RTCORBA::ThreadpoolLane &_tao_aggregate
02591   )
02592 {
02593   return
02594     (strm >> _tao_aggregate.lane_priority) &&
02595     (strm >> _tao_aggregate.static_threads) &&
02596     (strm >> _tao_aggregate.dynamic_threads);
02597 }
02598 
02599 // TAO_IDL - Generated from
02600 // be\be_visitor_sequence/cdr_op_cs.cpp:96
02601 
02602 #if !defined _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_CPP_
02603 #define _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_CPP_
02604 
02605 CORBA::Boolean operator<< (
02606     TAO_OutputCDR &strm,
02607     const RTCORBA::ThreadpoolLanes &_tao_sequence
02608   )
02609 {
02610   return TAO::marshal_sequence(strm, _tao_sequence);
02611 }
02612 
02613 CORBA::Boolean operator>> (
02614     TAO_InputCDR &strm,
02615     RTCORBA::ThreadpoolLanes &_tao_sequence
02616   )
02617 {
02618   return TAO::demarshal_sequence(strm, _tao_sequence);
02619 }
02620 
02621 #endif /* _TAO_CDR_OP_RTCORBA_ThreadpoolLanes_CPP_ */
02622 
02623 // TAO_IDL - Generated from
02624 // be\be_visitor_enum/cdr_op_cs.cpp:51
02625 
02626 CORBA::Boolean operator<< (TAO_OutputCDR & strm, RTCORBA::PriorityModel _tao_enumerator)
02627 {
02628   return strm << static_cast<CORBA::ULong> (_tao_enumerator);
02629 }
02630 
02631 CORBA::Boolean operator>> (TAO_InputCDR & strm, RTCORBA::PriorityModel & _tao_enumerator)
02632 {
02633   CORBA::ULong _tao_temp = 0;
02634   CORBA::Boolean const _tao_success = strm >> _tao_temp;
02635 
02636   if (_tao_success)
02637     {
02638       _tao_enumerator = static_cast<RTCORBA::PriorityModel> (_tao_temp);
02639     }
02640 
02641   return _tao_success;
02642 }
02643 
02644 // TAO_IDL - Generated from
02645 // be\be_visitor_structure/cdr_op_cs.cpp:61
02646 
02647 CORBA::Boolean operator<< (
02648     TAO_OutputCDR &strm,
02649     const RTCORBA::PriorityBand &_tao_aggregate
02650   )
02651 {
02652   return
02653     (strm << _tao_aggregate.low) &&
02654     (strm << _tao_aggregate.high);
02655 }
02656 
02657 CORBA::Boolean operator>> (
02658     TAO_InputCDR &strm,
02659     RTCORBA::PriorityBand &_tao_aggregate
02660   )
02661 {
02662   return
02663     (strm >> _tao_aggregate.low) &&
02664     (strm >> _tao_aggregate.high);
02665 }
02666 
02667 // TAO_IDL - Generated from
02668 // be\be_visitor_sequence/cdr_op_cs.cpp:96
02669 
02670 #if !defined _TAO_CDR_OP_RTCORBA_PriorityBands_CPP_
02671 #define _TAO_CDR_OP_RTCORBA_PriorityBands_CPP_
02672 
02673 CORBA::Boolean operator<< (
02674     TAO_OutputCDR &strm,
02675     const RTCORBA::PriorityBands &_tao_sequence
02676   )
02677 {
02678   const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
02679 
02680   if (strm << _tao_seq_len)
02681     {
02682       // Encode all elements.
02683       CORBA::Boolean _tao_marshal_flag = true;
02684 
02685       for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
02686         {
02687           _tao_marshal_flag = (strm << _tao_sequence[i]);
02688         }
02689 
02690       return _tao_marshal_flag;
02691     }
02692 
02693   return false;
02694 }
02695 
02696 CORBA::Boolean operator>> (
02697     TAO_InputCDR &strm,
02698     RTCORBA::PriorityBands &_tao_sequence
02699   )
02700 {
02701   CORBA::ULong _tao_seq_len;
02702 
02703   if (strm >> _tao_seq_len)
02704     {
02705       // Add a check to the length of the sequence
02706       // to make sure it does not exceed the length
02707       // of the stream. (See bug 58.)
02708       if (_tao_seq_len > strm.length ())
02709         {
02710           return false;
02711         }
02712 
02713       // Set the length of the sequence.
02714       _tao_sequence.length (_tao_seq_len);
02715 
02716       // If length is 0 we return true.
02717       if (0 >= _tao_seq_len)
02718         {
02719           return true;
02720         }
02721 
02722       // Retrieve all the elements.
02723       CORBA::Boolean _tao_marshal_flag = true;
02724 
02725       for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
02726         {
02727           _tao_marshal_flag = (strm >> _tao_sequence[i]);
02728         }
02729 
02730       return _tao_marshal_flag;
02731 
02732     }
02733 
02734   return false;
02735 }
02736 
02737 #endif /* _TAO_CDR_OP_RTCORBA_PriorityBands_CPP_ */
02738 
02739 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 12:58:05 2006 for TAO_RTCORBA by doxygen 1.3.6