Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Denis Gleeson

Pages: [1]
1
Hello All

I'm new to this, so apologies if I'm missing something obvious

I'm interested in generating C++ code (Any code would be good) from a state machine specification of a class method.

I made a project, a view, a package and a class in the package. I created a method in the class called PhoneCall()

Now I can create code for this and I get a .cpp and .h. All good so far

Next I create a state machine. I have no specific link between state names or transitions and my method names.

I can place the state machine under the class in the Project Browser.

But how do I generate code for my state machine inside the code template I get for PhoneCall()?

EA homepage suggests this is possible:
http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/code_generation___state_machin.html


Thanks for any help in advance

Denis

Pages: [1]