#include <pcbell.h>
Inheritance diagram for Monitor::BellMaster::PcBell:
Public Methods | |
PcBell (Monitor::Utility::Note &newNote) | |
Constructor. More... | |
virtual | ~PcBell () |
Destructor. More... | |
virtual void | ring () const throw (Bell::Busy) |
Sound a single ring. More... | |
virtual void | ring (unsigned *newSequence) throw (Bell::Busy) |
Sound a sequence of rings. More... | |
Monitor::Utility::Note & | getNote () const |
Private Methods | |
void | nextRing () |
Sound the next ring in a sequence. More... | |
Private Attributes | |
unsigned * | currentSequence |
Sequence currently being rung. More... | |
Monitor::Utility::Note & | note |
Interface to hardware to produce actual ring. More... |
Definition at line 57 of file pcbell.h.
|
Constructor.
|
|
Destructor.
Definition at line 60 of file pcbell.cpp. References _USEMYTRACE_, and currentSequence. |
|
Definition at line 115 of file pcbell.cpp. References _USEMYTRACE_, and note. |
|
Sound the next ring in a sequence. If sequence is completed delete the sequence, otherwise start timing for next ring in sequence. Definition at line 126 of file pcbell.cpp. References _USEMYTRACE_, currentSequence, and ring. |
|
Sound a sequence of rings.
Implements Monitor::BellMaster::Bell. Definition at line 94 of file pcbell.cpp. References _USEMYTRACE_. |
|
Sound a single ring.
Reimplemented from Monitor::BellMaster::Bell. Definition at line 73 of file pcbell.cpp. References _USEMYTRACE_. Referenced by nextRing. |
|
Sequence currently being rung.
|
|
Interface to hardware to produce actual ring.
Definition at line 114 of file pcbell.h. Referenced by getNote. |