#include <AmDtmfDetector.h>
Inheritance diagram for AmKeyPressSink:

Public Member Functions | |
| virtual void | registerKeyReleased (int event, Dtmf::EventSource source, const struct timeval &start, const struct timeval &stop)=0 |
| virtual void | registerKeyPressed (int event, Dtmf::EventSource source)=0 |
| virtual void AmKeyPressSink::registerKeyReleased | ( | int | event, | |
| Dtmf::EventSource | source, | |||
| const struct timeval & | start, | |||
| const struct timeval & | stop | |||
| ) | [pure virtual] |
Through this method the AmDtmfDetector receives events that was detected by specific detectors.
| event | code of key pressed | |
| source | which detector posted this event | |
| start | time when key was pressed | |
| stop | time when key was released |
| virtual void AmKeyPressSink::registerKeyPressed | ( | int | event, | |
| Dtmf::EventSource | source | |||
| ) | [pure virtual] |
Through this method the AmDtmfDetector receives events that was detected by specific detectors.
| event | code of key released | |
| source | which detector posted this event |
1.5.1