ot::MergeNode Class Reference

#include <MergeNode.h>

Inheritance diagram for ot::MergeNode:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  CONF_CALCULATION { MIN = 0, MAX, MULTIPLY }
 flags to define how to calculate the overall confidence of the resulting event More...

Public Member Functions

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

Protected Member Functions

 MergeNode (float agingFactor_, CONF_CALCULATION confCalculation_)

Protected Attributes

Event localEvent
 Event variable to put transformed event into.
float agingFactor
 factor by that not updated inputs are aging whenever a new event is received from another input
CONF_CALCULATION confCalculation
 flag to define how to calculate the overall confidence of the resulting event
std::map< NodePort *, float > confidenceMap
 confidence map stores aging confidence of each port

Friends

class CommonNodeFactory

Member Enumeration Documentation

enum ot::MergeNode::CONF_CALCULATION
 

flags to define how to calculate the overall confidence of the resulting event

Enumerator:
MIN 
MAX 
MULTIPLY 


Constructor & Destructor Documentation

ot::MergeNode::MergeNode float  agingFactor_,
CONF_CALCULATION  confCalculation_
[inline, protected]
 

constructor method


Member Function Documentation

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

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

Returns:
always 1

Reimplemented from ot::Node.

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

This method is called by any child node. It updates the local event with the right part of the passed event and notifies it's parent and references in turn.

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

float ot::MergeNode::agingFactor [protected]
 

factor by that not updated inputs are aging whenever a new event is received from another input

CONF_CALCULATION ot::MergeNode::confCalculation [protected]
 

flag to define how to calculate the overall confidence of the resulting event

std::map<NodePort*, float> ot::MergeNode::confidenceMap [protected]
 

confidence map stores aging confidence of each port

Event ot::MergeNode::localEvent [protected]
 

Event variable to put transformed event into.


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