AudioFeatureProvider Class Reference

#include <Audio.h>

Inheritance diagram for AudioFeatureProvider:

FeatureProvider List of all members.

Public Member Functions

 AudioFeatureProvider (providerparams &params)
virtual FeaturegetFeature (string name) const
virtual FeaturegetSample (string name) const
virtual void nextSample (clock_t checkpoint)

Classes

struct  SampleData

Detailed Description

Provider for the audio features


Constructor & Destructor Documentation

AudioFeatureProvider::AudioFeatureProvider providerparams params  ) 
 

Todo:
symbian stl fix


Member Function Documentation

Feature * AudioFeatureProvider::getFeature string  name  )  const [virtual]
 

Query feature instance

Query the feature provider for a specific feature initialized with random values.

Parameters:
name Name of the requested feature.
Returns:
An instance of the requested feature.

Implements FeatureProvider.

Feature * AudioFeatureProvider::getSample string  name  )  const [virtual]
 

Query sample instance

Query the feature provider for a sample value of the specified feature. Prior to this method you have to invoke nextSample().

Parameters:
name Name of the requested feature.
Returns:
An instance of the sample.
See also:
nextSample

Implements FeatureProvider.

void AudioFeatureProvider::nextSample clock_t  checkpoint  )  [virtual]
 

Prepare sample

Prepare the feature provider to return the next sample from the sensor when getSample() is called.

Parameters:
checkpoint This parameter tells the feature extractor that it must not return sensordata sampled earlier than the given clock value.
See also:
getSample

Implements FeatureProvider.


The documentation for this class was generated from the following files:
Generated on Mon Jun 5 10:20:49 2006 for Intelligence.kdevelop by  doxygen 1.4.6