|
mt4cpp
|
class to set the progress of given command. Subject in Obverver design pattern. It also check the 'halt-command' flag and if it is set it throws exception UserBreakException. More...
#include <Command.hpp>

Public Member Functions | |
| Progress (Command &cmd) | |
| Progress (const Progress &p) | |
| Progress (const Progress &parent, double st, double fi) | |
| void | setProgress (double current) |
| void | step () |
| notify all observers, increase the progress More... | |
| void | changeState (CommandDesc::State state) |
| void | attach (PCommandObserver observer) |
| add observer More... | |
class to set the progress of given command. Subject in Obverver design pattern. It also check the 'halt-command' flag and if it is set it throws exception UserBreakException.
|
inline |
creates sub-progress, the notification of the same observers, but the output progress is recalulated (0% is the 'st', 100% is the 'fi')
|
inline |
notify all observers, increase the progress
References mt4cpp::Command::checkHaltFlag(), and mt4cpp::CommandObserver::notifyStep().
|
inline |
add observer
Referenced by mt4cpp::Command::attach().
1.8.8