OpenASIP  2.0
Public Member Functions | List of all members
Application::UnixSignalHandler Class Referenceabstract

#include <Application.hh>

Inheritance diagram for Application::UnixSignalHandler:
Inheritance graph
Collaboration diagram for Application::UnixSignalHandler:
Collaboration graph

Public Member Functions

virtual void execute (int data, siginfo_t *info)=0
 
virtual ~UnixSignalHandler ()
 

Detailed Description


An interface for classes that can receive notification when a Unix signal occurs.

Definition at line 203 of file Application.hh.

Constructor & Destructor Documentation

◆ ~UnixSignalHandler()

virtual Application::UnixSignalHandler::~UnixSignalHandler ( )
inlinevirtual

Definition at line 211 of file Application.hh.

211 {}

Member Function Documentation

◆ execute()

virtual void Application::UnixSignalHandler::execute ( int  data,
siginfo_t *  info 
)
pure virtual

Executed when the Unix signal occurs.

Parameters
dataData of the signal.

Implemented in SigFPEHandler, SigSegvHandler, and SigINTHandler.

Referenced by Application::signalRedirector().


The documentation for this class was generated from the following file: