#include <ButtonHoldFilterNode.h>
Inheritance diagram for ot::ButtonHoldFilterNode:


Public Member Functions | |
| virtual int | isEventGenerator () |
| virtual void | onEventGenerated (Event &event, Node &generator) |
| void | push () |
Protected Member Functions | |
| ButtonHoldFilterNode (int offDuration=2) | |
| counter for each bit | |
Protected Attributes | |
| bool | init |
| int | offDuration |
| number of off's necessary to show off in outgoing event | |
| Event | currentEvent |
| int | targetButtonEvent |
| int | offCounter [16] |
Friends | |
| class | ButtonHoldFilterModule |
|
|
counter for each bit constructor method. It sets initial values for the treshhold and type |
|
|
tests for EventGenerator interface being present and returns 1, if present.
Reimplemented from ot::Node. |
|
||||||||||||
|
This method is called by any child node.
Reimplemented from ot::Node. |
|
|
pushes event down the line. Needed to access protected updateObservers method in EventGenerator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
number of off's necessary to show off in outgoing event
|
|
|
|
1.4.6