55 INLINE
void operator = (
const Results ©);
59 INLINE
int get_num_files()
const;
60 INLINE
const Filename &get_file(
int n)
const;
61 MAKE_SEQ(get_files, get_num_files, get_file);
63 MAKE_SEQ(get_file_types, get_num_files, get_file_type);
73 explicit Loader(
const std::string &name =
"loader");
77 INLINE
void set_task_chain(
const std::string &task_chain);
78 INLINE
const std::string &get_task_chain()
const;
80 BLOCKING INLINE
void stop_threads();
88 INLINE
void load_async(
AsyncTask *request);
95 INLINE
void save_async(
AsyncTask *request);
97 BLOCKING PT(
PandaNode) load_bam_stream(std::istream &in);
99 virtual void output(std::ostream &out)
const;
101 INLINE
static Loader *get_global_ptr();
113 static void make_global_ptr();
116 std::string _task_chain;
118 static void load_file_types();
119 static bool _file_types_loaded;
121 static PT(
Loader) _global_ptr;
127 static void init_type() {
128 TypedReferenceCount::init_type();
129 Namable::init_type();
131 TypedReferenceCount::get_class_type(),
132 Namable::get_class_type());
135 return get_class_type();
137 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 class to manage a loose queue of isolated tasks, which can be performed either synchronously (in th...
This class represents a concrete task performed by an AsyncManager.
The name of a file, such as a texture file or an Egg file.
This is the base class for a family of scene-graph file types that the Loader supports.
Specifies parameters that may be passed to the loader.
A convenient class for loading models from disk, in bam or egg format (or any of a number of other fo...
A class object that manages a single asynchronous model load request.
A base class for all things which can have a name.
void output(std::ostream &out) const
Outputs the Namable.
A basic node of the scene graph or data graph.
TypeHandle is the identifier used to differentiate C++ class types.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
This is our own Panda specialization on the default STL vector.
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.
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.
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(),...