RHAPSODY4YOU

--Independent Rational Rhapsody Forum--
It is currently Thu Sep 09, 2010 11:29 am

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: RiCpp Simple Example - Overwriting Framework function
PostPosted: Wed Feb 20, 2008 11:12 am 
Offline

Joined: Sun Sep 02, 2007 1:44 am
Posts: 34
Please find attached an example where I overwrite a framework function to get informed whenever an event was not cosumed

Reasons can be:
    The Statechart is not in the state to consume the event [1]
    The Statechart is busy (run2completion) [0]


So in this example - the event evPing will not be consumed while beeing in the ping state - we are expecting in that case evPong to change the state

Enjoy


Attachments:
File comment: StateChart of Class PingPong
ReactiveInterface.jpg
ReactiveInterface.jpg [ 57.41 KiB | Viewed 264 times ]
File comment: Example (with Rhapsody in C++ 7.1.1)
OMReactiveSample.zip [12.44 KiB]
Downloaded 43 times
File comment: StateChart of Class pingPong
PingPongStatechart.jpg
PingPongStatechart.jpg [ 9.48 KiB | Viewed 265 times ]
Top
 Profile  
 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for: