TAO_RT_New_Leader_Generator Class Reference

Class for creating dynamic threads. More...

#include <Thread_Pool.h>

Inheritance diagram for TAO_RT_New_Leader_Generator:

Inheritance graph
[legend]
Collaboration diagram for TAO_RT_New_Leader_Generator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_RT_New_Leader_Generator (TAO_Thread_Lane &lane)
 Constructor.
void no_leaders_available (void)

Private Attributes

TAO_Thread_Lanelane_
 Lane associated with this leader generator.

Detailed Description

Class for creating dynamic threads.

Definition at line 46 of file Thread_Pool.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_RT_New_Leader_Generator::TAO_RT_New_Leader_Generator ( TAO_Thread_Lane lane  ) 

Constructor.

Definition at line 27 of file Thread_Pool.cpp.

00029   : lane_ (lane)
00030 {
00031 }


Member Function Documentation

void TAO_RT_New_Leader_Generator::no_leaders_available ( void   )  [virtual]

Leader/Follower class uses this method to notify the system that we are out of leaders.

Implements TAO_New_Leader_Generator.

Definition at line 34 of file Thread_Pool.cpp.

References lane_, and TAO_Thread_Lane::new_dynamic_thread().

00035 {
00036   // Request a new dynamic thread from the Thread Lane
00037   this->lane_.new_dynamic_thread ();
00038 }


Member Data Documentation

TAO_Thread_Lane& TAO_RT_New_Leader_Generator::lane_ [private]

Lane associated with this leader generator.

Definition at line 61 of file Thread_Pool.h.

Referenced by no_leaders_available().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:42:59 2010 for TAO_RTCORBA by  doxygen 1.4.7