1 #ifndef ORG_EEROS_SEQUENCER_SEQUENCE_HPP_
2 #define ORG_EEROS_SEQUENCER_SEQUENCE_HPP_
9 #include <condition_variable>
28 virtual std::string
getName()
const;
44 template<
typename Treturn = void,
typename ... Targs>
58 Treturn res =
run(args...);
71 virtual Treturn
run(Targs... args) { }
75 template<
typename ... Targs>
102 virtual void run(Targs... args) { }
139 #endif // ORG_EEROS_SEQUENCER_SEQUENCE_HPP_
virtual Treturn run(Targs...args)
Definition: Sequence.hpp:71
virtual void init()
Definition: Sequence.cpp:24
SequenceBase(std::string name, Sequencer *sequencer)
Definition: Sequence.cpp:5
Definition: Sequence.hpp:45
virtual std::string getName() const
Definition: Sequence.cpp:7
virtual void addCmdSequence(Sequence< void > *seq)
Definition: Sequencer.cpp:152
Definition: SequenceResult.hpp:7
Definition: SequenceResult.hpp:27
Sequence(std::string name, Sequencer *sequencer)
Definition: Sequence.hpp:109
Sequence(std::string name, Sequencer *sequencer)
Definition: Sequence.hpp:48
eeros::logger::Logger< eeros::logger::LogWriter > log
Definition: Sequence.hpp:38
Definition: Sequence.hpp:21
Definition: SequenceResult.hpp:7
SequenceResult< Treturn > operator()(Targs...args)
Definition: Sequence.hpp:50
Sequence(std::string name, Sequencer *sequencer)
Definition: Sequence.hpp:79
SequenceResult< void > operator()()
Definition: Sequence.hpp:113
Definition: SequenceResult.hpp:7
Definition: SequenceResult.hpp:17
virtual void run()
Definition: Sequence.hpp:134
virtual bool checkPreCondition()
Definition: Sequence.cpp:11
Definition: Sequencer.hpp:26
Sequencer * sequencer
Definition: Sequence.hpp:40
virtual bool checkPostCondition()
Definition: Sequence.cpp:14
virtual void exit()
Definition: Sequence.cpp:26
std::string name
Definition: Sequence.hpp:39
SequenceResult< void > operator()(Targs...args)
Definition: Sequence.hpp:81
virtual void yield()
Definition: Sequence.cpp:18
virtual void run(Targs...args)
Definition: Sequence.hpp:102