Go to the documentation of this file.
14 #ifndef MODELLOADREQUEST_H
15 #define MODELLOADREQUEST_H
42 INLINE
const Filename &get_filename()
const;
44 INLINE
Loader *get_loader()
const;
46 INLINE
bool is_ready()
const;
49 MAKE_PROPERTY(filename, get_filename);
50 MAKE_PROPERTY(options, get_options);
51 MAKE_PROPERTY(loader, get_loader);
54 virtual DoneStatus do_task();
65 static void init_type() {
66 AsyncTask::init_type();
68 AsyncTask::get_class_type());
71 return get_class_type();
73 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A convenient class for loading models from disk, in bam or egg format (or any of a number of other fo...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
Specifies parameters that may be passed to the loader.
A class object that manages a single asynchronous model load request.
TypeHandle is the identifier used to differentiate C++ class types.
This class represents a concrete task performed by an AsyncManager.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.