Selection of platform-specific functions.
More...
Selection of platform-specific functions.
- See also
- Platform-specific functions
|
|
std::string | stacktrace () |
| | Generates a platform-dependent call stack of the current execution environment.
|
|
bool | isDebuggerPresent () |
| | Returns true if the program is being run by a debuger.
|
|
void | signalDebugTrap () |
| | Generates a platform-dependent trap signal that can be caught by an attached debugger to interrupt the program.
|
| MemoryInfo | memoryInfo () |
| | Returns the currently available system memory and the total amount of memory.
|
|
Filesystem::Path | executablePath () |
| | Returns the absolute path to the current executable (including the name of the executable).
|
| Filesystem::Path | libraryPath (const std::string &libName) |
| | Returns the absolute path to the given library (including the full name of the library).
|
| Filesystem::Path | libraryPathOfSymbol (const void *symbolPtr) |
| | Returns the absolute path to the library in which symbolPtr is located.
|
|
| void | installCrashHandler () |
| | Install OS-specific hooks to catch and handle critical signals/exceptions.
|
|
void | resetCrashHandler () |
| | Remove crash hooks again.
|
|
|
void | swapEndianness (uint16_t *buffer, int64_t numElements) |
| | Reverses the order of bytes in the given buffer of 16-bit integers.
|
|
void | swapEndianness (uint32_t *buffer, int64_t numElements) |
| | Reverses the order of bytes in the given buffer of 32-bit integers.
|
|
void | swapEndianness (uint64_t *buffer, int64_t numElements) |
| | Reverses the order of bytes in the given buffer of 64-bit integers.
|
| template<typename T> |
| void | swapEndianness (T *buffer, int64_t numElements) |
| | Reverses the order of bytes in the given buffer of integers.
|