* indentations + whitespace cleanup

This commit is contained in:
Caner Candan 2011-05-05 16:54:00 +02:00
commit 56c6edab04
285 changed files with 6068 additions and 6223 deletions

View file

@ -3,7 +3,7 @@
//-----------------------------------------------------------------------------
// eoSeconsElapsedContinue.h
// (c) Maarten Keijzer, 2007
/*
/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
@ -27,7 +27,7 @@
#include <eoContinue.h>
/**
/**
Timed continuator: continues until a number of seconds is used
@ingroup Continuators
@ -44,29 +44,29 @@ public:
virtual bool operator() ( const eoPop<EOT>& _vEO ) {
time_t now = time(0);
time_t diff = now - start;
if (diff >= seconds) return false; // stop
return true;
}
virtual std::string className(void) const { return "eoSecondsElapsedContinue"; }
/** REad from a stream
* @param __is the ostream to read from
*/
void readFrom (std :: istream & __is) {
__is >> start >> seconds;
__is >> start >> seconds;
}
/** Print on a stream
* @param __os the ostream to print on
*/
void printOn (std :: ostream & __os) const {
__os << start << ' ' << seconds << std :: endl;
__os << start << ' ' << seconds << std :: endl;
}
};
@ -74,4 +74,3 @@ public:
*/
#endif