User Tools

Site Tools


eeros_architecture:sequencer:sequencer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
eeros_architecture:sequencer:sequencer [2018/08/07 12:34] – [Sequencer] grafeeros_architecture:sequencer:sequencer [2021/04/20 15:33] – [Sequencer] ursgraf
Line 10: Line 10:
 <code cpp> <code cpp>
   MainSequence mainSequence("Main Sequence", sequencer); // define main sequence   MainSequence mainSequence("Main Sequence", sequencer); // define main sequence
-  sequencer.addSequence(mainSequence);                   // add it to the sequencer +  mainSequence();                                        // start it
-  mainSequence.start();                                  // start it+
   ...                                                    // do other things such as starting the executor   ...                                                    // do other things such as starting the executor
-  mainSequence.waitAndTerminate();                       // wait for the sequencer to finish and terminate its thread+  sequencer.wait();                                      // wait for the sequencer to finish its sequence
 </code> </code>
  
eeros_architecture/sequencer/sequencer.txt · Last modified: 2021/12/23 17:40 by ursgraf