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

TAO_Default_Thread_Lane_Resources_Manager Class Reference

Simple manager for thread lane resources. More...

#include <Default_Thread_Lane_Resources_Manager.h>

Inheritance diagram for TAO_Default_Thread_Lane_Resources_Manager:

Inheritance graph
[legend]
Collaboration diagram for TAO_Default_Thread_Lane_Resources_Manager:

Collaboration graph
[legend]
List of all members.

Accessors

TAO_Thread_Lane_Resourceslane_resources (void)
TAO_Thread_Lane_Resourcesdefault_lane_resources (void)

Public Methods

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

 ~TAO_Default_Thread_Lane_Resources_Manager (void)
 Destructor. More...

void finalize (void)
 Finalize resources. More...

int open_default_resources (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
 Open default resources. More...

void shutdown_reactor (void)
 Shutdown reactor. More...

int is_collocated (const TAO_MProfile &mprofile)

Protected Attributes

TAO_Thread_Lane_Resourceslane_resources_
 Default lane resources. More...


Detailed Description

Simple manager for thread lane resources.

Definition at line 32 of file Default_Thread_Lane_Resources_Manager.h.


Constructor & Destructor Documentation

TAO_Default_Thread_Lane_Resources_Manager::TAO_Default_Thread_Lane_Resources_Manager TAO_ORB_Core   orb_core
 

Constructor.

Definition at line 17 of file Default_Thread_Lane_Resources_Manager.cpp.

References ACE_NEW.

00018   : TAO_Thread_Lane_Resources_Manager (orb_core),
00019     lane_resources_ (0)
00020 {
00021   // Create the default resources.
00022   ACE_NEW (this->lane_resources_,
00023            TAO_Thread_Lane_Resources (orb_core));
00024 }

TAO_Default_Thread_Lane_Resources_Manager::~TAO_Default_Thread_Lane_Resources_Manager void   
 

Destructor.

Definition at line 26 of file Default_Thread_Lane_Resources_Manager.cpp.

References lane_resources_.

00027 {
00028   // Delete the default resources.
00029   delete this->lane_resources_;
00030 }


Member Function Documentation

TAO_Thread_Lane_Resources & TAO_Default_Thread_Lane_Resources_Manager::default_lane_resources void    [virtual]
 

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 57 of file Default_Thread_Lane_Resources_Manager.cpp.

References lane_resources.

00058 {
00059   return this->lane_resources ();
00060 }

void TAO_Default_Thread_Lane_Resources_Manager::finalize void    [virtual]
 

Finalize resources.

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 44 of file Default_Thread_Lane_Resources_Manager.cpp.

References TAO_Thread_Lane_Resources::finalize, and lane_resources_.

00045 {
00046   // Finalize default resources.
00047   this->lane_resources_->finalize ();
00048 }

int TAO_Default_Thread_Lane_Resources_Manager::is_collocated const TAO_MProfile   mprofile [virtual]
 

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 69 of file Default_Thread_Lane_Resources_Manager.cpp.

References TAO_Thread_Lane_Resources::is_collocated, and lane_resources_.

00070 {
00071   return this->lane_resources_->is_collocated (mprofile);
00072 }

TAO_Thread_Lane_Resources & TAO_Default_Thread_Lane_Resources_Manager::lane_resources void    [virtual]
 

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 51 of file Default_Thread_Lane_Resources_Manager.cpp.

References lane_resources_.

Referenced by default_lane_resources.

00052 {
00053   return *this->lane_resources_;
00054 }

int TAO_Default_Thread_Lane_Resources_Manager::open_default_resources ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS    [virtual]
 

Open default resources.

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 33 of file Default_Thread_Lane_Resources_Manager.cpp.

References ACE_CHECK_RETURN, ACE_ENV_ARG_PARAMETER, ACE_ENV_SINGLE_ARG_DECL, lane_resources_, and TAO_Thread_Lane_Resources::open_acceptor_registry.

00034 {
00035   int result =
00036     this->lane_resources_->open_acceptor_registry (0
00037                                                     ACE_ENV_ARG_PARAMETER);
00038   ACE_CHECK_RETURN (-1);
00039 
00040   return result;
00041 }

void TAO_Default_Thread_Lane_Resources_Manager::shutdown_reactor void    [virtual]
 

Shutdown reactor.

Implements TAO_Thread_Lane_Resources_Manager.

Definition at line 63 of file Default_Thread_Lane_Resources_Manager.cpp.

References lane_resources_, and TAO_Thread_Lane_Resources::shutdown_reactor.

00064 {
00065   this->lane_resources_->shutdown_reactor ();
00066 }


Member Data Documentation

TAO_Thread_Lane_Resources* TAO_Default_Thread_Lane_Resources_Manager::lane_resources_ [protected]
 

Default lane resources.

Definition at line 67 of file Default_Thread_Lane_Resources_Manager.h.

Referenced by finalize, is_collocated, lane_resources, open_default_resources, shutdown_reactor, and ~TAO_Default_Thread_Lane_Resources_Manager.


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