Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
#include <ase/loop.hh>
Go to the source code of this file.
Classes | |
struct | Ase::ErrorReason |
Namespaces | |
namespace | Ase |
The Anklang C++ API namespace. | |
Functions | |
void | Ase::atquit_terminate (int exitcode, int pgroup) |
bool | Ase::atquit_triggered () |
void | Ase::atquit_add (std::function< void()> *func) |
void | Ase::atquit_del (std::function< void()> *func) |
void | Ase::atquit_add_removal (const std::string &filename) |
Remove filename (or directory) when the program terminates. | |
void | Ase::atquit_del_removal (const std::string &filename) |
Undo a previous atquit_add_removal() call. | |
void | Ase::atquit_add_killl_pid (int pid) |
Kill pid when the program terminates. | |
void | Ase::atquit_del_killl_pid (int pid) |
Undo a previous atquit_add_killl_pid() call. | |
std::string | Ase::create_tempfile_dir (const std::string &basename) |
Create temporary directory under /tmp, scheduled for removal atquit. | |
void | Ase::cleanup_orphaned_tempfiles (const std::string &directory) |
Delete all files that contain @TEMPFILE_PID=d@ without a running pid_t d. | |
ErrorReason | Ase::spawn_process (const std::vector< std::string > &argv, pid_t *child_pid, int pdeathsig) |
Span a child process after cleaning up the environment. | |