 |
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
55 explicit Timeouter(
bool t) : m_timeLimit(t ? 0 : -1) { }
70 void timeLimit(
bool t) { m_timeLimit = t ? 0 : -1; }
The namespace for all OGDF objects.
Timeouter & operator=(const Timeouter &t)
Timeouter(double t)
timeout is set to the given value (seconds)
Timeouter(bool t)
timeout is turned off (false) or on (true) (with 0 second)
double timeLimit() const
returns the current time limit for the call
Timeouter(const Timeouter &t)
bool isTimeLimit() const
returns whether any time limit is set or not
double m_timeLimit
Time limit for module calls (< 0 means no limit).
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Timeouter()
timeout is turned of by default
class for timeout funtionality.
void timeLimit(bool t)
shorthand to turn timelimit off or on (with 0 seconds)
void timeLimit(double t)
sets the time limit for the call (in seconds); <0 means no limit.