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

Callable Class Template Reference

#include <Future.h>

List of all members.

Public Methods

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

virtual void call (ResultRef &result)=0


Detailed Description

The Callable is the portion of the Future that is responible for actually performing that work, and setting the results.


Member Function Documentation

virtual void call ResultRef   result [pure virtual]
 

Invoked to perform the work involved in obtaining a value for a Future.

Parameters:
result  - Result object used to receive values or exceptions from this Callable. As soom as the result is used to set a value, or exception, any threads waiting on the Future::getResult() function will be awakened and will either have a value or will throw an exception.


The documentation for this class was generated from the following file:
Generated on Mon Jun 10 22:44:45 2002 for ZThread by doxygen1.2.15