15 #ifndef AUDIOLOADREQUEST_H
16 #define AUDIOLOADREQUEST_H
18 #include "pandabase.h"
20 #include "asyncTask.h"
21 #include "audioManager.h"
22 #include "audioSound.h"
23 #include "pointerTo.h"
43 INLINE
const string &get_filename()
const;
44 INLINE
bool get_positional()
const;
46 INLINE
bool is_ready()
const;
50 virtual DoneStatus do_task();
64 static void init_type() {
65 AsyncTask::init_type();
66 register_type(_type_handle,
"AudioLoadRequest",
67 AsyncTask::get_class_type());
70 return get_class_type();
72 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 #include "audioLoadRequest.I"
A class object that manages a single asynchronous audio load request.
This class represents a concrete task performed by an AsyncManager.
TypeHandle is the identifier used to differentiate C++ class types.