Public Member Functions

FawkesBeepDaemon Class Reference

Fawkes beep daemon. More...

Inheritance diagram for FawkesBeepDaemon:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FawkesBeepDaemon ()
 Constructor.
virtual void loop ()
 Code to execute in the thread.
void handle_signal (int signum)
 Handle signals.

Detailed Description

Fawkes beep daemon.

Author:
Tim Niemueller

Definition at line 53 of file main.cpp.


Constructor & Destructor Documentation

FawkesBeepDaemon::FawkesBeepDaemon (  )  [inline]

Constructor.

Definition at line 59 of file main.cpp.


Member Function Documentation

void FawkesBeepDaemon::handle_signal ( int  signum  )  [inline, virtual]

Handle signals.

Parameters:
signum signal number

Implements fawkes::SignalHandler.

Definition at line 135 of file main.cpp.

virtual void FawkesBeepDaemon::loop (  )  [inline, virtual]

Code to execute in the thread.

Implement this method to hold the code you want to be executed continously. If you do not implement this method, the default is that the thread will exit. This is useful if you choose to only implement once().

Reimplemented from fawkes::Thread.

Definition at line 67 of file main.cpp.

References fawkes::SwitchInterface::EnableDurationMessage::duration(), fawkes::SwitchInterface::SetMessage::is_enabled(), fawkes::SwitchInterface::EnableDurationMessage::value(), and fawkes::SwitchInterface::SetMessage::value().


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