#include <fsa.H>
Public Member Functions | |
Arc_t () | |
Arc_t (const EVENT &e, CallBack_t< EVENT > *c) | |
Arc_t (Guard_t< EVENT > *g, CallBack_t< EVENT > *c) | |
int | execute (State_t< EVENT > *&s, const EVENT &e, State_t< EVENT > *start) const |
int | match (const EVENT &e) const |
int | guarded () const |
const Guard_t< EVENT > * | guard () const |
const State_t< EVENT > * | next () const |
const EVENT & | event () const |
const CallBack_t< EVENT > * | callback () const |
CallBack_t< EVENT > * | get_callback () |
int | operator== (const Arc_t< EVENT > &a) const |
Protected Attributes | |
CallBack_t< EVENT > * | _c |
Guard_t< EVENT > * | _guard |
An Arc is traversed when its specific Event is generated. Traversing an Arc results in the Callback associated with the Arc being executed. The next state of the FSA is returned by the callback.
Definition at line 198 of file fsa.H.
|
|
|
|
|
|
|
Definition at line 218 of file fsa.H. References Arc_t< EVENT >::_c. |
|
Definition at line 217 of file fsa.H. References Arc_t< EVENT >::_guard. |
|
Definition at line 207 of file fsa.H. References Arc_t< EVENT >::_c. |
|
Definition at line 219 of file fsa.H. References Arc_t< EVENT >::_c. |
|
Definition at line 215 of file fsa.H. References Arc_t< EVENT >::_guard. |
|
Definition at line 213 of file fsa.H. References Arc_t< EVENT >::_guard. Referenced by State_t< EVENT >::operator+=(). |
|
Definition at line 211 of file fsa.H. References Arc_t< EVENT >::_guard. |
|
Definition at line 216 of file fsa.H. References Arc_t< EVENT >::_c. |
|
Definition at line 221 of file fsa.H. References Arc_t< EVENT >::_c, and Arc_t< EVENT >::_guard. |
|
Definition at line 227 of file fsa.H. Referenced by Arc_t< EVENT >::callback(), Arc_t< EVENT >::execute(), Arc_t< EVENT >::get_callback(), Arc_t< EVENT >::next(), and Arc_t< EVENT >::operator==(). |
|
Definition at line 228 of file fsa.H. Referenced by Arc_t< EVENT >::event(), Arc_t< EVENT >::guard(), Arc_t< EVENT >::guarded(), Arc_t< EVENT >::match(), and Arc_t< EVENT >::operator==(). |