15 #ifndef ASYNCTASKSEQUENCE_H 16 #define ASYNCTASKSEQUENCE_H 18 #include "pandabase.h" 20 #include "asyncTask.h" 21 #include "asyncTaskCollection.h" 43 INLINE
void set_repeat_count(
int repeat_count);
44 INLINE
int get_repeat_count()
const;
46 INLINE
int get_current_task_index()
const;
49 virtual bool is_runnable();
50 virtual DoneStatus do_task();
55 void set_current_task(
AsyncTask *task,
bool clean_exit);
65 static void init_type() {
66 AsyncTask::init_type();
67 register_type(_type_handle,
"AsyncTaskSequence",
68 AsyncTask::get_class_type());
71 return get_class_type();
73 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
79 #include "asyncTaskSequence.I" A class to manage a loose queue of isolated tasks, which can be performed either synchronously (in th...
A list of tasks, for instance as returned by some of the AsyncTaskManager query functions.
A special kind of task that serves as a list of tasks internally.
This class represents a concrete task performed by an AsyncManager.
TypeHandle is the identifier used to differentiate C++ class types.