14 #ifndef AUDIOLOADREQUEST_H 15 #define AUDIOLOADREQUEST_H 36 const std::string &filename,
40 INLINE
const std::string &get_filename()
const;
41 INLINE
bool get_positional()
const;
43 INLINE
bool is_ready()
const;
47 virtual DoneStatus do_task();
51 std::string _filename;
58 static void init_type() {
59 AsyncTask::init_type();
61 AsyncTask::get_class_type());
64 return get_class_type();
66 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class object that manages a single asynchronous audio load request.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.