- Notifications
You must be signed in to change notification settings - Fork25
Orthogonal Regions
Sergei Fedorov edited this pageNov 28, 2016 ·1 revision
A state containing orthogonal regions is a state containing one or more independent compound states.
To define a state machine with orthogonal regions you should defineorthogonal_regions type as atype_tuple in a state machine.transitions andinitial_state types will be ignored, the state machine will first pass the event to the contained regions (all of then than can handle the event), and then will checkinternal_transitions.
structortho_regions_def : ::afsm::def::state_machine<ortho_regions_def> {structregion_a : state_machine<region_a> {// Skip ... };structregion_b : state<region_b> {};using orthogonal_regions = type_tuple< region_a, region_b >;};
- Home
- Tutorial
- Concepts
- State Hierarchy
- Entry/Exit Actions
- Transition Actions
- Transition Guards
- Internal Transitions
- Default Transitions
- Event Deferring
- History
- Orthogonal Regions
- Event Priority
- Common Base
- Thread Safety
- Exception Safety Guarantees
- Under the Hood
- Event Processing
- Performance