Re: [Flightgear-devel] props.html

2004-07-03 Thread Erik Hofman
Jon Berndt wrote:
Would you say that the JSBSim property tree is "grafted" onto the FlightGear tree?
Yes, that sounds like a good description of the situation.
Erik
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] props.html

2004-07-03 Thread Ampere K. Hardraade
May be it is time we update the Source/docs-mini/README.properties to include 
Erik's description.

Regards,
Ampere

On July 3, 2004 10:28 am, Vivian Meazza wrote:
> It is :-). There is also a short, and not very useful, discourse on XML
> available, but I think Eric's description is about as good as it gets.
>
> V.

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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Jon Berndt
> The property system is best described as an in-memory LDAP database 
> which holds the state of global variables. The system has a tree like 
> hierarchy (like a file system) and has a root node, sub nodes (like 
> subdirectories) and end-nodes (variables).
> 
> All variables are kept internally as raw values and can be converted to 
> any other supported type (boolean, int, float double and string).
> 
> Like a file system, every node can be accessed relative to the current 
> node, or absolute to the root node.
> 
> The property system also allows aliasing nodes to other nodes (like 
> symbolic linking files or directories to other files or directories) and 
> may be assigned read-only or read-write.
> 
> If necessary it would be possible for parts of the program to hold it's 
> own property tree, which is inaccessible from the global property tree, 
> by keeping track of it's own root-node.
> 
> Property I/O code allows one to easily read the tree from, or write the 
> tree to an XML file.

Would you say that the JSBSim property tree is "grafted" onto the FlightGear tree?

Jon


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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Vivian Meazza


 Jon Berndt wrote

> Sent: 03 July 2004 15:12
> To: FlightGear developers discussions
> Subject: RE: [Flightgear-devel] props.html
> 
> 
> That just appears to be a list of properties.
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Vivian 
> > Meazza
> > Sent: Saturday, July 03, 2004 9:00 AM
> > To: 'FlightGear developers discussions'
> > Subject: RE: [Flightgear-devel] props.html
> > 
> > 
> > 
> > 
> > Vivian Meazza wrote
> > 
> > 
> > > Sent: 03 July 2004 14:52
> > > To: 'FlightGear developers discussions'
> > > Subject: RE: [Flightgear-devel] props.html
> > > 
> > > 
> > > 
> > > 
> > > Jon Berndt wrote
> > >  
> > > > Can anyone tell me if/where the props.html file is that 
> describes 
> > > > the property system? I can't seem to find it in the 
> source tree or 
> > > > on the web sites - but it IS in simgear CVS.
> > > 
> > > 
> > > It used to be around - I have a print-out of it! What bit do
> > > you want? I
> > > could scan it in.
> > > 
> > 
> > Is this what you were after?
> > 
> > Source/docs-mini/README.properties
> > 
> > V.
> > 

It is :-). There is also a short, and not very useful, discourse on XML
available, but I think Eric's description is about as good as it gets.

V.



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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Jon Berndt
That just appears to be a list of properties.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Vivian
> Meazza
> Sent: Saturday, July 03, 2004 9:00 AM
> To: 'FlightGear developers discussions'
> Subject: RE: [Flightgear-devel] props.html
> 
> 
> 
> 
> Vivian Meazza wrote
> 
> 
> > Sent: 03 July 2004 14:52
> > To: 'FlightGear developers discussions'
> > Subject: RE: [Flightgear-devel] props.html
> > 
> > 
> > 
> > 
> > Jon Berndt wrote
> >  
> > > Can anyone tell me if/where the props.html file is that
> > > describes the property system? I can't seem to find it in the 
> > > source tree or on the web sites - but it IS in simgear CVS.
> > 
> > 
> > It used to be around - I have a print-out of it! What bit do 
> > you want? I
> > could scan it in.
> > 
> 
> Is this what you were after?
> 
> Source/docs-mini/README.properties
> 
> V.
> 
> 
> 
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Jon Berndt
> The property system is best described as an in-memory LDAP database
> which holds the state of global variables. The system has a tree like
> hierarchy (like a file system) and has a root node, sub nodes (like
> subdirectories) and end-nodes (variables).
>
> All variables are kept internally as raw values and can be converted to
> any other supported type (boolean, int, float double and string).
>
> Like a file system, every node can be accessed relative to the current
> node, or absolute to the root node.
>
> The property system also allows aliasing nodes to other nodes (like
> symbolic linking files or directories to other files or directories) and
> may be assigned read-only or read-write.
>
> If necessary it would be possible for parts of the program to hold it's
> own property tree, which is inaccessible from the global property tree,
> by keeping track of it's own root-node.

This is pretty good - I may incorporate some of this in the paper.

> Property I/O code allows one to easily read the tree from, or write the
> tree to an XML file.

After reading this, I suspect that we (JSBSim) could be using the property system 
inherent
features more advantageously. This will all come when we incorporate a better XML 
parser,
I expect.

Jon


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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Vivian Meazza


Vivian Meazza wrote


> Sent: 03 July 2004 14:52
> To: 'FlightGear developers discussions'
> Subject: RE: [Flightgear-devel] props.html
> 
> 
> 
> 
> Jon Berndt wrote
>  
> > Can anyone tell me if/where the props.html file is that
> > describes the property system? I can't seem to find it in the 
> > source tree or on the web sites - but it IS in simgear CVS.
> 
> 
> It used to be around - I have a print-out of it! What bit do 
> you want? I
> could scan it in.
> 

Is this what you were after?

Source/docs-mini/README.properties

V.



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


Re: [Flightgear-devel] props.html

2004-07-03 Thread Erik Hofman
Jon Berndt wrote:
Can anyone tell me if/where the props.html file is that describes the property system? 
I
can't seem to find it in the source tree or on the web sites - but it IS in simgear 
CVS.
There doesn't seem to be a file called props.html, and as far as I can 
remember there hasn't been any.

The property system is best described as an in-memory LDAP database 
which holds the state of global variables. The system has a tree like 
hierarchy (like a file system) and has a root node, sub nodes (like 
subdirectories) and end-nodes (variables).

All variables are kept internally as raw values and can be converted to 
any other supported type (boolean, int, float double and string).

Like a file system, every node can be accessed relative to the current 
node, or absolute to the root node.

The property system also allows aliasing nodes to other nodes (like 
symbolic linking files or directories to other files or directories) and 
may be assigned read-only or read-write.

If necessary it would be possible for parts of the program to hold it's 
own property tree, which is inaccessible from the global property tree, 
by keeping track of it's own root-node.

Property I/O code allows one to easily read the tree from, or write the 
tree to an XML file.

HTH
Erik
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


RE: [Flightgear-devel] props.html

2004-07-03 Thread Jon Berndt
> Jon Berndt wrote
>
> > Can anyone tell me if/where the props.html file is that
> > describes the property system? I can't seem to find it in the
> > source tree or on the web sites - but it IS in simgear CVS.
>
>
> It used to be around - I have a print-out of it! What bit do you want? I
> could scan it in.
>
> Vivian

I actually need to refer to it as a reference, but I don't see that it actually exists 
as
a "live document" on any web site.


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


RE: [Flightgear-devel] props.html

2004-07-03 Thread Vivian Meazza


Jon Berndt wrote
 
> Can anyone tell me if/where the props.html file is that 
> describes the property system? I can't seem to find it in the 
> source tree or on the web sites - but it IS in simgear CVS.


It used to be around - I have a print-out of it! What bit do you want? I
could scan it in.

Vivian 



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


[Flightgear-devel] props.html

2004-07-03 Thread Jon Berndt
Can anyone tell me if/where the props.html file is that describes the property system? 
I
can't seem to find it in the source tree or on the web sites - but it IS in simgear 
CVS.

Jon


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