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 

Rational Rose/C++ code generation (newbie question)

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
Dave
Guest





PostPosted: Tue Jun 21, 2005 10:09 am    Post subject: Rational Rose/C++ code generation (newbie question) Reply with quote



Hi,
I'm using Rational Rose 98 to draw state machines and I would like to
know what's the best tool available to generate C++ code (not VC++)
from the state machine diagram.

Specifically, the following state machine features should be supported:
* Hierarchical (composite, nested) states
* Orthogonal (concurrent) states
* Entry-, exit- and transition-actions
* Guards
* Shallow/deep history

I only need to generate code for the state machine specifications, not
the other stuff that I can draw using Rational rose.

any help is appreciated, thanks in advance.

Newbie


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Graham Menhennitt
Guest





PostPosted: Wed Jun 22, 2005 1:05 pm    Post subject: Re: Rational Rose/C++ code generation (newbie question) Reply with quote



On 21 Jun 2005 06:09:01 -0400, "Dave" <pplppp (AT) gmail (DOT) com> wrote:

Quote:
I'm using Rational Rose 98 to draw state machines and I would like to
know what's the best tool available to generate C++ code (not VC++)
from the state machine diagram.

Specifically, the following state machine features should be supported:
* Hierarchical (composite, nested) states
* Orthogonal (concurrent) states
* Entry-, exit- and transition-actions
* Guards
* Shallow/deep history

I used Rational Rose Realtime Edition for a few years (2000-2003) and
it could do all of those things except the orthogonal states bit. When
I last used it, there was talk of merging it in with the standard
Rose, but I don't know if that happened. It still seems to be
available according to
http://www-306.ibm.com/software/awdtools/developer/technical/.
When we started using it, it was very immature but by 2003 it had
improved considerably.

Cheers,
Graham

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Balázs Szalai
Guest





PostPosted: Thu Jun 23, 2005 1:30 pm    Post subject: Re: Rational Rose/C++ code generation (newbie question) Reply with quote



Quote:
I'm using Rational Rose 98 to draw state machines and I would like to
know what's the best tool available to generate C++ code (not VC++)
from the state machine diagram.
I'm also curiously awaiting for answers. Personally I haven't seen much code

generation from Rose98 and doubt if there's any (useful).

But there is "Rose Realtime", which has code generation and (almost) full development cycle support.
Relating to your requirements there are no concurrent states. That's against
the basic principle of capsule (~ object with private thread), which in
itself denotes single flow of control.

Another issue is how you want to express actions? Do you want C++ code
or some more abstract 'action specification' or 'constraint specification'?
You could try some other MDA/MDD/MBSD tools, there are plenty around.

If you only want to generate code for state machine specifications you could
take a look at "Practical Statecharts in C/C++" by Miro Samek ([url]http://www.accu.org/cgi-bin/accu/rvout.cgi?from=0au_s&file=p003466a)[/url].

B

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) 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.