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


Public Member Functions | |
| virtual int | isEventGenerator () |
| virtual void | onEventGenerated (Event &event, Node &generator) |
Protected Member Functions | |
| SelectionNode (double t) | |
Protected Attributes | |
| double | timeOut |
| Variable for timeout value (in miliseconds). | |
| double | lastTimeStamp |
| Variable for the last event timestamp from the prefered input node. | |
Friends | |
| class | CommonNodeFactory |
|
|
constructor method. It sets initial values for the timeout. |
|
|
tests for EventGenerator interface being present and returns 1, if present.
Reimplemented from ot::Node. |
|
||||||||||||
|
This method is called by any child node. Checks whether the incoming event is from the wrapper node, otherwise it compares it against the last event from the wrapper node and if it was created later then the specified time out, it is passed on.
Reimplemented from ot::Node. |
|
|
|
|
|
Variable for the last event timestamp from the prefered input node.
|
|
|
Variable for timeout value (in miliseconds).
|
1.4.6