Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members  

ThreadFactory Class Reference

#include <ThreadFactory.h>

Inheritance diagram for ThreadFactory:

DefaultThreadFactory List of all members.

Public Methods

virtual ~ThreadFactory () throw ()
 Destroy the ThreadFactory.

virtual Threadcreate ()=0

Detailed Description

Author:
Eric Crahen <crahen@cse.buffalo.edu>
Date:
<2002-05-31T17:00:19-0400>
Version:
2.2.0
A ThreadFactory produces Thread objects. This factory returns not only new Threads, but also the responsbiliy for destroying those Threads.


Member Function Documentation

virtual Thread* create   [pure virtual]
 

Create a new Thread. The ownership of the Thread is passed to the code that calls this function.

Exceptions:
Synchronization_Exception  thrown if a new Thread cannot be created.

Implemented in DefaultThreadFactory.


The documentation for this class was generated from the following file:
Generated on Tue Aug 27 07:43:15 2002 for ZThread by doxygen1.2.17