#include <modelPool.h>
Private Types | |
typedef pmap< string, PT(PandaNode) | Models ) |
Private Member Functions | |
INLINE | ModelPool () |
bool | ns_has_model (const string &filename) |
PandaNode * | ns_load_model (const string &filename) |
void | ns_add_model (const string &filename, PandaNode *model) |
void | ns_release_model (const string &filename) |
void | ns_release_all_models () |
int | ns_garbage_collect () |
void | ns_list_contents (ostream &out) |
Static Private Member Functions | |
INLINE bool | verify_model (const string &filename) |
INLINE PandaNode * | load_model (const string &filename) |
INLINE void | add_model (const string &filename, PandaNode *model) |
INLINE void | release_model (const string &filename) |
INLINE void | release_all_models () |
INLINE int | garbage_collect () |
INLINE void | list_contents (ostream &out) |
ModelPool * | get_ptr () |
Private Attributes | |
PUBLISHED | __pad0__: INLINE static bool has_model(const string &filename) |
Models | _models |
Static Private Attributes | |
ModelPool * | _global_ptr = (ModelPool *)NULL |
|
Definition at line 77 of file modelPool.h. Referenced by ns_garbage_collect(). |
|
|
|
|
|
|
|
Definition at line 156 of file modelPool.cxx. References _global_ptr, and NULL. |
|
|
|
|
|
Definition at line 77 of file modelPool.cxx. References _models. |
|
Definition at line 112 of file modelPool.cxx. |
|
Definition at line 34 of file modelPool.cxx. References _models. |
|
Definition at line 140 of file modelPool.cxx. References _models. |
|
Definition at line 51 of file modelPool.cxx. References _models, model_loader, NULL, and PT. |
|
Definition at line 102 of file modelPool.cxx. References _models. |
|
Definition at line 88 of file modelPool.cxx. References _models. |
|
|
|
|
|
|
|
Definition at line 51 of file modelPool.h. |
|
Definition at line 24 of file modelPool.cxx. Referenced by get_ptr(). |
|
Definition at line 78 of file modelPool.h. Referenced by ns_add_model(), ns_garbage_collect(), ns_has_model(), ns_list_contents(), ns_load_model(), ns_release_all_models(), and ns_release_model(). |