Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/afsmPublic

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 >;};
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp