diff options
Diffstat (limited to 'TAO/tao/RTCORBA/RTCORBAA.cpp')
-rw-r--r-- | TAO/tao/RTCORBA/RTCORBAA.cpp | 165 |
1 files changed, 83 insertions, 82 deletions
diff --git a/TAO/tao/RTCORBA/RTCORBAA.cpp b/TAO/tao/RTCORBA/RTCORBAA.cpp index 8611ac7c104..024e8b87aac 100644 --- a/TAO/tao/RTCORBA/RTCORBAA.cpp +++ b/TAO/tao/RTCORBA/RTCORBAA.cpp @@ -26,21 +26,22 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html #include "RTCORBA.h" -#include "tao/Null_RefCount_Policy.h" -#include "tao/TypeCode_Constants.h" -#include "tao/Alias_TypeCode_Static.h" -#include "tao/Enum_TypeCode_Static.h" -#include "tao/Objref_TypeCode_Static.h" -#include "tao/Sequence_TypeCode_Static.h" -#include "tao/String_TypeCode_Static.h" -#include "tao/Struct_TypeCode_Static.h" -#include "tao/TypeCode_Struct_Field.h" -#include "tao/Recursive_Type_TypeCode.h" +#include "tao/AnyTypeCode/Null_RefCount_Policy.h" +#include "tao/AnyTypeCode/TypeCode_Constants.h" +#include "tao/AnyTypeCode/Alias_TypeCode_Static.h" +#include "tao/AnyTypeCode/Enum_TypeCode_Static.h" +#include "tao/AnyTypeCode/Objref_TypeCode_Static.h" +#include "tao/AnyTypeCode/Sequence_TypeCode_Static.h" +#include "tao/AnyTypeCode/String_TypeCode_Static.h" +#include "tao/AnyTypeCode/Struct_TypeCode_Static.h" +#include "tao/AnyTypeCode/TypeCode_Struct_Field.h" +#include "tao/AnyTypeCode/Recursive_Type_TypeCode.h" #include "tao/CDR.h" -#include "tao/Any.h" -#include "tao/Any_Impl_T.h" -#include "tao/Any_Dual_Impl_T.h" -#include "tao/Any_Basic_Impl_T.h" +#include "tao/AnyTypeCode/Any.h" +#include "tao/AnyTypeCode/Any_Impl_T.h" +#include "tao/AnyTypeCode/Any_Dual_Impl_T.h" +#include "tao/AnyTypeCode/Any_Basic_Impl_T.h" +#include "tao/AnyTypeCode/IOP_IORA.h" // TAO_IDL - Generated from // be\be_visitor_typecode/alias_typecode.cpp:50 @@ -53,7 +54,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/NativePriority:1.0", "NativePriority", &CORBA::_tc_short); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_NativePriority = @@ -73,7 +74,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/Priority:1.0", "Priority", &CORBA::_tc_short); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_Priority = @@ -93,7 +94,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/NetworkPriority:1.0", "NetworkPriority", &CORBA::_tc_long); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_NetworkPriority = @@ -113,7 +114,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/ThreadpoolId:1.0", "ThreadpoolId", &CORBA::_tc_ulong); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ThreadpoolId = @@ -130,7 +131,7 @@ static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> co { "lane_priority", &RTCORBA::_tc_Priority }, { "static_threads", &CORBA::_tc_ulong }, { "dynamic_threads", &CORBA::_tc_ulong } - + }; static TAO::TypeCode::Struct<char const *, CORBA::TypeCode_ptr const *, @@ -142,7 +143,7 @@ static TAO::TypeCode::Struct<char const *, "ThreadpoolLane", _tao_fields_RTCORBA_ThreadpoolLane, 3); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ThreadpoolLane = @@ -172,10 +173,10 @@ namespace TAO CORBA::tk_sequence, &RTCORBA::_tc_ThreadpoolLane, 0U); - + ::CORBA::TypeCode_ptr const tc_RTCORBA_ThreadpoolLanes_0 = &RTCORBA_ThreadpoolLanes_0; - + } } @@ -190,7 +191,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/ThreadpoolLanes:1.0", "ThreadpoolLanes", &TAO::TypeCode::tc_RTCORBA_ThreadpoolLanes_0); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ThreadpoolLanes = @@ -206,7 +207,7 @@ static char const * const _tao_enumerators_RTCORBA_PriorityModel[] = { "CLIENT_PROPAGATED", "SERVER_DECLARED" - + }; static TAO::TypeCode::Enum<char const *, @@ -217,7 +218,7 @@ static TAO::TypeCode::Enum<char const *, "PriorityModel", _tao_enumerators_RTCORBA_PriorityModel, 2); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PriorityModel = @@ -235,7 +236,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/PriorityModelPolicy:1.0", "PriorityModelPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PriorityModelPolicy = @@ -253,7 +254,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/ThreadpoolPolicy:1.0", "ThreadpoolPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ThreadpoolPolicy = @@ -271,7 +272,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/ProtocolProperties:1.0", "ProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ProtocolProperties = @@ -288,7 +289,7 @@ static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> co { "protocol_type", &IOP::_tc_ProfileId }, { "orb_protocol_properties", &RTCORBA::_tc_ProtocolProperties }, { "transport_protocol_properties", &RTCORBA::_tc_ProtocolProperties } - + }; static TAO::TypeCode::Struct<char const *, CORBA::TypeCode_ptr const *, @@ -300,7 +301,7 @@ static TAO::TypeCode::Struct<char const *, "Protocol", _tao_fields_RTCORBA_Protocol, 3); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_Protocol = @@ -330,10 +331,10 @@ namespace TAO CORBA::tk_sequence, &RTCORBA::_tc_Protocol, 0U); - + ::CORBA::TypeCode_ptr const tc_RTCORBA_ProtocolList_0 = &RTCORBA_ProtocolList_0; - + } } @@ -348,7 +349,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/ProtocolList:1.0", "ProtocolList", &TAO::TypeCode::tc_RTCORBA_ProtocolList_0); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ProtocolList = @@ -366,7 +367,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/ServerProtocolPolicy:1.0", "ServerProtocolPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ServerProtocolPolicy = @@ -384,7 +385,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/ClientProtocolPolicy:1.0", "ClientProtocolPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_ClientProtocolPolicy = @@ -402,7 +403,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/PrivateConnectionPolicy:1.0", "PrivateConnectionPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PrivateConnectionPolicy = @@ -420,7 +421,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/TCPProtocolProperties:1.0", "TCPProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_TCPProtocolProperties = @@ -438,7 +439,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/GIOPProtocolProperties:1.0", "GIOPProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_GIOPProtocolProperties = @@ -456,7 +457,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/UnixDomainProtocolProperties:1.0", "UnixDomainProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_UnixDomainProtocolProperties = @@ -474,7 +475,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/SharedMemoryProtocolProperties:1.0", "SharedMemoryProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_SharedMemoryProtocolProperties = @@ -492,7 +493,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/UserDatagramProtocolProperties:1.0", "UserDatagramProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_UserDatagramProtocolProperties = @@ -510,7 +511,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/StreamControlProtocolProperties:1.0", "StreamControlProtocolProperties"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_StreamControlProtocolProperties = @@ -526,7 +527,7 @@ static TAO::TypeCode::Struct_Field<char const *, CORBA::TypeCode_ptr const *> co { { "low", &RTCORBA::_tc_Priority }, { "high", &RTCORBA::_tc_Priority } - + }; static TAO::TypeCode::Struct<char const *, CORBA::TypeCode_ptr const *, @@ -538,7 +539,7 @@ static TAO::TypeCode::Struct<char const *, "PriorityBand", _tao_fields_RTCORBA_PriorityBand, 2); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PriorityBand = @@ -568,10 +569,10 @@ namespace TAO CORBA::tk_sequence, &RTCORBA::_tc_PriorityBand, 0U); - + ::CORBA::TypeCode_ptr const tc_RTCORBA_PriorityBands_0 = &RTCORBA_PriorityBands_0; - + } } @@ -586,7 +587,7 @@ static TAO::TypeCode::Alias<char const *, "IDL:omg.org/RTCORBA/PriorityBands:1.0", "PriorityBands", &TAO::TypeCode::tc_RTCORBA_PriorityBands_0); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PriorityBands = @@ -604,7 +605,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/PriorityBandedConnectionPolicy:1.0", "PriorityBandedConnectionPolicy"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_PriorityBandedConnectionPolicy = @@ -622,7 +623,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/Current:1.0", "Current"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_Current = @@ -640,7 +641,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/Mutex:1.0", "Mutex"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_Mutex = @@ -663,7 +664,7 @@ static TAO::TypeCode::Struct<char const *, "MutexNotFound", _tao_fields_RTCORBA_RTORB_MutexNotFound, 0); - + ::CORBA::TypeCode_ptr const RTCORBA::RTORB::_tc_MutexNotFound = &_tao_tc_RTCORBA_RTORB_MutexNotFound; @@ -681,7 +682,7 @@ static TAO::TypeCode::Struct<char const *, "InvalidThreadpool", _tao_fields_RTCORBA_RTORB_InvalidThreadpool, 0); - + ::CORBA::TypeCode_ptr const RTCORBA::RTORB::_tc_InvalidThreadpool = &_tao_tc_RTCORBA_RTORB_InvalidThreadpool; @@ -694,7 +695,7 @@ static TAO::TypeCode::Objref<char const *, CORBA::tk_local_interface, "IDL:omg.org/RTCORBA/RTORB:1.0", "RTORB"); - + namespace RTCORBA { ::CORBA::TypeCode_ptr const _tc_RTORB = @@ -703,7 +704,7 @@ namespace RTCORBA -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. @@ -761,7 +762,7 @@ CORBA::Boolean operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_sequence/any_op_cs.cpp:54 @@ -844,7 +845,7 @@ CORBA::Boolean operator>>= ( TAO::Any_Basic_Impl_T<RTCORBA::PriorityModel>::extract ( _tao_any, RTCORBA::_tc_PriorityModel, - _tao_elem + _tao_elem ); } @@ -872,7 +873,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::PriorityModelPolicy>::demarshal_value (TAO_InputCDR &) @@ -947,7 +948,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::ThreadpoolPolicy>::demarshal_value (TAO_InputCDR &) @@ -1022,7 +1023,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::ProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1073,7 +1074,7 @@ operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_structure/any_op_cs.cpp:54 @@ -1086,7 +1087,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Dual_Impl_T<RTCORBA::Protocol>::demarshal_value (TAO_InputCDR &) @@ -1148,7 +1149,7 @@ CORBA::Boolean operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_sequence/any_op_cs.cpp:54 namespace TAO @@ -1159,7 +1160,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Dual_Impl_T<RTCORBA::ProtocolList>::demarshal_value (TAO_InputCDR &) @@ -1247,7 +1248,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::ServerProtocolPolicy>::demarshal_value (TAO_InputCDR &) @@ -1322,7 +1323,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::ClientProtocolPolicy>::demarshal_value (TAO_InputCDR &) @@ -1397,7 +1398,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::PrivateConnectionPolicy>::demarshal_value (TAO_InputCDR &) @@ -1472,7 +1473,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::TCPProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1547,7 +1548,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::GIOPProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1622,7 +1623,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::UnixDomainProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1697,7 +1698,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::SharedMemoryProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1772,7 +1773,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::UserDatagramProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1847,7 +1848,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::StreamControlProtocolProperties>::demarshal_value (TAO_InputCDR &) @@ -1898,7 +1899,7 @@ operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_structure/any_op_cs.cpp:54 // Copying insertion. @@ -1956,7 +1957,7 @@ CORBA::Boolean operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_sequence/any_op_cs.cpp:54 @@ -2039,7 +2040,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::PriorityBandedConnectionPolicy>::demarshal_value (TAO_InputCDR &) @@ -2114,7 +2115,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::Current>::demarshal_value (TAO_InputCDR &) @@ -2189,7 +2190,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::Mutex>::demarshal_value (TAO_InputCDR &) @@ -2264,7 +2265,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Impl_T<RTCORBA::RTORB>::demarshal_value (TAO_InputCDR &) @@ -2315,7 +2316,7 @@ operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/any_op_cs.cpp:50 namespace TAO @@ -2326,7 +2327,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Dual_Impl_T<RTCORBA::RTORB::MutexNotFound>::demarshal_value (TAO_InputCDR &) @@ -2390,7 +2391,7 @@ CORBA::Boolean operator>>= ( ); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/any_op_cs.cpp:50 namespace TAO @@ -2401,7 +2402,7 @@ namespace TAO { return false; } - + template<> CORBA::Boolean Any_Dual_Impl_T<RTCORBA::RTORB::InvalidThreadpool>::demarshal_value (TAO_InputCDR &) |