ot::TimestampGeneratorNode Class Reference
[Common Classes]

#include <TimestampGeneratorNode.h>

Inheritance diagram for ot::TimestampGeneratorNode:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

TimestampGeneratorNode resubmits generated events periodically after a configurable timeout value.


Public Member Functions

virtual int isEventGenerator ()
virtual void onEventGenerated (Event &event, Node &generator)

Protected Member Functions

 TimestampGeneratorNode (double timeOut)
bool calcEvent ()
EventgetEvent ()

Protected Attributes

double timeOut
 timeout between two events
Event event
 last event

Friends

class TimestampGeneratorModule


Constructor & Destructor Documentation

ot::TimestampGeneratorNode::TimestampGeneratorNode double  timeOut  )  [inline, protected]
 

simple constructor, sets members to initial values

Parameters:
timeOut timeout between two events


Member Function Documentation

bool ot::TimestampGeneratorNode::calcEvent  )  [protected]
 

Event& ot::TimestampGeneratorNode::getEvent  )  [inline, protected]
 

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

tests for EventGenerator interface being present. Overriden in this node to return this.

Returns:
always this

Reimplemented from ot::Node.

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

this method is called by the EventGenerator to update it's observers

Parameters:
event new event
generator the calling EventGenerator

Reimplemented from ot::Node.


Friends And Related Function Documentation

friend class TimestampGeneratorModule [friend]
 


Member Data Documentation

Event ot::TimestampGeneratorNode::event [protected]
 

last event

double ot::TimestampGeneratorNode::timeOut [protected]
 

timeout between two events


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