Panda3D
Public Member Functions | Static Public Member Functions | Protected Member Functions

AsyncTaskBase Class Reference

The abstract base class for AsyncTask. More...

#include "asyncTaskBase.h"

Inheritance diagram for AsyncTaskBase:
TypedReferenceCount Namable TypedObject ReferenceCount MemoryBase MemoryBase MemoryBase AsyncTask AnimateVerticesRequest AsyncTaskPause AsyncTaskSequence AudioLoadRequest GenericAsyncTask ModelFlattenRequest ModelLoadRequest TextureReloadRequest

List of all members.

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.

Detailed Description

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations