[gme-users] GME Question - need help

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Mar 28 11:21:24 CST 2005


Hi,
 
In Bon2 the following methods can be used to inquire connections of an
fco:
std::set<Connection> my_conns = fco->getConnLinks();

std::set<Connection> my_conns = fco->getInConnLinks();

std::set<Connection> my_conns = fco->getOutConnLinks();

For reference relationship:

FCO pointed = reference->getReferred();

If you have any fco, inquiring if it has any references:

std::set<Reference> refs_to_me = fco->getReferredBy()

Br, Zoli

 

-----Original Message-----
From: Naiser, Samuel L [mailto:samuel.l.naiser at lmco.com] 
Sent: Monday, March 28, 2005 10:55 AM
To: gme-users
Subject: [gme-users] GME Question - need help



I am starting a project at Lockheed Martin to model message processing 

within the F/A-22.  I have created my first MetaModel and am coding a

custom Interpreter to create output to an Analyzer.  I have been able 

to trace down the parent/child relationships successfully, but need to 

get to the Reference relationships and the Connections between 

Models. I have been unable to find a way using BON2 to capture this

information.  I have been debugging the getChildConnections method

for a Model instance.  This returns nothing. I can get to the 4 meta

objects that represent the Connections, but still am unable to get

a handle to the actual Connection instances between object Model<a> and

Model<b>. 

 

Can you please provide some information on how to capture Connection

instances given that I have located either the src or dst.

Thank you,

Sam Naiser 

 

 

Samuel L Naiser

Lockheed Martin Aeronautics

samuel.l.naiser at lmco.com

Office:  817-935-3839

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20050328/0b1a137c/attachment.htm


More information about the gme-users mailing list