Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » AM3 » Refactoring deprecated AM3 branch to use ATL 3.0 API
Refactoring deprecated AM3 branch to use ATL 3.0 API [message #570278] Thu, 27 August 2009 14:23
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body bgcolor="#ffffff" text="#000000">
Hi everybody, I'm trying to rewrite some parts of AM3's deprecated
packages branch to use ATL 3.0.<br>
I have managed to modify most parts to use the new API, but I have
doubts on a particular piece of code.<br>
The code in hands is in class, and is this
<font face="Courier New, Courier, monospace">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(vm == null)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">vm = AtlVM.ATLVM_REGULAR;&nbsp;</font>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!debug.booleanValue())<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">AtlVM.getVM(vm).launch(asmUrl, libs,
models, params, superimps, options);</font><br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ...<br>
I guess I can rewrite the first red line as<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
<font face="Courier New, Courier, monospace">&nbsp;&nbsp;&nbsp; vm =
</font>but I don't believe this is the correct way to go, I think I
should change the structure somehow.<br>
Can anyone give me a pointer on this?.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Juan Pedro<br>
Previous Topic:The "Linux Package Dependencies" new AM3 use case is now available from the AM3 website
Next Topic:Refactoring deprecated AM3 branch to use ATL 3.0 API
Goto Forum:

Current Time: Mon Oct 18 16:44:14 GMT 2021

Powered by FUDForum. Page generated in 0.01768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top