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


Public Member Functions | |
| virtual int | isEventGenerator () |
| virtual void | onEventGenerated (Event &event, Node &generator) |
Protected Types | |
| enum | Mode { PASS, BLOCK } |
| mode selection More... | |
Protected Member Functions | |
| TimeGateNode (double timeframe_, Mode mode_) | |
Protected Attributes | |
| double | timeframe |
| Variable for timeout value (in miliseconds). | |
| double | lastTimeStamp |
| Variable for the last event timestamp from the prefered input node. | |
| enum ot::TimeGateNode::Mode | mode |
| mode selection | |
Friends | |
| class | CommonNodeFactory |
|
|
mode selection
|
|
||||||||||||
|
constructor method. It sets initial values for the timeframe and mode. |
|
|
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. |
|
|
|
|
|
Variable for the last event timestamp from the prefered input node.
|
|
|
mode selection
|
|
|
Variable for timeout value (in miliseconds).
|
1.4.6