libserial
0.6.0rc3
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
PosixSignalHandler.h
Go to the documentation of this file.
1
#ifndef _PosixSignalHandler_h_
2
#define _PosixSignalHandler_h_
3
9
class
PosixSignalHandler
10
{
11
public
:
17
virtual
void
HandlePosixSignal
(
int
signalNumber ) = 0 ;
18
24
virtual
~PosixSignalHandler
() = 0 ;
25
} ;
26
27
inline
28
PosixSignalHandler::~PosixSignalHandler
()
29
{
30
/* empty */
31
}
32
#endif // #ifndef _PosixSignalHandler_h_
PosixSignalHandler
Gets a method called when the corresponding signal is received.
Definition:
PosixSignalHandler.h:9
PosixSignalHandler::HandlePosixSignal
virtual void HandlePosixSignal(int signalNumber)=0
This method is called when the specified POSIX signal is received by the PosixSignalDispatcher that i...
PosixSignalHandler::~PosixSignalHandler
virtual ~PosixSignalHandler()=0
Destructor is declared virtual as we expect this class to be subclassed.
Definition:
PosixSignalHandler.h:28
Generated by
1.8.9.1