ot::TimeGateNode Class Reference

#include <TimeGateNode.h>

Inheritance diagram for ot::TimeGateNode:

Inheritance graph
[legend]
Collaboration diagram for ot::TimeGateNode:

Collaboration graph
[legend]
List of all members.

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

Member Enumeration Documentation

enum ot::TimeGateNode::Mode [protected]
 

mode selection

Enumerator:
PASS 
BLOCK 


Constructor & Destructor Documentation

ot::TimeGateNode::TimeGateNode double  timeframe_,
Mode  mode_
[protected]
 

constructor method. It sets initial values for the timeframe and mode.


Member Function Documentation

virtual int ot::TimeGateNode::isEventGenerator  )  [inline, virtual]
 

tests for EventGenerator interface being present and returns 1, if present.

Returns:
always 1

Reimplemented from ot::Node.

void ot::TimeGateNode::onEventGenerated Event event,
Node generator
[virtual]
 

This method is called by any child node.

Parameters:
event the event value passed
generator the node generating the event

Reimplemented from ot::Node.


Friends And Related Function Documentation

friend class CommonNodeFactory [friend]
 


Member Data Documentation

double ot::TimeGateNode::lastTimeStamp [protected]
 

Variable for the last event timestamp from the prefered input node.

enum ot::TimeGateNode::Mode ot::TimeGateNode::mode [protected]
 

mode selection

double ot::TimeGateNode::timeframe [protected]
 

Variable for timeout value (in miliseconds).


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:28:49 2007 for NaviTrack by  doxygen 1.4.6