C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RoseRT to "clean c++"

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Petterson Mikael
Guest





PostPosted: Mon Jan 30, 2006 3:00 pm    Post subject: RoseRT to "clean c++" Reply with quote



Hi,

We are still using RoseRT to generate c++ code. Has anyone out there
gone from using this tool another more convetional tool?
I am interested in all hints and pointers.

cheers,

//mikael
Back to top
Bob Hairgrove
Guest





PostPosted: Mon Jan 30, 2006 4:00 pm    Post subject: Re: RoseRT to "clean c++" Reply with quote



On Mon, 30 Jan 2006 15:03:33 +0100, Petterson Mikael
<mikael.petterson (AT) era (DOT) ericsson.se> wrote:

Quote:
We are still using RoseRT to generate c++ code. Has anyone out there
gone from using this tool another more convetional tool?
I am interested in all hints and pointers.

We went from Rose to Visio and now use UML strictly for documentation
purposes.

I'm just wondering how much of your C++ code is actually "generated"
by Rose? We couldn't get it to do much more than just the headers, and
even then there were serious deficiencies which had to be changed
manually. Keeping the code in synch with the diagrams is pretty much a
lost cause after you have t edit anything manually. After awhile, it
got so bad that Rose was getting in the way more often than it helped,
and we decided it wasn't worth the $$$ for the license fee. (Boy, was
our boss glad about that!) And we haven't missed it. Now we use Visio
just to draw up UML documentation of our code.

One of the things Rose couldn't deal with was knowing when to use a
pointer member and when a reference was better. There were issues with
const, etc. Of course, it might have been possible to work around
these problems, but nobody at work had the time to get a doctorate in
using Rose and still get any work done.

--
Bob Hairgrove
NoSpamPlease (AT) Home (DOT) com
Back to top
Ivan Vecerina
Guest





PostPosted: Mon Jan 30, 2006 5:01 pm    Post subject: Re: RoseRT to "clean c++" Reply with quote



"Petterson Mikael" <mikael.petterson (AT) era (DOT) ericsson.se> wrote in message
news:drl6bl$t5k$1 (AT) news (DOT) al.sw.ericsson.se...
: Hi,
:
: We are still using RoseRT to generate c++ code. Has anyone out there
: gone from using this tool another more convetional tool?
: I am interested in all hints and pointers.

My experience had been similar to Bob's. Unfortunately, UML tools
seem unable to express all the subtleties of C++. (the key issue
I had at the time was lack of adequate support for 'const' data).
In the end, we found it easier to use UML only to provide key views
of the system when needed. In addition to that, using a kind of
tool doing the reverse of RoseRT, one that generates documentation
from the source code (and tags/comments), was found to be very
helpful and convenient.

Try doxygen if you aren't familiar with it yet:
www.doxygen.org
(an excellent free tool, unfortunately output is not UML-formatted)


hth -Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <> http://www.brainbench.com
Back to top
ma740988
Guest





PostPosted: Mon Jan 30, 2006 7:00 pm    Post subject: Re: RoseRT to "clean c++" Reply with quote

Quote:
We are still using RoseRT to generate c++ code. Has anyone out there
gone from using this tool another more convetional tool?
I am interested in all hints and pointers.

We went from Rose to Visio and now use UML strictly for documentation
purposes.

I'm just wondering how much of your C++ code is actually "generated"
by Rose? We couldn't get it to do much more than just the headers, and
even then there were serious deficiencies which had to be changed
manually. Keeping the code in synch with the diagrams is pretty much a
lost cause after you have t edit anything manually. After awhile, it
got so bad that Rose was getting in the way more often than it helped,
and we decided it wasn't worth the $$$ for the license fee. (Boy, was
our boss glad about that!) And we haven't missed it. Now we use Visio
just to draw up UML documentation of our code.

Bob, what version of Rose RT are you referring to. The software is not
readily accessible right now hence I can't recall the version I'm
demo-ing but it seems fairly decent.
The learning curve is farily steep (even after 1 week of training), but
we have an IBM representative _literally_ right next to us for any
issues we encounter.
Back to top
Petterson Mikael
Guest





PostPosted: Tue Jan 31, 2006 12:00 pm    Post subject: Re: RoseRT to "clean c++" Reply with quote

Petterson Mikael wrote:
Quote:
Hi,

We are still using RoseRT to generate c++ code. Has anyone out there
gone from using this tool another more convetional tool?
I am interested in all hints and pointers.

cheers,

//mikael

Thanks for the hints and pointers. We generate somewhat between 40 - 70
% of the code in our applications. We use a lot of state transitions. I
have not looked into the code in detail since it is stored in
<filename>.rtlogpkg. Is it here where the c++ code is stored?
Is there a way to reverse engineer the rtlogpkg?

cheers,

//mikael
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.