Public Member Functions | Private Attributes

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_RT_New_Leader_Generator::TAO_RT_New_Leader_Generator ( TAO_Thread_Lane lane  ) 

Constructor.

Definition at line 27 of file Thread_Pool.cpp.

  : lane_ (lane)
{
}


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.

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


Member Data Documentation

Lane associated with this leader generator.

Definition at line 61 of file Thread_Pool.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines