1 #ifndef ORG_EEROS_CONTROL_STEP_HPP_ 2 #define ORG_EEROS_CONTROL_STEP_HPP_ 10 template <
typename T =
double >
50 friend std::ostream& operator<<(std::ostream& os, Step<X>& step);
62 std::ostream& operator<<(std::ostream& os, Step<T>& step) {
63 os <<
"Block step: '" << step.getName() <<
"' init val = " << step.initValue <<
" step height = " << step.stepHeight <<
" delay time = " << step.delayTime;
bool stepDone
Definition: Step.hpp:56
static double getTime()
Definition: System_POSIX.cpp:31
T stepHeight
Definition: Step.hpp:54
virtual void setStepHeight(T stepHeight)
Definition: Step.hpp:41
bool first
Definition: Step.hpp:57
Definition: Block1o.hpp:12
Definition: Config.hpp:14
static uint64_t getTimeNs()
Definition: System_POSIX.cpp:41
virtual void reset()
Definition: Step.hpp:32
Output< T > out
Definition: Block1o.hpp:23
virtual void setInitValue(T initValue)
Definition: Step.hpp:37
virtual void setDelayTime(double delayTime)
Definition: Step.hpp:45
double delayTime
Definition: Step.hpp:55
T initValue
Definition: Step.hpp:53
virtual void run()
Definition: Step.hpp:19
Step(T initValue=0, T stepHeight=1, double delayTime=1)
Definition: Step.hpp:14