ProcessModule Class Reference
[Processing modules]

Base class for process modules. More...

#include <ProcessModule.h>

Inheritance diagram for ProcessModule:

Inheritance graph
[legend]
Collaboration diagram for ProcessModule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProcessModule (AbstractModule *successor)
virtual ~ProcessModule ()
 Destructor.
virtual void processFrameData (IFrameData *data)
bool isSignal (IFrameData *data)
void passSignal (IFrameData *data)
bool isSignal (IFrameData *data, SignalFrameData::eSignal sig)


Detailed Description

Base class for process modules.

General functions for process modules as described in the decorator pattern.

Definition at line 14 of file ProcessModule.h.


Constructor & Destructor Documentation

ProcessModule::ProcessModule ( AbstractModule successor  ) 

Called by child classes

Parameters:
successor Next module in chain

Definition at line 3 of file ProcessModule.cpp.

ProcessModule::~ProcessModule (  )  [virtual]

Destructor.

Definition at line 8 of file ProcessModule.cpp.


Member Function Documentation

bool ProcessModule::isSignal ( IFrameData data,
SignalFrameData::eSignal  sig 
)

Parameters:
data The SignalFrameData to be tested
sig Signal type
Returns:
true if signal is of givel type

Definition at line 24 of file ProcessModule.cpp.

bool ProcessModule::isSignal ( IFrameData data  ) 

Parameters:
data The framedata to be tested
Returns:
true if data is of type Signal, false otherwise

Definition at line 19 of file ProcessModule.cpp.

void ProcessModule::passSignal ( IFrameData data  ) 

Passes data to the next module. Throws Warning if data is not of type Signal

Parameters:
data The Signal to be passed

Definition at line 29 of file ProcessModule.cpp.

void ProcessModule::processFrameData ( IFrameData data  )  [virtual]

Passes the data to the next module

Parameters:
data The data to be passed

Implements AbstractModule.

Reimplemented in DirectionFilter, GestureFinder, HMMModule, and Smoother.

Definition at line 14 of file ProcessModule.cpp.


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

Generated on Sun Nov 30 23:45:40 2008 for Modular Motion Processor by  doxygen 1.5.7.1