![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The RAII frame timeout_arm returns. More...
#include <line/util/line_timeout.h>
Public Member Functions | |
| TimeoutScope () | |
| TimeoutScope (std::size_t depth) | |
| TimeoutScope (TimeoutScope &&o) noexcept | |
| TimeoutScope & | operator= (TimeoutScope &&o) noexcept |
| TimeoutScope (const TimeoutScope &)=delete | |
| TimeoutScope & | operator= (const TimeoutScope &)=delete |
| ~TimeoutScope () | |
| bool | active () const |
| Whether this scope pushed a frame. | |
| void | pop () |
| Pop the frame now (idempotent). | |
The RAII frame timeout_arm returns.
Movable, not copyable; an inert scope (nothing was pushed) pops nothing.
Definition at line 170 of file line_timeout.h.
|
inline |
Definition at line 172 of file line_timeout.h.
Referenced by operator=(), operator=(), line::util::timeout_arm(), TimeoutScope(), and TimeoutScope().
|
inlineexplicit |
Definition at line 173 of file line_timeout.h.
|
inlinenoexcept |
Definition at line 174 of file line_timeout.h.
References TimeoutScope().
|
delete |
References TimeoutScope().
|
inline |
Definition at line 185 of file line_timeout.h.
References pop().
|
inline |
Whether this scope pushed a frame.
Definition at line 188 of file line_timeout.h.
Referenced by line::NetworkSolver::avg_table().
|
delete |
References TimeoutScope().
|
inlinenoexcept |
Definition at line 175 of file line_timeout.h.
References pop(), and TimeoutScope().
|
inline |
Pop the frame now (idempotent).
A tripped frame, or any tripped frame above it that an outer pop is unwinding, trips the parent.
Definition at line 194 of file line_timeout.h.
References line::util::timeout_detail::stack().
Referenced by operator=(), and ~TimeoutScope().