15 #ifndef ASYNCTASKBASE_H 16 #define ASYNCTASKBASE_H 18 #include "pandabase.h" 20 #include "typedReferenceCount.h" 41 void record_task(
Thread *current_thread);
42 void clear_task(
Thread *current_thread);
48 static void init_type() {
49 TypedReferenceCount::init_type();
50 register_type(_type_handle,
"AsyncTaskBase",
51 TypedReferenceCount::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 #include "asyncTaskBase.I" The abstract base class for AsyncTask.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
A base class for all things which can have a name.
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.