Alarm Class Reference

Class for calling the signal handler of MainWindow. More...

Inheritance diagram for Alarm:

YAPETUI::BaseWindow::AlarmFunction

List of all members.

Public Member Functions

 Alarm (MainWindow &r)
void process (int signo)
 Called upon SIGALRM.

Private Attributes

MainWindowref


Detailed Description

This class is passed to BaseWindow::setTimeout() as class for calling the signal handler of MainWindow.

Definition at line 124 of file mainwindow.cc.


Constructor & Destructor Documentation

Alarm::Alarm ( MainWindow r  )  [inline]

Definition at line 128 of file mainwindow.cc.


Member Function Documentation

void Alarm::process ( int   )  [inline, virtual]

This method is called upon a SIGALRM signal. The integer argument is the number of the signal, which currently is always SIGALRM.

Implements YAPETUI::BaseWindow::AlarmFunction.

Definition at line 129 of file mainwindow.cc.

References MainWindow::handle_signal(), and ref.


Member Data Documentation

MainWindow& Alarm::ref [private]

Definition at line 126 of file mainwindow.cc.

Referenced by process().


The documentation for this class was generated from the following file:
Generated on Wed Feb 27 16:15:42 2008 for YAPET by  doxygen 1.5.4