diff options
Diffstat (limited to 'TAO/tao/PollableC.cpp')
-rw-r--r-- | TAO/tao/PollableC.cpp | 817 |
1 files changed, 448 insertions, 369 deletions
diff --git a/TAO/tao/PollableC.cpp b/TAO/tao/PollableC.cpp index d9e262f26c1..97b7ccf770f 100644 --- a/TAO/tao/PollableC.cpp +++ b/TAO/tao/PollableC.cpp @@ -15,27 +15,26 @@ // Irvine, CA // USA // http://doc.ece.uci.edu/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ // // Information about TAO is available at: // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:301 #include "PollableC.h" - -#if (TAO_HAS_AMI_POLLER == 1) - #include "tao/Stub.h" -#include "tao/Invocation.h" -#include "tao/PortableInterceptor.h" - -#if TAO_HAS_INTERCEPTORS == 1 -#include "tao/RequestInfo_Util.h" -#include "tao/ClientRequestInfo_i.h" -#include "tao/ClientInterceptorAdapter.h" -#endif /* TAO_HAS_INTERCEPTORS == 1 */ +#include "tao/Invocation_Adapter.h" +#include "tao/Basic_Arguments.h" +#include "tao/Object_Argument_T.h" +#include "tao/Special_Basic_Arguments.h" #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig @@ -46,12 +45,88 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:59 + +// Arg traits specializations. +namespace TAO +{ + +#if !defined (_CORBA_POLLABLESET__ARG_TRAITS_CS_) +#define _CORBA_POLLABLESET__ARG_TRAITS_CS_ + + ACE_TEMPLATE_SPECIALIZATION + class TAO_Export Arg_Traits<CORBA::PollableSet> + : public + Object_Arg_Traits_T< + CORBA::PollableSet_ptr, + CORBA::PollableSet_var, + CORBA::PollableSet_out, + TAO::Objref_Traits<CORBA::PollableSet> + > + { + }; + +#endif /* end #if !defined */ + +#if !defined (_CORBA_POLLABLE__ARG_TRAITS_CS_) +#define _CORBA_POLLABLE__ARG_TRAITS_CS_ + + ACE_TEMPLATE_SPECIALIZATION + class TAO_Export Arg_Traits<CORBA::Pollable> + : public + Object_Arg_Traits_T< + CORBA::Pollable_ptr, + CORBA::Pollable_var, + CORBA::Pollable_out, + TAO::Objref_Traits<CORBA::Pollable> + > + { + }; + +#endif /* end #if !defined */ + +#if !defined (_CORBA_DIIPOLLABLE__ARG_TRAITS_CS_) +#define _CORBA_DIIPOLLABLE__ARG_TRAITS_CS_ + + ACE_TEMPLATE_SPECIALIZATION + class TAO_Export Arg_Traits<CORBA::DIIPollable> + : public + Object_Arg_Traits_T< + CORBA::DIIPollable_ptr, + CORBA::DIIPollable_var, + CORBA::DIIPollable_out, + TAO::Objref_Traits<CORBA::DIIPollable> + > + { + }; + +#endif /* end #if !defined */ + +#if !defined (_CORBA_POLLABLESET__ARG_TRAITS_CS_) +#define _CORBA_POLLABLESET__ARG_TRAITS_CS_ + + ACE_TEMPLATE_SPECIALIZATION + class TAO_Export Arg_Traits<CORBA::PollableSet> + : public + Object_Arg_Traits_T< + CORBA::PollableSet_ptr, + CORBA::PollableSet_var, + CORBA::PollableSet_out, + TAO::Objref_Traits<CORBA::PollableSet> + > + { + }; + +#endif /* end #if !defined */ +}; + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 -int CORBA::Pollable::_tao_class_id = 0; +// Traits specializations for CORBA::Pollable. CORBA::Pollable_ptr -CORBA::tao_Pollable_life::tao_duplicate ( +TAO::Objref_Traits<CORBA::Pollable>::tao_duplicate ( CORBA::Pollable_ptr p ) { @@ -59,7 +134,7 @@ CORBA::tao_Pollable_life::tao_duplicate ( } void -CORBA::tao_Pollable_life::tao_release ( +TAO::Objref_Traits<CORBA::Pollable>::tao_release ( CORBA::Pollable_ptr p ) { @@ -67,67 +142,25 @@ CORBA::tao_Pollable_life::tao_release ( } CORBA::Pollable_ptr -CORBA::tao_Pollable_life::tao_nil ( - void - ) +TAO::Objref_Traits<CORBA::Pollable>::tao_nil (void) { return CORBA::Pollable::_nil (); } CORBA::Boolean -CORBA::tao_Pollable_life::tao_marshal ( +TAO::Objref_Traits<CORBA::Pollable>::tao_marshal ( CORBA::Pollable_ptr p, - TAO_OutputCDR &cdr + TAO_OutputCDR & cdr ) { return p->marshal (cdr); } -CORBA::Pollable_ptr -CORBA::tao_Pollable_cast::tao_narrow ( - CORBA::Object *p - ACE_ENV_ARG_DECL - ) -{ - return CORBA::Pollable::_narrow (p ACE_ENV_ARG_PARAMETER); -} - -CORBA::Object * -CORBA::tao_Pollable_cast::tao_upcast ( - void *src - ) -{ - CORBA::Pollable **tmp = - ACE_static_cast (CORBA::Pollable **, src); - return *tmp; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class - TAO_Objref_Var_T< - CORBA::Pollable, - CORBA::tao_Pollable_life - >; - template class - TAO_Objref_Out_T< - CORBA::Pollable, - CORBA::tao_Pollable_life - >; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate \ - TAO_Objref_Var_T< \ - CORBA::Pollable, \ - CORBA::tao_Pollable_life \ - > -# pragma instantiate \ - TAO_Objref_Out_T< \ - CORBA::Pollable, \ - CORBA::tao_Pollable_life \ - > -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232 +// Function pointer for collocation factory initialization. +TAO::Collocation_Proxy_Broker * +(*CORBA__TAO_Pollable_Proxy_Broker_Factory_function_pointer) ( + CORBA::Object_ptr obj + ) = 0; CORBA::Pollable::Pollable (void) {} @@ -137,34 +170,19 @@ CORBA::Pollable::~Pollable (void) CORBA::Pollable_ptr CORBA::Pollable::_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL - ) -{ - return Pollable::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); -} - -CORBA::Pollable_ptr -CORBA::Pollable::_unchecked_narrow ( - CORBA::Object_ptr obj + CORBA::Object_ptr _tao_objref ACE_ENV_ARG_DECL_NOT_USED ) { - if (CORBA::is_nil (obj)) + if (CORBA::is_nil (_tao_objref)) { return Pollable::_nil (); } - return - ACE_reinterpret_cast ( - Pollable_ptr, - obj->_tao_QueryInterface ( - ACE_reinterpret_cast ( - ptrdiff_t, - &Pollable::_tao_class_id - ) - ) - ); + Pollable_ptr proxy = + dynamic_cast<Pollable_ptr> (_tao_objref); + + return Pollable::_duplicate (proxy); } CORBA::Pollable_ptr @@ -178,35 +196,33 @@ CORBA::Pollable::_duplicate (Pollable_ptr obj) return obj; } -void *CORBA::Pollable::_tao_QueryInterface (ptrdiff_t type) +CORBA::Boolean +CORBA::Pollable::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) { - void *retv = 0; - - if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &ACE_NESTED_CLASS (::CORBA, Pollable)::_tao_class_id) - ) - { - retv = ACE_reinterpret_cast (void*, this); - } - else if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &CORBA::Object::_tao_class_id) - ) + if ( + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Pollable:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/LocalObject:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) { - retv = - ACE_reinterpret_cast ( - void *, - ACE_static_cast (CORBA::Object_ptr, this) - ); + return 1; // success using local knowledge } - - if (retv != 0) + else { - this->_add_ref (); + return 0; } - - return retv; } const char* CORBA::Pollable::_interface_repository_id (void) const @@ -221,12 +237,12 @@ CORBA::Pollable::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 -int CORBA::DIIPollable::_tao_class_id = 0; +// Traits specializations for CORBA::DIIPollable. CORBA::DIIPollable_ptr -CORBA::tao_DIIPollable_life::tao_duplicate ( +TAO::Objref_Traits<CORBA::DIIPollable>::tao_duplicate ( CORBA::DIIPollable_ptr p ) { @@ -234,7 +250,7 @@ CORBA::tao_DIIPollable_life::tao_duplicate ( } void -CORBA::tao_DIIPollable_life::tao_release ( +TAO::Objref_Traits<CORBA::DIIPollable>::tao_release ( CORBA::DIIPollable_ptr p ) { @@ -242,67 +258,25 @@ CORBA::tao_DIIPollable_life::tao_release ( } CORBA::DIIPollable_ptr -CORBA::tao_DIIPollable_life::tao_nil ( - void - ) +TAO::Objref_Traits<CORBA::DIIPollable>::tao_nil (void) { return CORBA::DIIPollable::_nil (); } CORBA::Boolean -CORBA::tao_DIIPollable_life::tao_marshal ( +TAO::Objref_Traits<CORBA::DIIPollable>::tao_marshal ( CORBA::DIIPollable_ptr p, - TAO_OutputCDR &cdr + TAO_OutputCDR & cdr ) { return p->marshal (cdr); } -CORBA::DIIPollable_ptr -CORBA::tao_DIIPollable_cast::tao_narrow ( - CORBA::Object *p - ACE_ENV_ARG_DECL - ) -{ - return CORBA::DIIPollable::_narrow (p ACE_ENV_ARG_PARAMETER); -} - -CORBA::Object * -CORBA::tao_DIIPollable_cast::tao_upcast ( - void *src - ) -{ - CORBA::DIIPollable **tmp = - ACE_static_cast (CORBA::DIIPollable **, src); - return *tmp; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class - TAO_Objref_Var_T< - CORBA::DIIPollable, - CORBA::tao_DIIPollable_life - >; - template class - TAO_Objref_Out_T< - CORBA::DIIPollable, - CORBA::tao_DIIPollable_life - >; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate \ - TAO_Objref_Var_T< \ - CORBA::DIIPollable, \ - CORBA::tao_DIIPollable_life \ - > -# pragma instantiate \ - TAO_Objref_Out_T< \ - CORBA::DIIPollable, \ - CORBA::tao_DIIPollable_life \ - > -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232 +// Function pointer for collocation factory initialization. +TAO::Collocation_Proxy_Broker * +(*CORBA__TAO_DIIPollable_Proxy_Broker_Factory_function_pointer) ( + CORBA::Object_ptr obj + ) = 0; CORBA::DIIPollable::DIIPollable (void) {} @@ -312,34 +286,19 @@ CORBA::DIIPollable::~DIIPollable (void) CORBA::DIIPollable_ptr CORBA::DIIPollable::_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL - ) -{ - return DIIPollable::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); -} - -CORBA::DIIPollable_ptr -CORBA::DIIPollable::_unchecked_narrow ( - CORBA::Object_ptr obj + CORBA::Object_ptr _tao_objref ACE_ENV_ARG_DECL_NOT_USED ) { - if (CORBA::is_nil (obj)) + if (CORBA::is_nil (_tao_objref)) { return DIIPollable::_nil (); } - return - ACE_reinterpret_cast ( - DIIPollable_ptr, - obj->_tao_QueryInterface ( - ACE_reinterpret_cast ( - ptrdiff_t, - &DIIPollable::_tao_class_id - ) - ) - ); + DIIPollable_ptr proxy = + dynamic_cast<DIIPollable_ptr> (_tao_objref); + + return DIIPollable::_duplicate (proxy); } CORBA::DIIPollable_ptr @@ -353,49 +312,37 @@ CORBA::DIIPollable::_duplicate (DIIPollable_ptr obj) return obj; } -void *CORBA::DIIPollable::_tao_QueryInterface (ptrdiff_t type) +CORBA::Boolean +CORBA::DIIPollable::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) { - void *retv = 0; - - if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &ACE_NESTED_CLASS (::CORBA, DIIPollable)::_tao_class_id) - ) - { - retv = ACE_reinterpret_cast (void*, this); - } - else if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &ACE_NESTED_CLASS (::CORBA, Pollable)::_tao_class_id) - ) - { - retv = - ACE_reinterpret_cast ( - void *, - ACE_static_cast ( - CORBA::Pollable_ptr, - this - ) - ); - } - else if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &CORBA::Object::_tao_class_id) - ) + if ( + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Pollable:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/DIIPollable:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/LocalObject:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) { - retv = - ACE_reinterpret_cast ( - void *, - ACE_static_cast (CORBA::Object_ptr, this) - ); + return 1; // success using local knowledge } - - if (retv != 0) + else { - this->_add_ref (); + return 0; } - - return retv; } const char* CORBA::DIIPollable::_interface_repository_id (void) const @@ -410,12 +357,12 @@ CORBA::DIIPollable::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 -int CORBA::PollableSet::_tao_class_id = 0; +// Traits specializations for CORBA::PollableSet. CORBA::PollableSet_ptr -CORBA::tao_PollableSet_life::tao_duplicate ( +TAO::Objref_Traits<CORBA::PollableSet>::tao_duplicate ( CORBA::PollableSet_ptr p ) { @@ -423,7 +370,7 @@ CORBA::tao_PollableSet_life::tao_duplicate ( } void -CORBA::tao_PollableSet_life::tao_release ( +TAO::Objref_Traits<CORBA::PollableSet>::tao_release ( CORBA::PollableSet_ptr p ) { @@ -431,158 +378,25 @@ CORBA::tao_PollableSet_life::tao_release ( } CORBA::PollableSet_ptr -CORBA::tao_PollableSet_life::tao_nil ( - void - ) +TAO::Objref_Traits<CORBA::PollableSet>::tao_nil (void) { return CORBA::PollableSet::_nil (); } CORBA::Boolean -CORBA::tao_PollableSet_life::tao_marshal ( +TAO::Objref_Traits<CORBA::PollableSet>::tao_marshal ( CORBA::PollableSet_ptr p, - TAO_OutputCDR &cdr + TAO_OutputCDR & cdr ) { return p->marshal (cdr); } -CORBA::PollableSet_ptr -CORBA::tao_PollableSet_cast::tao_narrow ( - CORBA::Object *p - ACE_ENV_ARG_DECL - ) -{ - return CORBA::PollableSet::_narrow (p ACE_ENV_ARG_PARAMETER); -} - -CORBA::Object * -CORBA::tao_PollableSet_cast::tao_upcast ( - void *src - ) -{ - CORBA::PollableSet **tmp = - ACE_static_cast (CORBA::PollableSet **, src); - return *tmp; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class - TAO_Objref_Var_T< - CORBA::PollableSet, - CORBA::tao_PollableSet_life - >; - template class - TAO_Objref_Out_T< - CORBA::PollableSet, - CORBA::tao_PollableSet_life - >; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate \ - TAO_Objref_Var_T< \ - CORBA::PollableSet, \ - CORBA::tao_PollableSet_life \ - > -# pragma instantiate \ - TAO_Objref_Out_T< \ - CORBA::PollableSet, \ - CORBA::tao_PollableSet_life \ - > -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232 - -CORBA::PollableSet::PollableSet (void) -{} - -CORBA::PollableSet::~PollableSet (void) -{} - -CORBA::PollableSet_ptr -CORBA::PollableSet::_narrow ( +// Function pointer for collocation factory initialization. +TAO::Collocation_Proxy_Broker * +(*CORBA__TAO_PollableSet_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj - ACE_ENV_ARG_DECL - ) -{ - return PollableSet::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER); -} - -CORBA::PollableSet_ptr -CORBA::PollableSet::_unchecked_narrow ( - CORBA::Object_ptr obj - ACE_ENV_ARG_DECL_NOT_USED - ) -{ - if (CORBA::is_nil (obj)) - { - return PollableSet::_nil (); - } - - return - ACE_reinterpret_cast ( - PollableSet_ptr, - obj->_tao_QueryInterface ( - ACE_reinterpret_cast ( - ptrdiff_t, - &PollableSet::_tao_class_id - ) - ) - ); -} - -CORBA::PollableSet_ptr -CORBA::PollableSet::_duplicate (PollableSet_ptr obj) -{ - if (! CORBA::is_nil (obj)) - { - obj->_add_ref (); - } - - return obj; -} - -void *CORBA::PollableSet::_tao_QueryInterface (ptrdiff_t type) -{ - void *retv = 0; - - if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &ACE_NESTED_CLASS (::CORBA, PollableSet)::_tao_class_id) - ) - { - retv = ACE_reinterpret_cast (void*, this); - } - else if (type == ACE_reinterpret_cast ( - ptrdiff_t, - &CORBA::Object::_tao_class_id) - ) - { - retv = - ACE_reinterpret_cast ( - void *, - ACE_static_cast (CORBA::Object_ptr, this) - ); - } - - if (retv != 0) - { - this->_add_ref (); - } - - return retv; -} - -const char* CORBA::PollableSet::_interface_repository_id (void) const -{ - return "IDL:omg.org/CORBA/PollableSet:1.0"; -} - -CORBA::Boolean -CORBA::PollableSet::marshal (TAO_OutputCDR &) -{ - return 0; -} + ) = 0; // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 @@ -753,6 +567,271 @@ void CORBA::PollableSet::UnknownPollable::_tao_decode ( } -#endif /* TAO_HAS_AMI_POLLER == 1 */ +CORBA::PollableSet::PollableSet (void) +{} + +CORBA::PollableSet::~PollableSet (void) +{} + +CORBA::PollableSet_ptr +CORBA::PollableSet::_narrow ( + CORBA::Object_ptr _tao_objref + ACE_ENV_ARG_DECL_NOT_USED + ) +{ + if (CORBA::is_nil (_tao_objref)) + { + return PollableSet::_nil (); + } + + PollableSet_ptr proxy = + dynamic_cast<PollableSet_ptr> (_tao_objref); + + return PollableSet::_duplicate (proxy); +} + +CORBA::PollableSet_ptr +CORBA::PollableSet::_duplicate (PollableSet_ptr obj) +{ + if (! CORBA::is_nil (obj)) + { + obj->_add_ref (); + } + + return obj; +} + +CORBA::Boolean +CORBA::PollableSet::_is_a ( + const char *value + ACE_ENV_ARG_DECL + ) +{ + if ( + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/PollableSet:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/LocalObject:1.0" + ) || + !ACE_OS::strcmp ( + (char *)value, + "IDL:omg.org/CORBA/Object:1.0" + ) + ) + { + return 1; // success using local knowledge + } + else + { + return 0; + } +} + +const char* CORBA::PollableSet::_interface_repository_id (void) const +{ + return "IDL:omg.org/CORBA/PollableSet:1.0"; +} + +CORBA::Boolean +CORBA::PollableSet::marshal (TAO_OutputCDR &) +{ + return 0; +} + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1703 + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +#if !defined (_CORBA_POLLABLESET__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_POLLABLESET__ARG_TRAITS_TMPLINST_CS_ + + template class TAO::Arg_Traits<CORBA::PollableSet>; + + template class + TAO::Object_Arg_Traits_T< + CORBA::PollableSet_ptr, + CORBA::PollableSet_var, + CORBA::PollableSet_out + >; + +#endif /* end #if !defined */ + + template class + TAO::Ret_Object_Argument_T< + CORBA::DIIPollable_ptr, + CORBA::DIIPollable_var + >; + + template class + TAO::In_Object_Argument_T< + CORBA::Pollable_ptr + >; + + template class + TAO::Ret_Object_Argument_T< + CORBA::Pollable_ptr, + CORBA::Pollable_var + >; + + template class + TAO_Objref_Var_T< + CORBA::PollableSet, + TAO::Objref_Traits<CORBA::PollableSet> + >; + + template class + TAO_Objref_Out_T< + CORBA::PollableSet, + TAO::Objref_Traits<CORBA::PollableSet> + >; + +#if !defined (_CORBA_POLLABLE__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_POLLABLE__ARG_TRAITS_TMPLINST_CS_ + + template class TAO::Arg_Traits<CORBA::Pollable>; + + template class + TAO::Object_Arg_Traits_T< + CORBA::Pollable_ptr, + CORBA::Pollable_var, + CORBA::Pollable_out + >; + +#endif /* end #if !defined */ + + template class + TAO::Ret_Object_Argument_T< + CORBA::PollableSet_ptr, + CORBA::PollableSet_var + >; + + template class + TAO_Objref_Var_T< + CORBA::Pollable, + TAO::Objref_Traits<CORBA::Pollable> + >; + + template class + TAO_Objref_Out_T< + CORBA::Pollable, + TAO::Objref_Traits<CORBA::Pollable> + >; + +#if !defined (_CORBA_DIIPOLLABLE__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_DIIPOLLABLE__ARG_TRAITS_TMPLINST_CS_ + + template class TAO::Arg_Traits<CORBA::DIIPollable>; + + template class + TAO::Object_Arg_Traits_T< + CORBA::DIIPollable_ptr, + CORBA::DIIPollable_var, + CORBA::DIIPollable_out + >; + +#endif /* end #if !defined */ + + template class + TAO_Objref_Var_T< + CORBA::DIIPollable, + TAO::Objref_Traits<CORBA::DIIPollable> + >; + + template class + TAO_Objref_Out_T< + CORBA::DIIPollable, + TAO::Objref_Traits<CORBA::DIIPollable> + >; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#if !defined (_CORBA_POLLABLESET__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_POLLABLESET__ARG_TRAITS_TMPLINST_CS_ + +# pragma instantiate TAO::Arg_Traits<CORBA::PollableSet> + +# pragma instantiate \ + TAO::Object_Arg_Traits_T< \ + CORBA::PollableSet_ptr, \ + CORBA::PollableSet_var, \ + CORBA::PollableSet_out \ + > + +#endif /* end #if !defined */ + +# pragma instantiate \ + TAO::In_Object_Argument_T< \ + CORBA::Pollable_ptr \ + > + +# pragma instantiate \ + TAO_Objref_Var_T< \ + CORBA::PollableSet, \ + TAO::Objref_Traits<CORBA::PollableSet> \ + > + +# pragma instantiate \ + TAO_Objref_Out_T< \ + CORBA::PollableSet, \ + TAO::Objref_Traits<CORBA::PollableSet> \ + > + +#if !defined (_CORBA_POLLABLE__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_POLLABLE__ARG_TRAITS_TMPLINST_CS_ + +# pragma instantiate TAO::Arg_Traits<CORBA::Pollable> + +# pragma instantiate \ + TAO::Object_Arg_Traits_T< \ + CORBA::Pollable_ptr, \ + CORBA::Pollable_var, \ + CORBA::Pollable_out \ + > + +#endif /* end #if !defined */ + +# pragma instantiate \ + TAO_Objref_Var_T< \ + CORBA::Pollable, \ + TAO::Objref_Traits<CORBA::Pollable> \ + > + +# pragma instantiate \ + TAO_Objref_Out_T< \ + CORBA::Pollable, \ + TAO::Objref_Traits<CORBA::Pollable> \ + > + +#if !defined (_CORBA_DIIPOLLABLE__ARG_TRAITS_TMPLINST_CS_) +#define _CORBA_DIIPOLLABLE__ARG_TRAITS_TMPLINST_CS_ + +# pragma instantiate TAO::Arg_Traits<CORBA::DIIPollable> + +# pragma instantiate \ + TAO::Object_Arg_Traits_T< \ + CORBA::DIIPollable_ptr, \ + CORBA::DIIPollable_var, \ + CORBA::DIIPollable_out \ + > + +#endif /* end #if !defined */ + +# pragma instantiate \ + TAO_Objref_Var_T< \ + CORBA::DIIPollable, \ + TAO::Objref_Traits<CORBA::DIIPollable> \ + > + +# pragma instantiate \ + TAO_Objref_Out_T< \ + CORBA::DIIPollable, \ + TAO::Objref_Traits<CORBA::DIIPollable> \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |