If you can read this text, it means you are not experiencing this website at its best. This website is designed for used with a standards-compliant browser.
Current version: 2.3.2
ZThreads
A platform-independent, multi-threading and synchronization library for C++
Home Documentation Downloads CVS Contact

#include <Task.h>

Inheritance diagram for Task:
CountedPtr< Runnable, AtomicCount >

Public Member Functions

 Task (Runnable *raw)
template<typename U>
 Task (U *raw)
 Task (const CountedPtr< Runnable, AtomicCount > &ptr)
template<typename U, typename V>
 Task (const CountedPtr< U, V > &ptr)
void operator() ()
Public Member Functions inherited from CountedPtr< Runnable, AtomicCount >
const CountedPtroperator= (const CountedPtr &ptr)
void reset ()
void swap (CountedPtr &ptr)
bool less (const CountedPtr &ptr) const
bool equal (const CountedPtr &ptr) const
Runnableoperator* ()
Runnableoperator-> ()
bool operator! () const
 operator bool () const

Detailed Description

Author
Eric Crahen http://www.code-foo.com
Date
<2003-07-20T05:22:38-0400>
Version
2.3.0

A Task provides a CountedPtr wrapper for Runnable objects. This wrapper enables an implicit conversion from a Runnable* to a Task adding some syntactic sugar to the interface.


The documentation for this class was generated from the following file:
  • Task.h