7 #ifndef MT4CPP_TICK_COMMAND_HPP
8 #define MT4CPP_TICK_COMMAND_HPP
26 for(
int i=0;i<steps_;++i) {
27 boost::this_thread::sleep_for(boost::chrono::milliseconds(20));
28 progress.setProgress(i/(
double)steps_);
The command module (Command base class, progress, command description).
virtual void operator()(Progress &progress)
Definition: TickCommand.hpp:25
Definition: Command.hpp:21
Definition: Command.hpp:120
Testing concrete command class. This commands waits for some time checking halt flag.
Definition: TickCommand.hpp:20
class to set the progress of given command. Subject in Obverver design pattern. It also check the 'ha...
Definition: Command.hpp:74