Added a verbose mode (the default behavior) which is as before.
But when in non-verbose mode, prints only one line per generation.
This commit is contained in:
parent
0fd1336bfe
commit
08e6be4b66
2 changed files with 34 additions and 19 deletions
|
|
@ -38,12 +38,14 @@
|
|||
class eoStdoutMonitor : public eoMonitor
|
||||
{
|
||||
public :
|
||||
eoStdoutMonitor(std::string _delim = "\t") : delim(_delim), firsttime(true) {}
|
||||
eoStdoutMonitor(bool _verbose=true, std::string _delim = "\t") :
|
||||
verbose(_verbose), delim(_delim), firsttime(true) {}
|
||||
eoMonitor& operator()(void);
|
||||
|
||||
private :
|
||||
std::string delim;
|
||||
bool firsttime;
|
||||
bool verbose;
|
||||
std::string delim;
|
||||
bool firsttime;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Reference in a new issue