eeros_architecture:sequencer:subsequence
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eeros_architecture:sequencer:subsequence [2015/10/31 09:04] – [Simple Example] graf | eeros_architecture:sequencer:subsequence [2015/10/31 09:05] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| </ | </ | ||
| In our main program we declare a sequencer for the main sequence. The same sequencer will also handle the subsequence. Sequence A and B do not run concurrently. | In our main program we declare a sequencer for the main sequence. The same sequencer will also handle the subsequence. Sequence A and B do not run concurrently. | ||
| - | sequenceB | + | <code cpp> |
| + | int main() { | ||
| + | Sequencer sequencer; | ||
| + | SequenceA seqA(" | ||
| + | sequencerA.start(& | ||
| + | sequencerA.join(); | ||
| + | }; | ||
| + | </ | ||
| The following figure shows the flow of action. | The following figure shows the flow of action. | ||
| {{ : | {{ : | ||
eeros_architecture/sequencer/subsequence.1446278641.txt.gz · Last modified: 2015/10/31 09:04 (external edit)