#include <lptnote.h>
Inheritance diagram for LptNote:

Public Methods | |
| LptNote (int newPortNumber, int newPortBit) | |
| Constructor. More... | |
| virtual | ~LptNote () |
| Destructor. More... | |
| virtual void | sound () const throw (Monitor::Utility::Note::Busy) |
| Sound once. More... | |
Private Methods | |
| void | switchOff () const |
| Switch off the output bit. More... | |
Private Attributes | |
| int | lptPort |
| Address LPT port to use. More... | |
| unsigned char | bitOn |
| Bitmasks to use. More... | |
| unsigned char | bitOff |
| unsigned char | originalControlPort |
| Saved LPT port settings. More... | |
| unsigned char | originalExtendedControlPort |
Static Private Attributes | |
| int | busy = 0 |
| Class variable used to indicate PC LPT is in use, cannot be used concurrently by more than one Note instance. More... | |
Definition at line 46 of file lptnote.h.
|
||||||||||||
|
Constructor.
Definition at line 53 of file lptnote.cpp. References _USEMYTRACE_, bitOff, bitOn, lptPort, originalControlPort, and originalExtendedControlPort. |
|
|
Destructor.
Definition at line 82 of file lptnote.cpp. References _USEMYTRACE_, lptPort, originalControlPort, and originalExtendedControlPort. |
|
|
Sound once.
Implements Monitor::Utility::Note. Definition at line 99 of file lptnote.cpp. References _USEMYTRACE_, and switchOff. |
|
|
Switch off the output bit.
Definition at line 126 of file lptnote.cpp. References _USEMYTRACE_, bitOff, busy, and lptPort. Referenced by sound. |
|
|
|
|
|
Bitmasks to use.
Definition at line 93 of file lptnote.h. Referenced by LptNote. |
|
|
Class variable used to indicate PC LPT is in use, cannot be used concurrently by more than one Note instance.
Definition at line 50 of file lptnote.cpp. Referenced by switchOff. |
|
|
Address LPT port to use.
|
|
|
Saved LPT port settings.
|
|
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002