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