An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::ConfidenceFilterNode Class Reference

#include <ConfidenceFilterNode.h>

Inheritance diagram for ot::ConfidenceFilterNode:

Inheritance graph
Collaboration diagram for ot::ConfidenceFilterNode:

Collaboration graph
List of all members.

Public Member Functions

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

Protected Types

 HIGH = 0
enum  types { HIGH = 0, LOW }

Protected Member Functions

 ConfidenceFilterNode (float treshhold_=0.5, types type_=HIGH)

Protected Attributes

float treshhold
enum ot::ConfidenceFilterNode::types type


class CommonNodeFactory

Detailed Description

Definition at line 82 of file ConfidenceFilterNode.h.

Member Enumeration Documentation

the type of filter


Definition at line 89 of file ConfidenceFilterNode.h.

Constructor & Destructor Documentation

ot::ConfidenceFilterNode::ConfidenceFilterNode ( float  treshhold_ = 0.5,
types  type_ = HIGH 
) [protected]

constructor method.

It sets initial values for the treshhold and type

Definition at line 56 of file ConfidenceFilterNode.cxx.

References treshhold.

Member Function Documentation

virtual int ot::ConfidenceFilterNode::isEventGenerator (  )  [inline, virtual]

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

always 1

Reimplemented from ot::Node.

Definition at line 98 of file ConfidenceFilterNode.h.

void ot::ConfidenceFilterNode::onEventGenerated ( Event event,
Node generator 
) [virtual]

This method is called by any child node.

event the event value passed
generator the node generating the event

Reimplemented from ot::Node.

Definition at line 67 of file ConfidenceFilterNode.cxx.

References ot::Event::getConfidence(), HIGH, LOW, treshhold, type, and ot::Node::updateObservers().

Friends And Related Function Documentation

friend class CommonNodeFactory [friend]

Definition at line 110 of file ConfidenceFilterNode.h.

Member Data Documentation

treshhold value, in [0,1]

Definition at line 87 of file ConfidenceFilterNode.h.

Referenced by ConfidenceFilterNode(), and onEventGenerated().

the type of filter

Reimplemented from ot::Node.

Referenced by onEventGenerated().

The documentation for this class was generated from the following files:

copyright (c) 2006 Graz University of Technology