Simple signal handler for ffjoystick. More...
Public Member Functions | |
JoystickQuitHandler (JoystickAcquisitionThread &aqt) | |
Constructor. | |
virtual void | handle_signal (int signal) |
Signal hanlding method. |
Simple signal handler for ffjoystick.
Definition at line 64 of file ffjoystick.cpp.
JoystickQuitHandler::JoystickQuitHandler | ( | JoystickAcquisitionThread & | aqt | ) | [inline] |
Constructor.
aqt | Joystick acquisition thread |
Definition at line 70 of file ffjoystick.cpp.
virtual void JoystickQuitHandler::handle_signal | ( | int | signum | ) | [inline, virtual] |
Signal hanlding method.
Implement this method with the action you want to perform on the registered signals.
signum | signal number of triggered signal |
Implements fawkes::SignalHandler.
Definition at line 75 of file ffjoystick.cpp.
References fawkes::Thread::cancel().