Boost logo

Boost Users :

From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2007-04-12 16:47:04


I'm using boost CVS version gotten on Fri Apr 6 11:48:58 EDT 2007.

I'm starting to use boost::statechart for the first time.

Scanning the available documentation has produced some questions.

I found the following text in a C++ comment within the tutorial:
context<>() is used to gain access to the direct or indirect context
of a state. This can either be a direct or indirect outer state or the
state machine itself.

1, What does "direct" "indirect" context mean?

It is documented a number of places that the possible types of reactions
are:
   1. custom-reaction
   2. in-state-reaction
   3. deferral
   4. transition

2. What is the syntax for using an "in-state-reaction", which I assume
is a self transition?

3. What is a custom-reaction?

4. What is a deferral?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net