C++ SDK for MANUS Core 2.1
Loading...
Searching...
No Matches
ClientPlatformSpecific.cpp File Reference
#include "ClientPlatformSpecific.hpp"
#include <csignal>
#include <filesystem>
#include <fstream>
#include "ManusSDK.h"
#include <map>
#include <ncursesw/ncurses.h>
#include <termios.h>
#include "spdlog/spdlog.h"

Go to the source code of this file.

Classes

class  ClientInput
 Handles keyboard input. Requires things to be set up with Ncurses and Termios. More...
 

Macros

#define CALL_DEFAULT_SIGNAL_HANDLER(p_SignalType)
 Reset a signal handler to its default, and then call it. For signal types and explanation, see: https://www.gnu.org/software/libc/manual/html_node/Standard-Signals.html. More...
 

Macro Definition Documentation

◆ CALL_DEFAULT_SIGNAL_HANDLER

#define CALL_DEFAULT_SIGNAL_HANDLER (   p_SignalType)
Value:
/* Reset the handler for this signal to the default. */ \
signal(p_SignalType, SIG_DFL); \
/* Re-raise this signal, causing the normal handler to run. */ \
raise(p_SignalType);

Reset a signal handler to its default, and then call it. For signal types and explanation, see: https://www.gnu.org/software/libc/manual/html_node/Standard-Signals.html.

Definition at line 23 of file ClientPlatformSpecific.cpp.