Public Member Functions | Private Attributes

Alarm Class Reference

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

Inheritance diagram for Alarm:
Inheritance graph
[legend]
Collaboration diagram for Alarm:
Collaboration graph
[legend]

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 161 of file mainwindow.cc.


Constructor & Destructor Documentation

Alarm::Alarm ( MainWindow r  )  [inline]

Definition at line 165 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 YAPET::UI::BaseWindow::AlarmFunction.

Definition at line 166 of file mainwindow.cc.

References MainWindow::handle_signal(), and ref.

Here is the call graph for this function:


Member Data Documentation

MainWindow& Alarm::ref [private]

Definition at line 163 of file mainwindow.cc.

Referenced by process().


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