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/structure/ssgSharedPtr.hxx>
18 #include <simgear/props/props.hxx>
25 * Class for loading and managing models with XML wrappers.
33 virtual ~SGModelLib ();
34 virtual void flush1();
36 virtual ssgEntity *load_model( const string &fg_root,
38 SGPropertyNode *prop_root,
39 double sim_time_sec );
42 map<string,ssgSharedPtr<ssgEntity> > _table;
46 #endif // _SG_MODEL_LIB_HXX