|
OpenASIP 2.2
|
#include <cstdlib>#include <string>#include <iostream>#include <vector>#include <signal.h>#include <map>
Go to the source code of this file.
Classes | |
| class | Application |
| class | Application::UnixSignalHandler |
Macros | |
| #define | UNKNOWN_FUNCTION "[?]" |
| #define | __func__ UNKNOWN_FUNCTION |
| #define | abortWithError(message) |
| #define | assert(condition) |
| #define | debugLog(text) |
| #define | CATCH_ANY(XXX__) |
| #define | verboseLogC(text, neededVerbosity) |
| #define | verboseLog(text) verboseLogC(text, 1) |
| #define | PRINT_VAR(VARIABLE__) |
Variables | |
| const int | DEFAULT_MAX_OUTPUT_LINES = 200 |
| default value of maximum amount of output lines saved from popen() output in runShellCommandAndGetOutput() | |
| const int | MAX_OUTPUT_LINE_LENGTH = 512 |
| maximum length of an output line saved from popen() output in runShellCommandAndGetOutput() | |
Declaration of Application class and services of standalone applications.
Application is a class for generic services that are project-wide applicable to standalone applications or modules. These services include assertion, program exiting, debugging to a log file, catching unexpected exceptions and "control-c", SIGFPE and SIGSEGV signal handling.
Definition in file Application.hh.
| #define __func__ UNKNOWN_FUNCTION |
Definition at line 67 of file Application.hh.
| #define abortWithError | ( | message | ) |
Definition at line 72 of file Application.hh.
| #define assert | ( | condition | ) |
Definition at line 86 of file Application.hh.
| #define CATCH_ANY | ( | XXX__ | ) |
Definition at line 100 of file Application.hh.
| #define debugLog | ( | text | ) |
Definition at line 95 of file Application.hh.
| #define PRINT_VAR | ( | VARIABLE__ | ) |
Definition at line 118 of file Application.hh.
| #define UNKNOWN_FUNCTION "[?]" |
Definition at line 58 of file Application.hh.
| #define verboseLog | ( | text | ) | verboseLogC(text, 1) |
Definition at line 115 of file Application.hh.
| #define verboseLogC | ( | text, | |
| neededVerbosity | |||
| ) |
Definition at line 110 of file Application.hh.
| const int DEFAULT_MAX_OUTPUT_LINES = 200 |
default value of maximum amount of output lines saved from popen() output in runShellCommandAndGetOutput()
Definition at line 124 of file Application.hh.
| const int MAX_OUTPUT_LINE_LENGTH = 512 |
maximum length of an output line saved from popen() output in runShellCommandAndGetOutput()
Definition at line 128 of file Application.hh.
Referenced by Application::runShellCommandAndGetOutput(), and Application::runShellCommandSilently().