#include <loader.h>
Inheritance diagram for Loader:
Public Member Functions | |
INLINE void | add_file (const Filename &file, LoaderFileType *type) |
Private Types | |
typedef pvector< ConsiderFile > | Files |
typedef TokenBoard< LoaderToken > | LoaderTokenBoard |
Private Member Functions | |
INLINE | Results (const Results ©) |
INLINE void | operator= (const Results ©) |
INLINE | ~Results () |
INLINE void | clear () |
INLINE int | get_num_files () const |
INLINE const Filename & | get_file (int n) const |
INLINE LoaderFileType * | get_file_type (int n) const |
Loader () | |
~Loader () | |
int | find_all_files (const Filename &filename, const DSearchPath &search_path, Results &results) const |
INLINE | PT (PandaNode) load_sync(const Filename &filename |
uint | request_load (const string &event_name, const Filename &filename, bool search=true) |
bool | check_load (uint id) |
PT (PandaNode) fetch_load(uint id) | |
virtual bool | process_request (void) |
PT (PandaNode) load_file(const Filename &filename | |
Static Private Member Functions | |
void | load_file_types () |
Private Attributes | |
PUBLISHED | __pad0__: class EXPCL_PANDA Results { PUBLISHED: INLINE Results() |
Files | _files |
INLINE bool | search = true) const |
bool search | const |
LoaderTokenBoard * | _token_board |
Static Private Attributes | |
bool | _file_types_loaded = false |
|
|
|
|
|
|
|
Definition at line 71 of file loader.cxx. References _token_board. |
|
Definition at line 81 of file loader.cxx. References _token_board, and AsyncUtility::destroy_thread(). |
|
|
|
Definition at line 277 of file loader.cxx. References _token_board, id, and TokenBoard< LoaderToken >::is_done_token(). Referenced by event_c(). |
|
|
|
|
|
|
|
|
|
|
Definition at line 309 of file loader.cxx. References _file_types_loaded, load_file_type, and NULL. Referenced by find_all_files(), and request_load(). |
|
|
|
Implements AsyncUtility. Definition at line 335 of file loader.cxx. References TokenBoard< LoaderToken >::_done, _token_board, TokenBoard< LoaderToken >::_waiting, NULL, PT(), and throw_event(). Referenced by request_load(). |
|
|
|
|
|
Referenced by process_request(), and request_load(). |
|
Definition at line 208 of file loader.cxx. References _file_types_loaded, AsyncUtility::_next_token, AsyncUtility::_threaded, _token_board, TokenBoard< LoaderToken >::_waiting, AsyncUtility::create_thread(), load_file_types(), process_request(), PT(), and search(). Referenced by event_p(). |
|
|
|
Reimplemented from AsyncUtility. |
|
Definition at line 40 of file loader.cxx. Referenced by find_all_files(), load_file_types(), and request_load(). |
|
|
|
Definition at line 88 of file loader.h. Referenced by check_load(), Loader(), process_request(), request_load(), and ~Loader(). |
|
|
|
|