Panda3D
|
The abstract base class for AsyncTask. More...
#include "asyncTaskBase.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Protected Member Functions | |
void | clear_task (Thread *current_thread) |
Indicates that this task is no longer running on the indicated thread. | |
void | record_task (Thread *current_thread) |
Indicates that this task is now the current task running on the indicated thread, presumably the current thread. |
The abstract base class for AsyncTask.
This is defined here only so we can store a pointer to the current task on the Thread.
Definition at line 31 of file asyncTaskBase.h.
void AsyncTaskBase::clear_task | ( | Thread * | current_thread | ) | [protected] |
Indicates that this task is no longer running on the indicated thread.
Definition at line 73 of file asyncTaskBase.cxx.
Referenced by AsyncTask::unlock_and_do_task().
void AsyncTaskBase::record_task | ( | Thread * | current_thread | ) | [protected] |
Indicates that this task is now the current task running on the indicated thread, presumably the current thread.
Definition at line 47 of file asyncTaskBase.cxx.
Referenced by AsyncTask::unlock_and_do_task().