It is currently Thu Feb 09, 2012 1:05 am



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.





 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: RiCpp Simple Example - Overwriting Framework function
PostPosted: Wed Feb 20, 2008 11:12 am 

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 483 times ]
File comment: Example (with Rhapsody in C++ 7.1.1)
OMReactiveSample.zip [12.44 KiB]
Downloaded 71 times
File comment: StateChart of Class pingPong
PingPongStatechart.jpg
PingPongStatechart.jpg [ 9.48 KiB | Viewed 483 times ]
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 


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:


suspicion-preferred