Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_Thread_Lane_Resources_Manager Class Reference

This class is a manager for thread resources. More...

#include <Thread_Lane_Resources_Manager.h>

Inheritance diagram for TAO_Thread_Lane_Resources_Manager:

Inheritance graph
[legend]
Collaboration diagram for TAO_Thread_Lane_Resources_Manager:

Collaboration graph
[legend]
List of all members.

Accessors

virtual TAO_Thread_Lane_Resourceslane_resources (void)=0
virtual TAO_Thread_Lane_Resourcesdefault_lane_resources (void)=0
TAO_LF_Strategylf_strategy (void)

Public Methods

 TAO_Thread_Lane_Resources_Manager (TAO_ORB_Core &orb_core)
 Constructor. More...

virtual ~TAO_Thread_Lane_Resources_Manager (void)
 Destructor. More...

virtual void finalize (void)=0
 Finalize resources. More...

virtual int open_default_resources (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)=0
 Open default resources. More...

virtual void shutdown_reactor (void)=0
 Shutdown reactor. More...

virtual int is_collocated (const TAO_MProfile &mprofile)=0

Protected Attributes

TAO_ORB_Coreorb_core_
 The ORB Core. More...

TAO_LF_Strategylf_strategy_
 The leader follower strategy. More...


Detailed Description

This class is a manager for thread resources.

Definition at line 37 of file Thread_Lane_Resources_Manager.h.


Constructor & Destructor Documentation

TAO_Thread_Lane_Resources_Manager::TAO_Thread_Lane_Resources_Manager TAO_ORB_Core   orb_core
 

Constructor.

Definition at line 15 of file Thread_Lane_Resources_Manager.cpp.

References TAO_Resource_Factory::create_lf_strategy, lf_strategy_, orb_core_, and TAO_ORB_Core::resource_factory.

00016   : orb_core_ (&orb_core),
00017     lf_strategy_ (0)
00018 {
00019   this->lf_strategy_ =
00020     this->orb_core_->resource_factory ()->create_lf_strategy ();
00021 }

TAO_Thread_Lane_Resources_Manager::~TAO_Thread_Lane_Resources_Manager void    [virtual]
 

Destructor.

Definition at line 23 of file Thread_Lane_Resources_Manager.cpp.

References lf_strategy_.

00024 {
00025   delete this->lf_strategy_;
00026 }


Member Function Documentation

virtual TAO_Thread_Lane_Resources& TAO_Thread_Lane_Resources_Manager::default_lane_resources void    [pure virtual]
 

Implemented in TAO_Default_Thread_Lane_Resources_Manager.

virtual void TAO_Thread_Lane_Resources_Manager::finalize void    [pure virtual]
 

Finalize resources.

Implemented in TAO_Default_Thread_Lane_Resources_Manager.

Referenced by TAO_ORB_Core::fini.

virtual int TAO_Thread_Lane_Resources_Manager::is_collocated const TAO_MProfile   mprofile [pure virtual]
 

Implemented in TAO_Default_Thread_Lane_Resources_Manager.

Referenced by TAO_ORB_Core::is_collocated.

virtual TAO_Thread_Lane_Resources& TAO_Thread_Lane_Resources_Manager::lane_resources void    [pure virtual]
 

Implemented in TAO_Default_Thread_Lane_Resources_Manager.

Referenced by TAO_ORB_Core::lane_resources.

TAO_LF_Strategy & TAO_Thread_Lane_Resources_Manager::lf_strategy void   
 

Definition at line 29 of file Thread_Lane_Resources_Manager.cpp.

References lf_strategy_.

Referenced by TAO_ORB_Core::lf_strategy.

00030 {
00031   return *this->lf_strategy_;
00032 }

virtual int TAO_Thread_Lane_Resources_Manager::open_default_resources ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    [pure virtual]
 

Open default resources.

Implemented in TAO_Default_Thread_Lane_Resources_Manager.

virtual void TAO_Thread_Lane_Resources_Manager::shutdown_reactor void    [pure virtual]
 

Shutdown reactor.

Implemented in TAO_Default_Thread_Lane_Resources_Manager.


Member Data Documentation

TAO_LF_Strategy* TAO_Thread_Lane_Resources_Manager::lf_strategy_ [protected]
 

The leader follower strategy.

Definition at line 75 of file Thread_Lane_Resources_Manager.h.

Referenced by lf_strategy, TAO_Thread_Lane_Resources_Manager, and ~TAO_Thread_Lane_Resources_Manager.

TAO_ORB_Core* TAO_Thread_Lane_Resources_Manager::orb_core_ [protected]
 

The ORB Core.

Definition at line 72 of file Thread_Lane_Resources_Manager.h.

Referenced by TAO_Thread_Lane_Resources_Manager.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:43:14 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002