Shared logging and operating-system checks for the survey executable. More...
#include <filesystem>#include <fstream>#include <iostream>#include <iomanip>#include <mutex>#include <sstream>#include <cstring>#include <cerrno>#include <algorithm>

Go to the source code of this file.
Data Structures | |
| class | TeeBuffer |
| Stream one message to both the original console and the session log. More... | |
| class | SessionLog |
| Mirror stdout and stderr into one session file for a scoped run. More... | |
Functions | |
| void | posixCheck (bool success, const char *operation) |
| Convert a failed POSIX result into an operation-specific exception. | |
| void | winCheck (bool success, const char *operation) |
| Compatibility name for the shared POSIX failure check. | |
Detailed Description
Shared logging and operating-system checks for the survey executable.
Session output is mirrored rather than redirected exclusively so interactive progress remains visible while a diagnostic trail is collected. The stream-buffer lock keeps concurrent worker messages from interleaving between the console and session log.
Definition in file application_runtime.h.
Function Documentation
◆ posixCheck()
|
inline |
Convert a failed POSIX result into an operation-specific exception.
Definition at line 128 of file application_runtime.h.
◆ winCheck()
|
inline |
Compatibility name for the shared POSIX failure check.
Definition at line 136 of file application_runtime.h.