Task Class Reference
#include <Task.h>
Inheritance diagram for Task:
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 > | |
| CountedPtr (Runnable *raw) | |
| CountedPtr (U *raw) | |
| CountedPtr (const CountedPtr &ptr) | |
| CountedPtr (const CountedPtr< U, V > &ptr) | |
| const CountedPtr & | operator= (const CountedPtr &ptr) |
| const CountedPtr & | operator= (const CountedPtr< U, V > &ptr) |
| void | reset () |
| void | swap (CountedPtr &ptr) |
| void | swap (CountedPtr< U, V > &ptr) |
| bool | less (const CountedPtr &ptr) const |
| bool | less (const CountedPtr< U, V > &ptr) const |
| bool | equal (const CountedPtr &ptr) const |
| bool | equal (const CountedPtr< U, V > &ptr) const |
| Runnable & | operator* () |
| Runnable * | operator-> () |
| const Runnable * | operator-> () const |
| bool | operator! () const |
| operator bool () const | |
Detailed Description
- 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
Public Member Functions inherited from