Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

voter_filter Class Reference

#include <voter.h>

Inheritance diagram for voter_filter:

Filter List of all members.

Public Methods

 voter_filter ()
virtual ~voter_filter ()
virtual bool filter_frame (FrameClass &frame)
virtual void property_changed ()

Private Methods

unsigned string_to_type (string s_type)
string type_to_string (unsigned int v_type)

Private Attributes

unsigned int voter_type
int cuttoff
double percentage

Constructor & Destructor Documentation

voter_filter::voter_filter  
 

create a new empty clas

voter_filter::~voter_filter   [virtual]
 

destructor


Member Function Documentation

bool voter_filter::filter_frame FrameClass   frame [virtual]
 

this simply takes a frame and runs the current filter over it

Parameters:
frame  the current frame to be processed

Implements Filter.

void voter_filter::property_changed   [virtual]
 

this method is called after the member properties has been updated, it informs the filter that properties has changed and those changes should take effect

Reimplemented from Filter.

unsigned int voter_filter::string_to_type string    s_type [private]
 

string voter_filter::type_to_string unsigned int    v_type [private]
 


Member Data Documentation

int voter_filter::cuttoff [private]
 

double voter_filter::percentage [private]
 

unsigned int voter_filter::voter_type [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 10:42:36 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002