|
The Boost Statechart LibraryUML to Boost.Statechart mapping summary |
state_machine
or the
asynchronous_state_machine
class templates;
example
simple_state
or state
class templates; exampleContext
template parameter.
Outermost states pass the
state_machine<>
or
asynchronous_state_machine<>
subclass they belong to, inner
states pass their direct outer state;
exampleorthogonal
class template
nested in its outer state; example
state_machine<>
and
asynchronous_state_machine<>
the state that is initially entered
needs to be specified with the InitialState
template parameter;
example
simple_state<>
and
state<>
the inner
state(s) that is/are initially entered can be specified with the
InnerInitial
template parameter;
exampletermination<>
)
and special reaction function (simple_state<>::terminate()
);
example
shallow_history<>
deep_history<>
;
exampleevent
class
template; example
state_machine<>::process_event()
are implicitly call events
simple_state<>::post_event()
or
fifo_scheduler<>::queue_event()
are implicitly signal events
fifo_scheduler<>::queue_event()
when the due time elapsesget
and set
methods.
Whenever set
is called the wrapper posts an appropriate event
custom_reaction<>
;
example
transition<>
or simple_state<>::transit<>
;
example
deferral<>
or
simple_state<>::defer_event()
;
example
custom_reaction<>
;
example
transition<>
or simple_state<>::transit<>()
;
exampleRevised 10 May, 2005
© Copyright Andreas Huber Dönni 2003-2005. The link refers to a spam honeypot. Please remove the words spam and trap to obtain my real address.
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)