A base class for callbacks during the load process.
More...
#include </home/werner/origo/vish/memcore/Loader.hpp>
List of all members.
Public Member Functions
-
virtual bool busy (const string &what)
-
LoaderProgress ()
- Constructor.
-
virtual bool message (const string &what)
-
virtual bool OpenFile (const string &fname)
- Notification of opening a file.
-
virtual bool progress (const string &what, int Current, int Max)
- virtual bool tryLoader (const WeakPtrLoaderBase &WhichLoader, const type_info &LoadWhat, int loadernumber, int howmanyloaders)
- Callback function telling which loader is currently tried to load a specific source.
Detailed Description
A base class for callbacks during the load process.
,LoaderRegistry
Member Function Documentation
bool MemCore::LoaderProgress::tryLoader |
( |
const WeakPtrLoaderBase & |
WhichLoader, |
|
|
const type_info & |
LoadWhat, |
|
|
int |
loadernumber, |
|
|
int |
howmanyloaders |
|
) |
| [virtual] |
Callback function telling which loader is currently tried to load a specific source.
If it returns false, then the provided loader will not be used and the process of loading continues to look for another loader.
The documentation for this class was generated from the following files:
- memcore/Loader.hpp
- memcore/Loader.cpp