Post by Ruud den BekkerL.S.,
How can I draw statecharts using Astade.
I guess you already use Astade for generating classes?
A state chart is a special class, just create it.
(Rightclick on a "classes" element and select "add statechart"
Select the context dialog on the statechart and select "Statechart" and
it should be drawn.
Post by Ruud den BekkerAnd how to generate code from it?
1. Create a state chart
2. Select a Coder (There are 5 or 6 different coders)
3. add it to your active component
4. Select "generate code"
If you try the above process and run into trouble, describe the problem
more detailed. I'll try to answer directly to the problem.
One word, why there are so many coders: A state chart needs a message
passing framework to function. C++ don't has a message passing inside
the language, so you need some library, which implements message
passing.
If you use wxWidgets, for example, you should try the
"StateChartCoderWx" by writing "Wx" into the "coder" Field inside the
state chart feature dialog.
If you want to try the Astade Message Passing framework "ACF" you might
use the coder "StateCartCoderACF".
The coder "StateChartCoder" tries a somewhat "general" implementation,
which might be used with nearly any Framework, but it needs some "glue
code" to function.
Regards
Thomas
------------------------------------------------------
http://astade.tigris.org/ds/viewMessage.do?dsForumId=3430&dsMessageId=2676819
To unsubscribe from this discussion, e-mail: [users-unsubscribe-HcrAt6aCZFAWBrYXtHbyV9i2O/***@public.gmane.org].