1 // modellib.cxx - implement an SSG model library.
3 #ifndef _SG_MODEL_LIB_HXX
4 #define _SG_MODEL_LIB_HXX 1
7 # error This library requires C++
10 #include <simgear/compiler.h> // for SG_USING_STD
17 #include <simgear/props/props.hxx>
24 * Class for loading and managing models with XML wrappers.
32 virtual ~SGModelLib ();
33 virtual void flush1();
35 virtual ssgEntity *load_model( const string &fg_root,
37 SGPropertyNode *prop_root,
38 double sim_time_sec );
41 map<string,ssgBase *> _table;
45 #endif // _SG_MODEL_LIB_HXX