diff options
Diffstat (limited to 'TAO/tao/TimeBaseC.cpp')
-rw-r--r-- | TAO/tao/TimeBaseC.cpp | 427 |
1 files changed, 230 insertions, 197 deletions
diff --git a/TAO/tao/TimeBaseC.cpp b/TAO/tao/TimeBaseC.cpp index 41461a32fe6..dd4d79141af 100644 --- a/TAO/tao/TimeBaseC.cpp +++ b/TAO/tao/TimeBaseC.cpp @@ -15,21 +15,22 @@ // 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 "tao/TimeBaseC.h" -#include "tao/Stub.h" -#include "tao/Invocation.h" -#if TAO_HAS_INTERCEPTORS == 1 -#include "tao/RequestInfo_Util.h" -#endif /* TAO_HAS_INTERCEPTORS == 1 */ +#include "TimeBaseC.h" +#include "tao/Any_Dual_Impl_T.h" #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig @@ -40,22 +41,30 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:59 + +// Arg traits specializations. +namespace TAO +{ +}; + +// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_TimeBase_TimeT[] = { TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f54696d), - ACE_NTOHL (0x65543a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f54696d), + ACE_NTOHL (0x65543a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0 6, - ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x54696d65), ACE_NTOHL (0x54000000), // name = TimeT CORBA::tk_ulonglong, @@ -69,14 +78,11 @@ static CORBA::TypeCode _tc_TAO_tc_TimeBase_TimeT ( sizeof (TimeBase::TimeT) ); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (TimeBase) -TAO_NAMESPACE_DEFINE ( - ::CORBA::TypeCode_ptr, - _tc_TimeT, - &_tc_TAO_tc_TimeBase_TimeT - ) -TAO_NAMESPACE_END +namespace TimeBase +{ + ::CORBA::TypeCode_ptr _tc_TimeT = + &_tc_TAO_tc_TimeBase_TimeT; +} // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 @@ -85,34 +91,34 @@ static const CORBA::Long _oc_TimeBase_InaccuracyT[] = { TAO_ENCAP_BYTE_ORDER, // byte order 37, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f496e61), - ACE_NTOHL (0x63637572), - ACE_NTOHL (0x61637954), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f496e61), + ACE_NTOHL (0x63637572), + ACE_NTOHL (0x61637954), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/TimeBase/InaccuracyT:1.0 12, - ACE_NTOHL (0x496e6163), - ACE_NTOHL (0x63757261), + ACE_NTOHL (0x496e6163), + ACE_NTOHL (0x63757261), ACE_NTOHL (0x63795400), // name = InaccuracyT CORBA::tk_alias, // typecode kind for typedefs 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f54696d), - ACE_NTOHL (0x65543a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f54696d), + ACE_NTOHL (0x65543a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0 6, - ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x54696d65), ACE_NTOHL (0x54000000), // name = TimeT CORBA::tk_ulonglong, @@ -127,14 +133,11 @@ static CORBA::TypeCode _tc_TAO_tc_TimeBase_InaccuracyT ( sizeof (TimeBase::InaccuracyT) ); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (TimeBase) -TAO_NAMESPACE_DEFINE ( - ::CORBA::TypeCode_ptr, - _tc_InaccuracyT, - &_tc_TAO_tc_TimeBase_InaccuracyT - ) -TAO_NAMESPACE_END +namespace TimeBase +{ + ::CORBA::TypeCode_ptr _tc_InaccuracyT = + &_tc_TAO_tc_TimeBase_InaccuracyT; +} // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 @@ -143,16 +146,16 @@ static const CORBA::Long _oc_TimeBase_TdfT[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f546466), - ACE_NTOHL (0x543a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f546466), + ACE_NTOHL (0x543a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/TdfT:1.0 5, - ACE_NTOHL (0x54646654), + ACE_NTOHL (0x54646654), ACE_NTOHL (0x0), // name = TdfT CORBA::tk_short, @@ -166,14 +169,11 @@ static CORBA::TypeCode _tc_TAO_tc_TimeBase_TdfT ( sizeof (TimeBase::TdfT) ); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (TimeBase) -TAO_NAMESPACE_DEFINE ( - ::CORBA::TypeCode_ptr, - _tc_TdfT, - &_tc_TAO_tc_TimeBase_TdfT - ) -TAO_NAMESPACE_END +namespace TimeBase +{ + ::CORBA::TypeCode_ptr _tc_TdfT = + &_tc_TAO_tc_TimeBase_TdfT; +} // TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 @@ -182,46 +182,46 @@ static const CORBA::Long _oc_TimeBase_UtcT[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f557463), - ACE_NTOHL (0x543a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f557463), + ACE_NTOHL (0x543a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/UtcT:1.0 5, - ACE_NTOHL (0x55746354), + ACE_NTOHL (0x55746354), ACE_NTOHL (0x0), // name = UtcT 4, // member count 5, - ACE_NTOHL (0x74696d65), + ACE_NTOHL (0x74696d65), ACE_NTOHL (0x0), // name = time CORBA::tk_alias, // typecode kind for typedefs 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f54696d), - ACE_NTOHL (0x65543a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f54696d), + ACE_NTOHL (0x65543a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0 6, - ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x54696d65), ACE_NTOHL (0x54000000), // name = TimeT CORBA::tk_ulonglong, 8, - ACE_NTOHL (0x696e6163), + ACE_NTOHL (0x696e6163), ACE_NTOHL (0x636c6f00), // name = inacclo CORBA::tk_ulong, 8, - ACE_NTOHL (0x696e6163), + ACE_NTOHL (0x696e6163), ACE_NTOHL (0x63686900), // name = inacchi CORBA::tk_ushort, @@ -231,16 +231,16 @@ static const CORBA::Long _oc_TimeBase_UtcT[] = 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f546466), - ACE_NTOHL (0x543a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f546466), + ACE_NTOHL (0x543a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/TdfT:1.0 5, - ACE_NTOHL (0x54646654), + ACE_NTOHL (0x54646654), ACE_NTOHL (0x0), // name = TdfT CORBA::tk_short, @@ -255,93 +255,90 @@ static CORBA::TypeCode _tc_TAO_tc_TimeBase_UtcT ( sizeof (TimeBase::UtcT) ); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (TimeBase) -TAO_NAMESPACE_DEFINE ( - ::CORBA::TypeCode_ptr, - _tc_UtcT, - &_tc_TAO_tc_TimeBase_UtcT - ) -TAO_NAMESPACE_END +namespace TimeBase +{ + ::CORBA::TypeCode_ptr _tc_UtcT = + &_tc_TAO_tc_TimeBase_UtcT; +} -// TAO_IDL - Generated from +// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 -void TimeBase::UtcT::_tao_any_destructor (void *_tao_void_pointer) +void +TimeBase::UtcT::_tao_any_destructor ( + void *_tao_void_pointer + ) { - UtcT *tmp = ACE_static_cast (UtcT*, _tao_void_pointer); - delete tmp; + UtcT *_tao_tmp_pointer = + ACE_static_cast (UtcT *, _tao_void_pointer); + delete _tao_tmp_pointer; } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:274 - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class - TAO_Fixed_Var_T< - TimeBase::UtcT - >; - -template class TAO_Var_Base_T<TimeBase::UtcT>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -# pragma instantiate \ - TAO_Fixed_Var_T< \ - TimeBase::UtcT \ - > -#pragma instantiate TAO_Var_Base_T<TimeBase::UtcT> -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_TimeBase_IntervalT[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f496e74), - ACE_NTOHL (0x65727661), - ACE_NTOHL (0x6c543a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f496e74), + ACE_NTOHL (0x65727661), + ACE_NTOHL (0x6c543a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/IntervalT:1.0 10, - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x7276616c), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x7276616c), ACE_NTOHL (0x54000000), // name = IntervalT 2, // member count 12, - ACE_NTOHL (0x6c6f7765), - ACE_NTOHL (0x725f626f), + ACE_NTOHL (0x6c6f7765), + ACE_NTOHL (0x725f626f), ACE_NTOHL (0x756e6400), // name = lower_bound CORBA::tk_alias, // typecode kind for typedefs 56, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x54696d65), - ACE_NTOHL (0x42617365), - ACE_NTOHL (0x2f54696d), - ACE_NTOHL (0x65543a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f54696d), + ACE_NTOHL (0x65543a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0 6, - ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x54696d65), ACE_NTOHL (0x54000000), // name = TimeT CORBA::tk_ulonglong, 12, - ACE_NTOHL (0x75707065), - ACE_NTOHL (0x725f626f), + ACE_NTOHL (0x75707065), + ACE_NTOHL (0x725f626f), ACE_NTOHL (0x756e6400), // name = upper_bound - 0xffffffff, // indirection - 0xffffffac, // negative offset (-84) + CORBA::tk_alias, // typecode kind for typedefs + 56, // encapsulation length + TAO_ENCAP_BYTE_ORDER, // byte order + 31, + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x42617365), + ACE_NTOHL (0x2f54696d), + ACE_NTOHL (0x65543a31), + ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0 + 6, + ACE_NTOHL (0x54696d65), + ACE_NTOHL (0x54000000), // name = TimeT + CORBA::tk_ulonglong, + + }; static CORBA::TypeCode _tc_TAO_tc_TimeBase_IntervalT ( @@ -352,46 +349,26 @@ static CORBA::TypeCode _tc_TAO_tc_TimeBase_IntervalT ( sizeof (TimeBase::IntervalT) ); -TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr) -TAO_NAMESPACE_BEGIN (TimeBase) -TAO_NAMESPACE_DEFINE ( - ::CORBA::TypeCode_ptr, - _tc_IntervalT, - &_tc_TAO_tc_TimeBase_IntervalT - ) -TAO_NAMESPACE_END +namespace TimeBase +{ + ::CORBA::TypeCode_ptr _tc_IntervalT = + &_tc_TAO_tc_TimeBase_IntervalT; +} -// TAO_IDL - Generated from +// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 -void TimeBase::IntervalT::_tao_any_destructor (void *_tao_void_pointer) +void +TimeBase::IntervalT::_tao_any_destructor ( + void *_tao_void_pointer + ) { - IntervalT *tmp = ACE_static_cast (IntervalT*, _tao_void_pointer); - delete tmp; + IntervalT *_tao_tmp_pointer = + ACE_static_cast (IntervalT *, _tao_void_pointer); + delete _tao_tmp_pointer; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_type.cpp:274 - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -template class - TAO_Fixed_Var_T< - TimeBase::IntervalT - >; - -template class TAO_Var_Base_T<TimeBase::IntervalT>; - -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -# pragma instantiate \ - TAO_Fixed_Var_T< \ - TimeBase::IntervalT \ - > -#pragma instantiate TAO_Var_Base_T<TimeBase::IntervalT> -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from +// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. @@ -449,14 +426,7 @@ CORBA::Boolean operator>>= ( ); } -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ - defined (ACE_HAS_GNU_REPO) -template class TAO::Any_Dual_Impl_T<TimeBase::UtcT>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO::Any_Dual_Impl_T<TimeBase::UtcT> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -// TAO_IDL - Generated from +// TAO_IDL - Generated from // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. @@ -514,9 +484,72 @@ CORBA::Boolean operator>>= ( ); } -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \ - defined (ACE_HAS_GNU_REPO) - template class TAO::Any_Dual_Impl_T<TimeBase::IntervalT>; +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1703 + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + + template class + TAO_Fixed_Var_T< + TimeBase::UtcT + >; + + template class + TAO_Var_Base_T< + TimeBase::UtcT + >; + + template class + TAO::Any_Dual_Impl_T< + TimeBase::UtcT + >; + + template class + TAO_Fixed_Var_T< + TimeBase::IntervalT + >; + + template class + TAO_Var_Base_T< + TimeBase::IntervalT + >; + + template class + TAO::Any_Dual_Impl_T< + TimeBase::IntervalT + >; + #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO::Any_Dual_Impl_T<TimeBase::IntervalT> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + +# pragma instantiate \ + TAO_Fixed_Var_T< \ + TimeBase::UtcT \ + > + +# pragma instantiate \ + TAO_Var_Base_T< \ + TimeBase::UtcT \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + TimeBase::UtcT \ + > + +# pragma instantiate \ + TAO_Fixed_Var_T< \ + TimeBase::IntervalT \ + > + +# pragma instantiate \ + TAO_Var_Base_T< \ + TimeBase::IntervalT \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + TimeBase::IntervalT \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + |