It is currently Tue Feb 07, 2012 8:31 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.





 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Get and set state
PostPosted: Tue Jun 02, 2009 11:41 pm 

Joined: Wed Dec 10, 2008 10:51 pm
Posts: 138
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.


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

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 ...


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

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


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 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:

cron

suspicion-preferred