diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 8008dd09ccf88d4edef237a184a698cac42f2952 (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Thread_Lane_Resources_Manager.h | |
parent | 13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff) | |
download | ATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Thread_Lane_Resources_Manager.h')
-rw-r--r-- | TAO/tao/Thread_Lane_Resources_Manager.h | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/TAO/tao/Thread_Lane_Resources_Manager.h b/TAO/tao/Thread_Lane_Resources_Manager.h deleted file mode 100644 index e0637fbd23f..00000000000 --- a/TAO/tao/Thread_Lane_Resources_Manager.h +++ /dev/null @@ -1,120 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Thread_Lane_Resources_Manager.h - * - * $Id$ - * - * @author Irfan Pyarali - */ -// ============================================================================ - -#ifndef TAO_THREAD_LANE_RESOURCES_MANAGER_H -#define TAO_THREAD_LANE_RESOURCES_MANAGER_H - -#include /**/ "ace/pre.h" -#include "ace/CORBA_macros.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Service_Object.h" - -#include "tao/TAO_Export.h" -#include "tao/Versioned_Namespace.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -class TAO_ORB_Core; -class TAO_Thread_Lane_Resources; -class TAO_LF_Strategy; -class TAO_MProfile; - -namespace CORBA -{ - class Environment; -} - -/** - * @class TAO_Thread_Lane_Resources_Manager - * - * @brief This class is a manager for thread resources. - * - * \nosubgrouping - * - **/ -class TAO_Export TAO_Thread_Lane_Resources_Manager -{ -public: - - /// Constructor. - TAO_Thread_Lane_Resources_Manager (TAO_ORB_Core &orb_core); - - /// Destructor. - virtual ~TAO_Thread_Lane_Resources_Manager (void); - - /// Finalize resources. - virtual void finalize (void) = 0; - - /// Open default resources. - virtual int open_default_resources (ACE_ENV_SINGLE_ARG_DECL) = 0; - - /// Shutdown reactor. - virtual void shutdown_reactor (void) = 0; - - /// Cleanup transports that use the RW strategy since there are no - /// ways to wake threads up waiting on those sockets. - virtual void cleanup_rw_transports (void) = 0; - - /// Does @a mprofile belong to us? - virtual int is_collocated (const TAO_MProfile& mprofile) = 0; - - /// @name Accessors - // @{ - - virtual TAO_Thread_Lane_Resources &lane_resources (void) = 0; - - virtual TAO_Thread_Lane_Resources &default_lane_resources (void) = 0; - - TAO_LF_Strategy &lf_strategy (void); - - // @} - -protected: - /// The ORB Core. - TAO_ORB_Core * const orb_core_; - - /// The leader follower strategy - TAO_LF_Strategy *lf_strategy_; -}; - -/** - * @class TAO_Thread_Lane_Resources_Manager_Factory - * - * @brief This class is a factory for managers of thread resources. - * - * \nosubgrouping - * - **/ -class TAO_Export TAO_Thread_Lane_Resources_Manager_Factory - : public ACE_Service_Object -{ -public: - - /// Virtual destructor. - virtual ~TAO_Thread_Lane_Resources_Manager_Factory (void); - - /// Factory method. - virtual TAO_Thread_Lane_Resources_Manager * - create_thread_lane_resources_manager (TAO_ORB_Core &core) = 0; - -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - - -#include /**/ "ace/post.h" - -#endif /* TAO_THREAD_LANE_RESOURCES_MANAGER_H */ |