ot::DifferenceNode Class Reference
[Common Classes]

#include <DifferenceNode.h>

Inheritance diagram for ot::DifferenceNode:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

DifferenceNode calculates the difference between two attributes of temporally seperated events.


Public Member Functions

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

Protected Member Functions

 DifferenceNode (const std::string &attributeName, double timeFrame)

Protected Attributes

std::string attributeName
double timeFrame
 time frame value

Friends

class CommonNodeFactory


Constructor & Destructor Documentation

ot::DifferenceNode::DifferenceNode const std::string &  attributeName,
double  timeFrame
[inline, protected]
 

constructor method.

Parameters:
attributeName attribute to focus on in difference calculation
timeFrame time frame value for difference calculation


Member Function Documentation

virtual int ot::DifferenceNode::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::DifferenceNode::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 CommonNodeFactory [friend]
 


Member Data Documentation

std::string ot::DifferenceNode::attributeName [protected]
 

double ot::DifferenceNode::timeFrame [protected]
 

time frame value


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