14 #ifndef ASYNCTASKSEQUENCE_H 15 #define ASYNCTASKSEQUENCE_H 39 INLINE
void set_repeat_count(
int repeat_count);
40 INLINE
int get_repeat_count()
const;
42 INLINE
size_t get_current_task_index()
const;
45 virtual bool is_runnable();
46 virtual DoneStatus do_task();
51 void set_current_task(
AsyncTask *task,
bool clean_exit);
61 static void init_type() {
62 AsyncTask::init_type();
64 AsyncTask::get_class_type());
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A class to manage a loose queue of isolated tasks, which can be performed either synchronously (in th...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A list of tasks, for instance as returned by some of the AsyncTaskManager query functions.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A special kind of task that serves as a list of tasks internally.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class represents a concrete task performed by an AsyncManager.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.