1 #ifndef __MODEL_LOADER_HXX
2 #define __MODEL_LOADER_HXX 1
5 # error This library requires C++
8 #include <simgear/compiler.h> // for SG_USING_STD
15 #include <simgear/props/props.hxx>
22 * Base class for loading and managing SSG things.
28 virtual ~SGssgLoader ();
29 virtual void flush ();
31 std::map<string,ssgBase *> _table;
36 * Class for loading and managing models with XML wrappers.
38 class SGModelLoader : public SGssgLoader
42 virtual ~SGModelLoader ();
44 virtual ssgEntity *load_model( const string &fg_root,
46 SGPropertyNode *prop_root,
47 double sim_time_sec );