[gme-users] invoking interpreters

Ray, Sumit (US SSA) sumit.ray at baesystems.com
Thu Dec 13 17:55:30 CST 2012


Thanks. I will try out what you suggest but what I am looking for is an UDM-based statically-linked executable (interpreter) that interacts with a live (running) instance of GME. How does one connect to a GME application processing an "mga" file from a static executable?


-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of gme-users-request at list.isis.vanderbilt.edu
Sent: Thursday, December 13, 2012 1:00 PM
To: gme-users at list.isis.vanderbilt.edu
Subject: gme-users Digest, Vol 102, Issue 2

Send gme-users mailing list submissions to
	gme-users at list.isis.vanderbilt.edu

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	gme-users-request at list.isis.vanderbilt.edu

You can reach the person managing the list at
	gme-users-owner at list.isis.vanderbilt.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gme-users digest..."

Today's Topics:

   1. Re: invoking interpreters (Joe Porter)


Message: 1
Date: Thu, 13 Dec 2012 09:37:32 -0600
From: Joe Porter <joe.porter at gmail.com>
Subject: Re: [gme-users] invoking interpreters
To: "A list for GME users to share thoughts and discuss bugs and
	fixes."	<gme-users at list.isis.vanderbilt.edu>
	<CAAZqtLx7iV=J5riPDYd-cOBANmfBfYnhu8fkbk9_rF78Wh4TAA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"


The chief advantage with UDM is that you can use the XML backend to write
standalone interpreters that are completely independent of GME.  The Udm
installation comes with a utility called UdmCopy that can convert a GME
model into the equivalent XML digestable by Udm.  Your interpreter will
need to include the Udm-generated code, and either include the generated
xsd file in your distribution or else compile it into the code (see the Udm
command-line options).  Instead of all of the COM infrastructure that you
used to integrate your interpreter code into GME, you can simply write a
main function that loads the specified model file and invokes your logic.
 The only tricks are to link against the UDM library, and to make sure you
commit model changes before closing.  UdmCopy and Udm should both provide
command-line help when run from the prompt.

Is that what you're after?


On Wed, Dec 12, 2012 at 6:26 AM, Ray, Sumit (US SSA) <
sumit.ray at baesystems.com> wrote:

>  Hi,****
> ** **
> I have written UDM based C++ interpreters that are DLLs. How do I
> statically build an executable UDM interpreter? How do I then use the
> interpreter from the command line and connect to a running GME instance?**
> **
> ** **
> Also, what are the advantages of using UDM over BON or MON?****
> ** **
> Thanks,****
> Sumit ****
> ** **
> ** **
> Sumit Ray****
> BAE Systems****
> 4301 N. Fairfax DR, Suite 800****
> Arlington, VA 22203****
> * *
> *Phone:: (703) 284-8427*
> *Cell: (571) 970-7558*
> *Fax: (703) 528-4726*
> *Email:: sumit.ray at baesystems.com*****
> ** **
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20121213/dd7ef907/attachment-0001.html 


gme-users mailing list
gme-users at list.isis.vanderbilt.edu

End of gme-users Digest, Vol 102, Issue 2

More information about the gme-users mailing list