# Deprecated List

Member ACE_Asynch_Acceptor::address_size (void)
  address_size() assumes IPv4 use, so is not always valid. This method will be removed after ACE 5.5. Internal uses have been changes to base needed sizes on the addr_family_ member.

Member ACE_Asynch_Acceptor::validate_new_connection (const ACE_INET_Addr &remote_address)
  Use validate_connection() instead. Will be removed after ACE 5.3.

Member ACE_Atomic_Op::mutex (void)
  This member function is deprecated and so may go away in the future. If you need access to the underlying mutex, consider using the ACE_Atomic_Op_Ex template instead.

Member ACE_Configuration::export_config (const ACE_TCHAR *filename)
  Exports the configuration database to filename. If filename is already present, it is overwritten. This function is deprecated and will be removed in a future version of ACE. Please use either ACE_Registry_ImpExp or ACE_Ini_ImpExp instead.

Member ACE_Configuration::import_config (const ACE_TCHAR *filename)
  Imports the configuration database from filename. Any existing data is not removed. This function is deprecated and will be removed in a future version of ACE. Please use ACE_Registry_ImpExp or ACE_Ini_ImpExp instead.

Member ACE_DLList_Iterator::next (void) const
  Delegates to ACE_Double_Linked_List_Iterator, except that whereas the Double_Linked_List version of next returns the node, this next returns the contents of the node

Member ACE_DLList_Reverse_Iterator::next (void) const
  Delegates to ACE_Double_Linked_List_Iterator.

Member ACE_Double_Linked_List_Iterator_Base::next (void) const
  Return the address of next (current) unvisited item in the list. 0 if there is no more element available.

Member ACE_Future::operator T ()
  Note that this method is going away in a subsequent release since it doesn't distinguish between failure results and success results (exceptions should be used, but they aren't portable...). Type conversion, which obtains the result of the asynchronous method invocation. Will block forever. The get() method should be used instead since it separates the error value from the result, and also permits timeouts.

Member ACE_Get_Opt::argc_
  This is public for backwards compatibility only. It will be made private in a release of ACE past 5.3. Do not write code that relies on this member being public; use the `argc()` accessor method instead.

Member ACE_Get_Opt::argv_
  This is public for backwards compatibility only. It will be made private in a release of ACE past 5.3. Do not write code that relies on this member being public; use the `argv()` accessor method instead.

Member ACE_Get_Opt::optarg
  This is public for backwards compatibility only. It will be made private in a release of ACE past 5.3. Do not write code that relies on this member being public; use the `opt_arg()` accessor method instead.

Member ACE_Get_Opt::opterr
  This is public for backwards compatibility only. It will be made private in a release of ACE past 5.3. Do not write code that relies on this member being public; use the report_errors argument to this class's constructor instead.

Member ACE_Get_Opt::optind
  This is public for backwards compatibility only. It will be made private in a release of ACE past 5.3. Do not write code that relies on this member being public; use the `opt_ind()` accessor method instead.

Member ACE_High_Res_Timer::gettimeofday (const ACE_OS::ACE_HRTimer_Op=ACE_OSACE_HRTIMER_GETTIME)
  THIS FUNCTION IS DEPRECATED. PLEASE USE <ACE_OS::gettimeofday> INSTEAD! Calls <ACE_High_Res_Timer::hrtime_to_tv> passing <ACE_OS::gethrtime>. This function can be used to parameterize objects such as <ACE_Timer_Queue::gettimeofday>. If <global_scale_factor_> is not set, and we're on a platform that requires <global_scale_factor_> (e.g., Win32), ACE_OS::gettimeofday will be used instead of <ACE_OS::gethrtime>. This allows applications on Intel to use <high_res_timer> even when <global_scale_factor> is not set. However, setting the <global_scale_factor_> appropriately will result in the finest resolution possible.

Member ACE_InputCDR::to_string::to_string (ACE_CDR::Char *&s, ACE_CDR::ULong b)
  The constructor taking a non-const string is now deprecated (C++ mapping 00-01-02), but we keep it around for backward compatibility.

Member ACE_MEM_Acceptor::malloc_options (void)
  This method has been deprecated.

Member ACE_MEM_Connector::malloc_options (void)
  This method has been deprecated.

Member ACE_Message_Queue::enqueue (ACE_Message_Block *new_item, ACE_Time_Value *timeout=0)
  This is an alias for enqueue_prio(). It's only here for backwards compatibility and will go away in a subsequent release. Please use enqueue_prio() instead.

Member ACE_Message_Queue_Base::WAS_ACTIVE
  Use ACTIVATED instead.

Member ACE_Message_Queue_Base::WAS_INACTIVE
  Use DEACTIVATED instead.

Member ACE_Object_Manager::default_mask (void)
  Accesses a default signal set used, for example, in ACE_Sig_Guard methods. Deprecated: use ACE_Object_Manager::default_mask () instead.

Member ACE_Obstack_T::length (void) const
  No need to use this function as you can put objects of arbitrary lengths into the obstack now.

Member ACE_POSIX_Asynch_Connect::MAP_ITERATOR
  (Two) Deprecated typedefs. Use the map traits instead.

Member ACE_Process_Manager::reap (pid_t pid=-1, ACE_exitcode *stat_loc=0, int options=WNOHANG)
  Reap the result of a single process by calling <ACE_OS::waitpid>, therefore, this method is not portable to Win32. If the child is successfully reaped, <remove> is called automatically. This method does the same thing that the <wait> method directly above it does -- It's just here for backwards compatibility.

Member ACE_RB_Tree::clear (void)
  Destroys all nodes and sets the root pointer null.

Member ACE_RB_Tree::find (const EXT_ID &k)
  signature will change to become int find (const EXT_ID &ext_id); which will return 0 if the ext_id is in the tree, otherwise -1.

Member ACE_RB_Tree::insert (const EXT_ID &k, const INT_ID &t)

Member ACE_RB_Tree::remove (const EXT_ID &k)

Member ACE_RB_Tree_Iterator::first (void)
  Move to the first item in the iteration (and in the tree).

Member ACE_RB_Tree_Iterator::is_done (void)
  : use the base class <done> method instead. Returns 0 if the iterator is positioned over a valid ACE_RB_Tree node, returns 1 if not.

Member ACE_RB_Tree_Iterator::item (void)
  Accessor for item of node under iterator (if any).

Member ACE_RB_Tree_Iterator::key (void)
  Accessor for key of node under iterator (if any).

Member ACE_RB_Tree_Iterator::last (void)
  Move to the last item in the iteration (and in the tree).

Member ACE_RB_Tree_Iterator::next (void)
  Move to the next item in the iteration (and in the tree).

Member ACE_RB_Tree_Iterator::previous (void)
  Move to the previous item in the iteration (and in the tree).

Member ACE_Reactor::end_event_loop (void)
  Use ACE_Reactor::instance()->end_reactor_event_loop() instead

Member ACE_Reactor::event_loop_done (void)
  Use ACE_Reactor::instance()->reactor_event_loop_done() instead

Member ACE_Reactor::reset_event_loop (void)
  Use ACE_Reactor::instance()->reset_reactor_event_loop() instead

Member ACE_Reactor::run_event_loop (ACE_Time_Value &tv)
  Use ACE_Reactor::instance()->run_reactor_event_loop() instead

Member ACE_Reactor::run_event_loop (void)
  Use ACE_Reactor::instance()->run_reactor_event_loop() instead

Member ACE_SOCK_Dgram_Mcast::set_option (int option, char optval)
  This method has been deprecated since it cannot be used easily with with IPv6 options. Use ACE_SOCK::set_option instead.

Member ACE_SOCK_Dgram_Mcast::subscribe (const ACE_INET_Addr &mcast_addr, int reuse_addr=1, const ACE_TCHAR *net_if=0, int protocol_family=PF_INET, int protocol=0)
  This method has been deprecated, please use join() instead. In addition, the following parameters have also been deprecated: <protocol_family> and <protocol> have no effect.

Member ACE_SOCK_Dgram_Mcast::unsubscribe (void)
  This method has been deprecated. Since a list of groups is not maintained (except when ACE_SOCK_DGRAM_MCAST_DUMPABLE is defined), it isn't possible to unsubscribe to all the groups without closing the socket. Therefore, if applications wish to unsubscribe to all groups without closing the socket, they much keep track of the subscriptions and call the above unsubscribe () for each.

Member ACE_SOCK_Dgram_Mcast::unsubscribe (const ACE_INET_Addr &mcast_addr, const ACE_TCHAR *net_if=0, int protocol_family=PF_INET, int protocol=0)
  This method has been deprecated. Please use leave() instead. In addition, <protocol_family> and <protocol> have no effect.

Member ACE_SOCK_IO::recv (iovec iov[], size_t n, const ACE_Time_Value *timeout=0) const
  Same as above. Deprecated.

Class ACE_Swap< T >
  This template is deprecated, you can use std::swap without problems on all platforms.

Member ACE_Thread_Manager::at_exit (void *object, ACE_CLEANUP_FUNC cleanup_hook, void *param)
  This function is deprecated. Please use the previous two at_exit method. Notice that you should avoid mixing this method with the previous two at_exit methods.

Member ACE_Time_Request::init (void)
  This method is a no-op.

Member ACE_Token_Collection::COLLECTION_ENTRY
  Deprecated typedef. Use COLLECTION::ENTRY trait instead.

Member ACE_Token_Collection::COLLECTION_ITERATOR
  Deprecated typedef. Use COLLECTION::ITERATOR trait instead.

Member ACE_Token_Invariant_Manager::MUTEX_COLLECTION_ENTRY
  Deprecated typedef. Use MUTEX_COLLECTION::ENTRY trait instead.

Member ACE_Token_Invariant_Manager::MUTEX_COLLECTION_ITERATOR
  Deprecated typedef. Use MUTEX_COLLECTION::ITERATOR trait instead.

Member ACE_Token_Invariant_Manager::RWLOCK_COLLECTION_ENTRY
  Deprecated typedef. Use RWLOCK_COLLECTION::ENTRY trait instead.

Member ACE_Token_Invariant_Manager::RWLOCK_COLLECTION_ITERATOR
  Deprecated typedef. Use RWLOCK_COLLECTION::ITERATOR trait instead.

Member ACE_Token_Manager::COLLECTION_ENTRY
  Deprecated typedef. Use COLLECTION::ENTRY trait instead.

Member ACE_Token_Manager::COLLECTION_ITERATOR
  Deprecated typedef. Use COLLECTION::ITERATOR trait instead.

File Array.h

Member SUBSECTION_ENTRY
  Deprecated typedef. Use the SUBSECTION_HASH::ENTRY trait instead.

Member ACE_CORBA_1 (NAME)
  These macros were formerly used by TAO but are now deprecated, and only remain to retain some backward compatibility. They will be removed in a future ACE release.

Member MAP_ITERATOR
  Deprecated typedefs. Use the map's traits instead.