eeros_architecture:sequencer:define_sequence
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
eeros_architecture:sequencer:define_sequence [2019/03/20 11:49] – [Waiting in Sequences or Steps] graf | eeros_architecture:sequencer:define_sequence [2019/03/21 07:53] – [Write your own Class] graf | ||
---|---|---|---|
Line 7: | Line 7: | ||
class MyStep : public Step { | class MyStep : public Step { | ||
public: | public: | ||
- | MyStep(std:: | + | MyStep(std:: |
... | ... | ||
}; | }; | ||
Line 13: | Line 13: | ||
class MySequence : public Sequence { | class MySequence : public Sequence { | ||
public: | public: | ||
- | MySequence(std:: | + | MySequence(std:: |
... | ... | ||
}; | }; | ||
</ | </ | ||
- | Your constructor usually includes a name for the sequence or step, a reference to the sequencer, and a reference to the caller of this object. The latter point is very important, because every step or sequence must know its caller or owner. \\ | + | Your constructor usually includes a name for the sequence or step, a reference to the caller of this object. The latter point is very important, because every step or sequence must know its caller or owner. \\ |
- | You then initialize the sequence in the initializer list by writing '' | + | You then initialize the sequence in the initializer list by writing '' |
In the body of your constructor you define the attributes of your sequence. This includes: | In the body of your constructor you define the attributes of your sequence. This includes: |
eeros_architecture/sequencer/define_sequence.txt · Last modified: 2023/02/26 00:25 by ursgraf