diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-10-28 18:31:01 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-10-28 18:31:01 +0000 |
commit | c20c95d4d526d887c9782960a3ff73f63c3c1c85 (patch) | |
tree | fd6ae8c3db752254802dfaafd1543974a4741e47 /TAO/tao/Utils | |
parent | 3d20d6aedf2b56b86fe2a386777c7afbf1c19c93 (diff) | |
download | ATCD-c20c95d4d526d887c9782960a3ff73f63c3c1c85.tar.gz |
ChangeLogTag:Tue Oct 28 12:02:47 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Utils')
-rw-r--r-- | TAO/tao/Utils/Makefile | 423 | ||||
-rw-r--r-- | TAO/tao/Utils/Servant_Var.inl | 44 |
2 files changed, 176 insertions, 291 deletions
diff --git a/TAO/tao/Utils/Makefile b/TAO/tao/Utils/Makefile index d863ea77f73..f352e8bb0ee 100644 --- a/TAO/tao/Utils/Makefile +++ b/TAO/tao/Utils/Makefile @@ -57,12 +57,14 @@ CPPFLAGS += -I$(TAO_ROOT) .obj/ORB_Destroyer.o .obj/ORB_Destroyer.so .shobj/ORB_Destroyer.o .shobj/ORB_Destroyer.so: ORB_Destroyer.cpp ORB_Destroyer.h \ - $(ACE_ROOT)/ace/pre.h Auto_Functor.h \ + $(ACE_ROOT)/ace/pre.h \ + Auto_Functor.h \ $(ACE_ROOT)/ace/post.h \ $(ACE_ROOT)/ace/ace_wchar.h \ $(ACE_ROOT)/ace/ace_wchar.inl \ $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/corbafwd.h \ + $(TAO_ROOT)/tao/TAO_Export.h \ + $(TAO_ROOT)/tao/Basic_Types.h \ $(ACE_ROOT)/ace/CDR_Base.h \ $(ACE_ROOT)/ace/Basic_Types.h \ $(ACE_ROOT)/ace/os_include/os_limits.h \ @@ -86,47 +88,59 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/Basic_Types.i \ $(ACE_ROOT)/ace/Default_Constants.h \ $(ACE_ROOT)/ace/CDR_Base.inl \ + $(TAO_ROOT)/tao/CORBA_methods.h \ $(TAO_ROOT)/tao/orbconf.h \ $(ACE_ROOT)/ace/Global_Macros.h \ $(ACE_ROOT)/ace/OS_Export.h \ $(ACE_ROOT)/ace/Synch_Traits.h \ $(ACE_ROOT)/ace/Lock.h \ $(ACE_ROOT)/ace/Lock.inl \ - $(TAO_ROOT)/tao/TAO_Export.h \ - $(TAO_ROOT)/tao/corbafwd.i \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.h \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.inl \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.cpp \ + $(TAO_ROOT)/tao/default_environment.h \ $(TAO_ROOT)/tao/Environment.i \ Auto_Functor.inl Auto_Functor.cpp \ $(TAO_ROOT)/tao/ORB.h \ $(TAO_ROOT)/tao/Exception.h \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(ACE_ROOT)/ace/Exception_Macros.h \ $(ACE_ROOT)/ace/SStringfwd.h \ $(ACE_ROOT)/ace/iosfwd.h \ + $(ACE_ROOT)/ace/CORBA_macros.h \ + $(ACE_ROOT)/ace/Exception_Macros.h \ $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/ServicesC.h \ + $(TAO_ROOT)/tao/objectid.h \ + $(TAO_ROOT)/tao/PolicyC.h \ + $(TAO_ROOT)/tao/CurrentC.h \ + $(TAO_ROOT)/tao/Object.h \ + $(TAO_ROOT)/tao/IOP_IORC.h \ $(TAO_ROOT)/tao/OctetSeqC.h \ - $(TAO_ROOT)/tao/Seq_Var_T.h \ + $(TAO_ROOT)/tao/Sequence.h \ + $(TAO_ROOT)/tao/Managed_Types.h \ + $(TAO_ROOT)/tao/CORBA_String.h \ + $(TAO_ROOT)/tao/CORBA_String.inl \ + $(TAO_ROOT)/tao/Managed_Types.i \ + $(TAO_ROOT)/tao/Sequence.i \ + $(TAO_ROOT)/tao/Sequence_T.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.h \ + $(TAO_ROOT)/tao/varbase.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ + $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ + $(TAO_ROOT)/tao/Sequence_T.i \ + $(TAO_ROOT)/tao/Sequence_T.cpp \ + $(TAO_ROOT)/tao/Array_VarOut_T.h \ + $(TAO_ROOT)/tao/Array_VarOut_T.inl \ + $(TAO_ROOT)/tao/Array_VarOut_T.cpp \ $(ACE_ROOT)/ace/OS_Memory.h \ $(ACE_ROOT)/ace/OS_Errno.h \ $(ACE_ROOT)/ace/os_include/os_errno.h \ $(ACE_ROOT)/ace/OS_Errno.inl \ $(ACE_ROOT)/ace/OS_Memory.inl \ + $(TAO_ROOT)/tao/Seq_Var_T.h \ $(TAO_ROOT)/tao/Seq_Var_T.inl \ $(TAO_ROOT)/tao/Seq_Var_T.cpp \ $(TAO_ROOT)/tao/Seq_Out_T.h \ $(TAO_ROOT)/tao/Seq_Out_T.inl \ $(TAO_ROOT)/tao/Seq_Out_T.cpp \ - $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(TAO_ROOT)/tao/Sequence.i \ - $(TAO_ROOT)/tao/Sequence_T.h \ - $(TAO_ROOT)/tao/Sequence_T.i \ - $(TAO_ROOT)/tao/Sequence_T.cpp \ - $(TAO_ROOT)/tao/OctetSeqC.i \ $(TAO_ROOT)/tao/CDR.h \ $(ACE_ROOT)/ace/CDR_Stream.h \ $(ACE_ROOT)/ace/OS_String.h \ @@ -145,36 +159,28 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/sys/os_mman.h \ $(ACE_ROOT)/ace/CDR_Stream.i \ $(TAO_ROOT)/tao/CDR.i \ + $(TAO_ROOT)/tao/OctetSeqC.i \ $(TAO_ROOT)/tao/VarOut_T.h \ $(TAO_ROOT)/tao/VarOut_T.inl \ $(TAO_ROOT)/tao/VarOut_T.cpp \ - $(TAO_ROOT)/tao/ServicesC.i \ - $(TAO_ROOT)/tao/CORBA_String.h \ - $(TAO_ROOT)/tao/CORBA_String.inl \ - $(TAO_ROOT)/tao/ObjectIdListC.h \ - $(TAO_ROOT)/tao/ObjectIdListC.i \ - $(TAO_ROOT)/tao/objectid.h \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/CurrentC.h \ - $(TAO_ROOT)/tao/Object.h \ + $(TAO_ROOT)/tao/IOP_IORC.i \ $(TAO_ROOT)/tao/Policy_ForwardC.h \ - $(TAO_ROOT)/tao/Objref_VarOut_T.h \ - $(TAO_ROOT)/tao/varbase.h \ - $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ - $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ $(TAO_ROOT)/tao/Policy_ForwardC.i \ - $(TAO_ROOT)/tao/IOP_IORC.h \ - $(TAO_ROOT)/tao/IOP_IORC.i \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Any_Impl_T.h \ + $(TAO_ROOT)/tao/Object_Argument_T.h \ + $(TAO_ROOT)/tao/Argument.h \ + $(TAO_ROOT)/tao/Object_Argument_T.inl \ + $(TAO_ROOT)/tao/Object_Argument_T.cpp \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.h \ + $(TAO_ROOT)/tao/ParameterMode.h \ $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ + $(TAO_ROOT)/tao/Arg_Traits_T.h \ + $(TAO_ROOT)/tao/Any.i \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.inl \ + $(TAO_ROOT)/tao/Object.i \ + $(TAO_ROOT)/tao/CurrentC.i \ + $(TAO_ROOT)/tao/PolicyC.i \ + $(TAO_ROOT)/tao/OBV_Constants.h \ + $(ACE_ROOT)/ace/Thread_Mutex.h \ $(ACE_ROOT)/ace/OS.h \ $(ACE_ROOT)/ace/OS_Dirent.h \ $(ACE_ROOT)/ace/os_include/os_dirent.h \ @@ -207,56 +213,21 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/sys/os_utsname.h \ $(ACE_ROOT)/ace/os_include/os_syslog.h \ $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ + $(ACE_ROOT)/ace/Thread_Mutex.inl \ $(ACE_ROOT)/ace/Guard_T.h \ $(ACE_ROOT)/ace/Guard_T.inl \ $(ACE_ROOT)/ace/Guard_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Thread_Mutex.h \ - $(ACE_ROOT)/ace/Thread_Mutex.inl \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/Any_Impl_T.inl \ - $(TAO_ROOT)/tao/Any_Impl_T.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \ - $(TAO_ROOT)/tao/Object_Proxy_Impl.h \ - $(TAO_ROOT)/tao/PolicyC.i \ $(TAO_ROOT)/tao/ORB.i .obj/Implicit_Deactivator.o .obj/Implicit_Deactivator.so .shobj/Implicit_Deactivator.o .shobj/Implicit_Deactivator.so: Implicit_Deactivator.cpp Implicit_Deactivator.h \ - $(ACE_ROOT)/ace/pre.h Auto_Functor.h \ + $(ACE_ROOT)/ace/pre.h \ + Auto_Functor.h \ $(ACE_ROOT)/ace/post.h \ $(ACE_ROOT)/ace/ace_wchar.h \ $(ACE_ROOT)/ace/ace_wchar.inl \ $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/corbafwd.h \ + $(TAO_ROOT)/tao/TAO_Export.h \ + $(TAO_ROOT)/tao/Basic_Types.h \ $(ACE_ROOT)/ace/CDR_Base.h \ $(ACE_ROOT)/ace/Basic_Types.h \ $(ACE_ROOT)/ace/os_include/os_limits.h \ @@ -280,42 +251,62 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/Basic_Types.i \ $(ACE_ROOT)/ace/Default_Constants.h \ $(ACE_ROOT)/ace/CDR_Base.inl \ + $(TAO_ROOT)/tao/CORBA_methods.h \ $(TAO_ROOT)/tao/orbconf.h \ $(ACE_ROOT)/ace/Global_Macros.h \ $(ACE_ROOT)/ace/OS_Export.h \ $(ACE_ROOT)/ace/Synch_Traits.h \ $(ACE_ROOT)/ace/Lock.h \ $(ACE_ROOT)/ace/Lock.inl \ - $(TAO_ROOT)/tao/TAO_Export.h \ - $(TAO_ROOT)/tao/corbafwd.i \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.h \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.inl \ $(TAO_ROOT)/tao/Pseudo_VarOut_T.cpp \ + $(TAO_ROOT)/tao/default_environment.h \ $(TAO_ROOT)/tao/Environment.i \ Auto_Functor.inl Auto_Functor.cpp \ $(TAO_ROOT)/tao/PortableServer/PortableServer.h \ $(TAO_ROOT)/tao/PortableServer/portableserver_export.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.h \ + $(ACE_ROOT)/ace/CORBA_macros.h \ + $(ACE_ROOT)/ace/Exception_Macros.h \ + $(TAO_ROOT)/tao/varbase.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ + $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ $(TAO_ROOT)/tao/PortableServer/PortableServerC.h \ + $(TAO_ROOT)/tao/Exception.h \ + $(ACE_ROOT)/ace/SStringfwd.h \ + $(ACE_ROOT)/ace/iosfwd.h \ + $(TAO_ROOT)/tao/Exception.i \ + $(TAO_ROOT)/tao/PolicyC.h \ $(TAO_ROOT)/tao/CurrentC.h \ $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Policy_ForwardC.h \ + $(TAO_ROOT)/tao/IOP_IORC.h \ + $(TAO_ROOT)/tao/OctetSeqC.h \ $(TAO_ROOT)/tao/Sequence.h \ $(TAO_ROOT)/tao/Managed_Types.h \ + $(TAO_ROOT)/tao/CORBA_String.h \ + $(TAO_ROOT)/tao/CORBA_String.inl \ $(TAO_ROOT)/tao/Managed_Types.i \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(ACE_ROOT)/ace/Exception_Macros.h \ $(TAO_ROOT)/tao/Sequence.i \ $(TAO_ROOT)/tao/Sequence_T.h \ $(TAO_ROOT)/tao/Sequence_T.i \ $(TAO_ROOT)/tao/Sequence_T.cpp \ + $(TAO_ROOT)/tao/Array_VarOut_T.h \ + $(TAO_ROOT)/tao/Array_VarOut_T.inl \ + $(TAO_ROOT)/tao/Array_VarOut_T.cpp \ $(ACE_ROOT)/ace/OS_Memory.h \ $(ACE_ROOT)/ace/OS_Errno.h \ $(ACE_ROOT)/ace/os_include/os_errno.h \ $(ACE_ROOT)/ace/OS_Errno.inl \ $(ACE_ROOT)/ace/OS_Memory.inl \ + $(TAO_ROOT)/tao/Seq_Var_T.h \ + $(TAO_ROOT)/tao/Seq_Var_T.inl \ + $(TAO_ROOT)/tao/Seq_Var_T.cpp \ + $(TAO_ROOT)/tao/Seq_Out_T.h \ + $(TAO_ROOT)/tao/Seq_Out_T.inl \ + $(TAO_ROOT)/tao/Seq_Out_T.cpp \ $(TAO_ROOT)/tao/CDR.h \ $(ACE_ROOT)/ace/CDR_Stream.h \ - $(ACE_ROOT)/ace/SStringfwd.h \ $(ACE_ROOT)/ace/OS_String.h \ $(ACE_ROOT)/ace/OS_String.inl \ $(ACE_ROOT)/ace/os_include/os_string.h \ @@ -332,34 +323,32 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/sys/os_mman.h \ $(ACE_ROOT)/ace/CDR_Stream.i \ $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Objref_VarOut_T.h \ - $(TAO_ROOT)/tao/varbase.h \ - $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ - $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ - $(TAO_ROOT)/tao/Seq_Var_T.h \ - $(TAO_ROOT)/tao/Seq_Var_T.inl \ - $(TAO_ROOT)/tao/Seq_Var_T.cpp \ - $(TAO_ROOT)/tao/Seq_Out_T.h \ - $(TAO_ROOT)/tao/Seq_Out_T.inl \ - $(TAO_ROOT)/tao/Seq_Out_T.cpp \ - $(TAO_ROOT)/tao/Policy_ForwardC.i \ - $(TAO_ROOT)/tao/IOP_IORC.h \ - $(TAO_ROOT)/tao/OctetSeqC.h \ $(TAO_ROOT)/tao/OctetSeqC.i \ $(TAO_ROOT)/tao/VarOut_T.h \ $(TAO_ROOT)/tao/VarOut_T.inl \ $(TAO_ROOT)/tao/VarOut_T.cpp \ $(TAO_ROOT)/tao/IOP_IORC.i \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Any_Impl_T.h \ + $(TAO_ROOT)/tao/Policy_ForwardC.h \ + $(TAO_ROOT)/tao/Policy_ForwardC.i \ + $(TAO_ROOT)/tao/Object_Argument_T.h \ + $(TAO_ROOT)/tao/Argument.h \ + $(TAO_ROOT)/tao/Object_Argument_T.inl \ + $(TAO_ROOT)/tao/Object_Argument_T.cpp \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.h \ + $(TAO_ROOT)/tao/ParameterMode.h \ $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ + $(TAO_ROOT)/tao/Arg_Traits_T.h \ + $(TAO_ROOT)/tao/Any.i \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.inl \ + $(TAO_ROOT)/tao/Object.i \ + $(TAO_ROOT)/tao/CurrentC.i \ + $(TAO_ROOT)/tao/PolicyC.i \ + $(TAO_ROOT)/tao/PortableServer/PortableServerC.i \ + $(TAO_ROOT)/tao/PortableServer/Servant_Base.h \ + $(TAO_ROOT)/tao/Abstract_Servant_Base.h \ + $(TAO_ROOT)/tao/Collocation_Strategy.h \ + $(ACE_ROOT)/ace/Atomic_Op.h \ + $(ACE_ROOT)/ace/Thread_Mutex.h \ $(ACE_ROOT)/ace/OS.h \ $(ACE_ROOT)/ace/OS_Dirent.h \ $(ACE_ROOT)/ace/os_include/os_dirent.h \ @@ -379,7 +368,6 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/os_assert.h \ $(ACE_ROOT)/ace/os_include/os_fcntl.h \ $(ACE_ROOT)/ace/os_include/sys/os_stat.h \ - $(ACE_ROOT)/ace/iosfwd.h \ $(ACE_ROOT)/ace/os_include/arpa/os_inet.h \ $(ACE_ROOT)/ace/os_include/netinet/os_tcp.h \ $(ACE_ROOT)/ace/os_include/sys/os_shm.h \ @@ -393,66 +381,17 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/sys/os_utsname.h \ $(ACE_ROOT)/ace/os_include/os_syslog.h \ $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Guard_T.h \ - $(ACE_ROOT)/ace/Guard_T.inl \ - $(ACE_ROOT)/ace/Guard_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Thread_Mutex.h \ $(ACE_ROOT)/ace/Thread_Mutex.inl \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ - $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/Any_Impl_T.inl \ - $(TAO_ROOT)/tao/Any_Impl_T.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ - $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/PolicyC.h \ - $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \ - $(TAO_ROOT)/tao/Object_Proxy_Impl.h \ - $(TAO_ROOT)/tao/PolicyC.i \ - $(TAO_ROOT)/tao/Any_Dual_Impl_T.h \ - $(TAO_ROOT)/tao/Any_Dual_Impl_T.inl \ - $(TAO_ROOT)/tao/Any_Dual_Impl_T.cpp \ - $(TAO_ROOT)/tao/CORBA_String.h \ - $(TAO_ROOT)/tao/CORBA_String.inl \ - $(TAO_ROOT)/tao/Any_Basic_Impl_T.h \ - $(TAO_ROOT)/tao/Any_Basic_Impl_T.inl \ - $(TAO_ROOT)/tao/Any_Basic_Impl_T.cpp \ - $(TAO_ROOT)/tao/debug.h \ - $(TAO_ROOT)/tao/PortableServer/PortableServerC.i \ - $(TAO_ROOT)/tao/PortableServer/Servant_Base.h \ - $(TAO_ROOT)/tao/Abstract_Servant_Base.h \ - $(ACE_ROOT)/ace/Atomic_Op.h \ $(ACE_ROOT)/ace/Atomic_Op_T.h \ $(ACE_ROOT)/ace/Atomic_Op_T.i \ + $(ACE_ROOT)/ace/Guard_T.h \ + $(ACE_ROOT)/ace/Guard_T.inl \ + $(ACE_ROOT)/ace/Guard_T.cpp \ $(ACE_ROOT)/ace/Atomic_Op_T.cpp \ + $(ACE_ROOT)/ace/Log_Msg.h \ + $(ACE_ROOT)/ace/Log_Priority.h \ + $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ + $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ $(ACE_ROOT)/ace/Atomic_Op.i \ $(TAO_ROOT)/tao/PortableServer/Servant_Base.i @@ -461,13 +400,18 @@ CPPFLAGS += -I$(TAO_ROOT) $(TAO_ROOT)/tao/PolicyC.h \ $(TAO_ROOT)/tao/CurrentC.h \ $(TAO_ROOT)/tao/Object.h \ - $(TAO_ROOT)/tao/Policy_ForwardC.h \ + $(TAO_ROOT)/tao/IOP_IORC.h \ + $(TAO_ROOT)/tao/OctetSeqC.h \ $(TAO_ROOT)/tao/Sequence.h \ - $(TAO_ROOT)/tao/corbafwd.h \ - $(ACE_ROOT)/ace/CDR_Base.h \ + $(ACE_ROOT)/ace/CORBA_macros.h \ $(ACE_ROOT)/ace/post.h \ $(ACE_ROOT)/ace/ace_wchar.h \ $(ACE_ROOT)/ace/ace_wchar.inl \ + $(ACE_ROOT)/ace/Exception_Macros.h \ + $(TAO_ROOT)/tao/Managed_Types.h \ + $(TAO_ROOT)/tao/TAO_Export.h \ + $(TAO_ROOT)/tao/Basic_Types.h \ + $(ACE_ROOT)/ace/CDR_Base.h \ $(ACE_ROOT)/ace/Basic_Types.h \ $(ACE_ROOT)/ace/os_include/os_limits.h \ $(ACE_ROOT)/ace/os_include/os_unistd.h \ @@ -490,27 +434,45 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/Basic_Types.i \ $(ACE_ROOT)/ace/Default_Constants.h \ $(ACE_ROOT)/ace/CDR_Base.inl \ + $(TAO_ROOT)/tao/CORBA_String.h \ + $(ACE_ROOT)/ace/iosfwd.h \ + $(TAO_ROOT)/tao/CORBA_String.inl \ + $(TAO_ROOT)/tao/Managed_Types.i \ $(TAO_ROOT)/tao/orbconf.h \ $(ACE_ROOT)/ace/Global_Macros.h \ $(ACE_ROOT)/ace/OS_Export.h \ $(ACE_ROOT)/ace/Synch_Traits.h \ $(ACE_ROOT)/ace/Lock.h \ $(ACE_ROOT)/ace/Lock.inl \ - $(TAO_ROOT)/tao/TAO_Export.h \ - $(TAO_ROOT)/tao/corbafwd.i \ - $(TAO_ROOT)/tao/Managed_Types.h \ - $(TAO_ROOT)/tao/Managed_Types.i \ - $(ACE_ROOT)/ace/CORBA_macros.h \ - $(ACE_ROOT)/ace/Exception_Macros.h \ + $(TAO_ROOT)/tao/default_environment.h \ $(TAO_ROOT)/tao/Sequence.i \ $(TAO_ROOT)/tao/Sequence_T.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.h \ + $(TAO_ROOT)/tao/varbase.h \ + $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ + $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ + $(TAO_ROOT)/tao/Environment.h \ + $(TAO_ROOT)/tao/CORBA_methods.h \ + $(TAO_ROOT)/tao/Pseudo_VarOut_T.h \ + $(TAO_ROOT)/tao/Pseudo_VarOut_T.inl \ + $(TAO_ROOT)/tao/Pseudo_VarOut_T.cpp \ + $(TAO_ROOT)/tao/Environment.i \ $(TAO_ROOT)/tao/Sequence_T.i \ $(TAO_ROOT)/tao/Sequence_T.cpp \ + $(TAO_ROOT)/tao/Array_VarOut_T.h \ + $(TAO_ROOT)/tao/Array_VarOut_T.inl \ + $(TAO_ROOT)/tao/Array_VarOut_T.cpp \ $(ACE_ROOT)/ace/OS_Memory.h \ $(ACE_ROOT)/ace/OS_Errno.h \ $(ACE_ROOT)/ace/os_include/os_errno.h \ $(ACE_ROOT)/ace/OS_Errno.inl \ $(ACE_ROOT)/ace/OS_Memory.inl \ + $(TAO_ROOT)/tao/Seq_Var_T.h \ + $(TAO_ROOT)/tao/Seq_Var_T.inl \ + $(TAO_ROOT)/tao/Seq_Var_T.cpp \ + $(TAO_ROOT)/tao/Seq_Out_T.h \ + $(TAO_ROOT)/tao/Seq_Out_T.inl \ + $(TAO_ROOT)/tao/Seq_Out_T.cpp \ $(TAO_ROOT)/tao/CDR.h \ $(ACE_ROOT)/ace/CDR_Stream.h \ $(ACE_ROOT)/ace/SStringfwd.h \ @@ -530,114 +492,27 @@ CPPFLAGS += -I$(TAO_ROOT) $(ACE_ROOT)/ace/os_include/sys/os_mman.h \ $(ACE_ROOT)/ace/CDR_Stream.i \ $(TAO_ROOT)/tao/CDR.i \ - $(TAO_ROOT)/tao/Objref_VarOut_T.h \ - $(TAO_ROOT)/tao/varbase.h \ - $(TAO_ROOT)/tao/Objref_VarOut_T.inl \ - $(TAO_ROOT)/tao/Objref_VarOut_T.cpp \ - $(TAO_ROOT)/tao/Environment.h \ - $(TAO_ROOT)/tao/Pseudo_VarOut_T.h \ - $(TAO_ROOT)/tao/Pseudo_VarOut_T.inl \ - $(TAO_ROOT)/tao/Pseudo_VarOut_T.cpp \ - $(TAO_ROOT)/tao/Environment.i \ - $(TAO_ROOT)/tao/Seq_Var_T.h \ - $(TAO_ROOT)/tao/Seq_Var_T.inl \ - $(TAO_ROOT)/tao/Seq_Var_T.cpp \ - $(TAO_ROOT)/tao/Seq_Out_T.h \ - $(TAO_ROOT)/tao/Seq_Out_T.inl \ - $(TAO_ROOT)/tao/Seq_Out_T.cpp \ - $(TAO_ROOT)/tao/Policy_ForwardC.i \ - $(TAO_ROOT)/tao/IOP_IORC.h \ - $(TAO_ROOT)/tao/OctetSeqC.h \ $(TAO_ROOT)/tao/OctetSeqC.i \ $(TAO_ROOT)/tao/VarOut_T.h \ $(TAO_ROOT)/tao/VarOut_T.inl \ $(TAO_ROOT)/tao/VarOut_T.cpp \ $(TAO_ROOT)/tao/IOP_IORC.i \ - $(TAO_ROOT)/tao/Object.i \ - $(TAO_ROOT)/tao/Any_Impl_T.h \ + $(TAO_ROOT)/tao/Policy_ForwardC.h \ + $(TAO_ROOT)/tao/Policy_ForwardC.i \ + $(TAO_ROOT)/tao/Object_Argument_T.h \ + $(TAO_ROOT)/tao/Argument.h \ + $(TAO_ROOT)/tao/Object_Argument_T.inl \ + $(TAO_ROOT)/tao/Object_Argument_T.cpp \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.h \ + $(TAO_ROOT)/tao/ParameterMode.h \ $(TAO_ROOT)/tao/Any.h \ - $(TAO_ROOT)/tao/Typecode.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \ - $(ACE_ROOT)/ace/Functor.h \ - $(ACE_ROOT)/ace/Functor.i \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/Flag_Manip.h \ - $(ACE_ROOT)/ace/Flag_Manip.i \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/os_include/os_dirent.h \ - $(ACE_ROOT)/ace/OS_Dirent.inl \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/OS_TLI.inl \ - $(ACE_ROOT)/ace/os_include/os_dlfcn.h \ - $(ACE_ROOT)/ace/os_include/os_netdb.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_in.h \ - $(ACE_ROOT)/ace/os_include/sys/os_socket.h \ - $(ACE_ROOT)/ace/os_include/sys/os_uio.h \ - $(ACE_ROOT)/ace/os_include/net/os_if.h \ - $(ACE_ROOT)/ace/os_include/sys/os_sem.h \ - $(ACE_ROOT)/ace/os_include/sys/os_ipc.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/os_include/os_pthread.h \ - $(ACE_ROOT)/ace/os_include/os_assert.h \ - $(ACE_ROOT)/ace/os_include/os_fcntl.h \ - $(ACE_ROOT)/ace/os_include/sys/os_stat.h \ - $(ACE_ROOT)/ace/iosfwd.h \ - $(ACE_ROOT)/ace/os_include/arpa/os_inet.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_tcp.h \ - $(ACE_ROOT)/ace/os_include/sys/os_shm.h \ - $(ACE_ROOT)/ace/os_include/os_pwd.h \ - $(ACE_ROOT)/ace/os_include/os_stropts.h \ - $(ACE_ROOT)/ace/os_include/os_termios.h \ - $(ACE_ROOT)/ace/os_include/os_aio.h \ - $(ACE_ROOT)/ace/os_include/sys/os_un.h \ - $(ACE_ROOT)/ace/os_include/os_poll.h \ - $(ACE_ROOT)/ace/os_include/sys/os_msg.h \ - $(ACE_ROOT)/ace/os_include/sys/os_utsname.h \ - $(ACE_ROOT)/ace/os_include/os_syslog.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Handle_Ops.h \ - $(ACE_ROOT)/ace/Handle_Ops.i \ - $(ACE_ROOT)/ace/Lib_Find.h \ - $(ACE_ROOT)/ace/Lib_Find.i \ - $(ACE_ROOT)/ace/Init_ACE.h \ - $(ACE_ROOT)/ace/Init_ACE.i \ - $(ACE_ROOT)/ace/Sock_Connect.h \ - $(ACE_ROOT)/ace/Sock_Connect.i \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Functor_T.h \ - $(ACE_ROOT)/ace/Functor_T.i \ - $(ACE_ROOT)/ace/Functor_T.cpp \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ - $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \ - $(ACE_ROOT)/ace/Guard_T.h \ - $(ACE_ROOT)/ace/Guard_T.inl \ - $(ACE_ROOT)/ace/Guard_T.cpp \ - $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.h \ - $(ACE_ROOT)/ace/Node.h \ - $(ACE_ROOT)/ace/Node.cpp \ - $(ACE_ROOT)/ace/Unbounded_Queue.inl \ - $(ACE_ROOT)/ace/Unbounded_Queue.cpp \ - $(ACE_ROOT)/ace/Thread_Mutex.h \ - $(ACE_ROOT)/ace/Thread_Mutex.inl \ - $(TAO_ROOT)/tao/Exception.h \ - $(TAO_ROOT)/tao/Exception.i \ - $(TAO_ROOT)/tao/Typecode.i \ + $(TAO_ROOT)/tao/Arg_Traits_T.h \ $(TAO_ROOT)/tao/Any.i \ - $(TAO_ROOT)/tao/Any_Impl_T.inl \ - $(TAO_ROOT)/tao/Any_Impl_T.cpp \ - $(TAO_ROOT)/tao/Marshal.h \ - $(TAO_ROOT)/tao/Marshal.i \ - $(ACE_ROOT)/ace/Auto_Ptr.h \ - $(ACE_ROOT)/ace/Auto_Ptr.i \ - $(ACE_ROOT)/ace/Auto_Ptr.cpp \ + $(TAO_ROOT)/tao/Dynamic_ParameterC.inl \ + $(TAO_ROOT)/tao/Object.i \ $(TAO_ROOT)/tao/CurrentC.i \ - $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \ - $(TAO_ROOT)/tao/Object_Proxy_Impl.h \ + $(TAO_ROOT)/tao/Exception.h \ + $(TAO_ROOT)/tao/Exception.i \ $(TAO_ROOT)/tao/PolicyC.i \ PolicyList_Destroyer.inl diff --git a/TAO/tao/Utils/Servant_Var.inl b/TAO/tao/Utils/Servant_Var.inl index dd3d1be9a80..426484ca1c3 100644 --- a/TAO/tao/Utils/Servant_Var.inl +++ b/TAO/tao/Utils/Servant_Var.inl @@ -6,10 +6,20 @@ template <class T> ACE_INLINE T * TAO::Utils::Servant_Var<T>:: _duplicate(T * p) { - if (p != 0) - { - p->_add_ref(); - } + ACE_TRY_NEW_ENV + { + if (p != 0) + { + p->_add_ref (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + } + } + ACE_CATCHALL + { + ACE_RE_THROW; + } + ACE_ENDTRY; + return p; } @@ -58,23 +68,23 @@ template <class T> ACE_INLINE TAO::Utils::Servant_Var<T>::~Servant_Var () ACE_THROW_SPEC (()) { - ACE_DECLARE_NEW_CORBA_ENV; // Unfortunately, there is no throw spec on _remove_ref, so we // can't assume that it will not throw. If it does, then we are in // trouble. In any event, we can't let the exception escape our // destructor. - if (ptr_ != 0) - { - ACE_TRY - { - ptr_->_remove_ref (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHALL - { - } - ACE_ENDTRY; - } + ACE_TRY_NEW_ENV + { + if (ptr_ != 0) + { + ptr_->_remove_ref (ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + } + } + ACE_CATCHALL + { + // Forget the exception.. + } + ACE_ENDTRY; } #if !defined(ACE_LACKS_MEMBER_TEMPLATES) |