RHAPSODY4YOU

--Independent Rational Rhapsody Forum--
It is currently Tue Sep 07, 2010 7:53 pm

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  [ 3 posts ] 
Author Message
 Post subject: Get and set state
PostPosted: Tue Jun 02, 2009 11:41 pm 
Offline

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 127
How do I get the state of a state machine, rather than looping through possible states and testing them with IS_IN?

Also, is it possible to set state without triggering a transition? Basically, I would like to restore state at startup of my model, without having to add events from the default to all the possible states.


Top
 Profile  
 
 
 Post subject:
PostPosted: Wed Jun 10, 2009 8:49 am 
Offline

Joined: Thu Aug 30, 2007 4:31 pm
Posts: 152
Location: Germany
the information about the state is stored in rootState_active;

I heard that it is possible to store and move the current states into a new object - this is interestin for hotswap or redundant based systems .. but I don't know how ...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 16, 2009 1:51 pm 
Offline

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 127
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

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: