⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 posixsignalhandler.h

📁 linux下串口通讯用的类库 c++编写
💻 H
字号:
#ifndef _PosixSignalHandler_h_#define _PosixSignalHandler_h_/** * Gets a method called when the corresponding signal is received. * A PosixSignalHandler must be connected to the PosixSignalDispatcher * for it to be called. */class PosixSignalHandler{public:    /**     * This method is called when the specified POSIX signal is      * received by the PosixSignalDispatcher that is managing     * this handler.     */    virtual void HandlePosixSignal( int signalNumber ) = 0 ;         /**     * Destructor is declared virtual as we expect this class to be     * subclassed. It is also declared pure abstract to make this     * class a pure abstract class.     */    virtual ~PosixSignalHandler() = 0 ;} ;inlinePosixSignalHandler::~PosixSignalHandler(){    /* empty */}#endif // #ifndef _PosixSignalHandler_h_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -