Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
KeyPressEventServer Class Reference
A base class for monitors that report keypresses. More...
#include <KeyPressEventServer.h>
Inherits kbd_mgr::KeyboardEventServer< KeyPressEventHandler >.
Inherited by KeyMapper, LongKeyPressMonitor, and SingleKeyPressMonitor.
| Public Member Functions | |
| void | attach (FunctionKeyPressEventHandler::HandlerFunction fn) | 
| Attaches the monitor to a function. | |
| template<class T > | |
| void | attach (T *obj, typename MemberKeyPressEventHandler< T >::MemberFunction fn) | 
| Attaches the monitor to a method of an object. | |
Detailed Description
A base class for monitors that report keypresses.
Definition at line 12 of file KeyPressEventServer.h.
Member Function Documentation
| void attach | ( | FunctionKeyPressEventHandler::HandlerFunction | fn ) | 
Attaches the monitor to a function.
- Parameters:
- 
  fn Event handler called to report keyboard state change. 
Definition at line 18 of file KeyPressEventServer.h.
| void attach | ( | T * | obj, | 
| typename MemberKeyPressEventHandler< T >::MemberFunction | fn | ||
| ) | 
Attaches the monitor to a method of an object.
- Parameters:
- 
  obj Event handler object fn Event handler method called to report keyboard state after each complete scan. 
Definition at line 28 of file KeyPressEventServer.h.
Generated on Wed Jul 13 2022 16:23:43 by
 1.7.2
 1.7.2