|
|
|
A list of tasks, for instance as returned by some of the AsyncTaskManager query functions.
More...
#include "asyncTaskCollection.h"
List of all members.
Detailed Description
A list of tasks, for instance as returned by some of the AsyncTaskManager query functions.
This also serves to define an AsyncTaskSequence.
TODO: None of this is thread-safe yet.
Definition at line 30 of file asyncTaskCollection.h.
Member Function Documentation
| void AsyncTaskCollection::add_task |
( |
AsyncTask * |
task | ) |
|
| void AsyncTaskCollection::clear |
( |
| ) |
|
| AsyncTask * AsyncTaskCollection::find_task |
( |
const string & |
name | ) |
const |
| int AsyncTaskCollection::get_num_tasks |
( |
| ) |
const |
Returns the number of AsyncTasks in the collection.
Definition at line 222 of file asyncTaskCollection.cxx.
Referenced by add_tasks_from(), GraphicsStateGuardian::async_reload_texture(), AsyncTaskSequence::do_task(), find_task(), has_task(), AsyncTaskSequence::is_runnable(), output(), AsyncTaskManager::remove(), remove_duplicate_tasks(), remove_tasks_from(), and write().
| AsyncTask * AsyncTaskCollection::get_task |
( |
int |
index | ) |
const |
| bool AsyncTaskCollection::has_task |
( |
AsyncTask * |
task | ) |
const |
| AsyncTask * AsyncTaskCollection::operator[] |
( |
int |
index | ) |
const |
| void AsyncTaskCollection::output |
( |
ostream & |
out | ) |
const |
| void AsyncTaskCollection::remove_duplicate_tasks |
( |
| ) |
|
| bool AsyncTaskCollection::remove_task |
( |
AsyncTask * |
task | ) |
|
Removes the indicated AsyncTask from the collection.
Returns true if the task was removed, false if it was not a member of the collection.
Definition at line 78 of file asyncTaskCollection.cxx.
| void AsyncTaskCollection::remove_task |
( |
int |
index | ) |
|
| int AsyncTaskCollection::size |
( |
| ) |
const |
| void AsyncTaskCollection::write |
( |
ostream & |
out, |
|
|
int |
indent_level = 0 |
|
) |
| const |
The documentation for this class was generated from the following files:
| | |