Erik Hofman wrote:

> Jon S Berndt wrote:
>
> > So, my question is: What is the philosophy behind loading various
> > classes with their own data from the config file using EasyXML
callbacks?
>
> You could store the data into a property tree and let every subsystem
> scan it's own directory. This tree could be detached from the main tree
> and could be removed safely after initialization is done.

I think Jon wants to preserve the current JSBsim syntax and not use
the property syntax.
However Jon, you can have a look at the readProperties functions here
http://www.simgear.org/doxygen/props__io_8hxx.html that will show you
a non trivial use of readXML to retrieve the property tree.

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to