CLAM::DescriptorComputation Class Reference

#include <DescriptorComputation.hxx>

Inheritance diagram for CLAM::DescriptorComputation:

CLAM::Processing

List of all members.


Detailed Description

This Processing class only calls the Compute operation of Descriptor passed to the Do.

Definition at line 34 of file DescriptorComputation.hxx.


Public Member Functions

 DescriptorComputation ()
 DescriptorComputation (const DescriptorComputationConfig &c)
 ~DescriptorComputation ()
const ProcessingConfigGetConfig () const
 Configuration getter.
bool Do (void)
 Supervised mode execution method (using ports).
bool Do (Descriptor &input)
bool Do (DescriptorAbs &input)

Protected Member Functions

const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
bool ConcreteConfigure (const ProcessingConfig &c)
 Config change method.

Protected Attributes

DescriptorComputationConfig mConfig

Constructor & Destructor Documentation

CLAM::DescriptorComputation::DescriptorComputation (  ) 

Definition at line 27 of file DescriptorComputation.cxx.

References CLAM::Processing::Configure().

CLAM::DescriptorComputation::DescriptorComputation ( const DescriptorComputationConfig c  ) 

Definition at line 32 of file DescriptorComputation.cxx.

References CLAM::Processing::Configure().

CLAM::DescriptorComputation::~DescriptorComputation (  ) 

Definition at line 37 of file DescriptorComputation.cxx.


Member Function Documentation

const char * CLAM::DescriptorComputation::GetClassName (  )  const [protected, virtual]

Override it in every subclass and retur the name of that class.

Implements CLAM::Processing.

Definition at line 47 of file DescriptorComputation.cxx.

bool CLAM::DescriptorComputation::ConcreteConfigure ( const ProcessingConfig c  )  [protected, virtual]

Config change method.

Reimplemented from CLAM::Processing.

Definition at line 41 of file DescriptorComputation.cxx.

References CLAM::Processing::CopyAsConcreteConfig(), and mConfig.

const ProcessingConfig& CLAM::DescriptorComputation::GetConfig (  )  const [inline, virtual]

Configuration getter.

Gets the configuration parameters used to create the object.

Returns:
Const reference to the configuration object. The usual way to perform a configuration change in the processing object is to take a copy of this reference, to change it and to send it with the Configure method. If not overriden, it returns a NullProcessingConfig.

Reimplemented from CLAM::Processing.

Definition at line 51 of file DescriptorComputation.hxx.

References mConfig.

bool CLAM::DescriptorComputation::Do ( void   )  [virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 52 of file DescriptorComputation.cxx.

bool CLAM::DescriptorComputation::Do ( Descriptor input  ) 

Definition at line 58 of file DescriptorComputation.cxx.

References CLAM::DescriptorTmpl< abs >::Compute().

bool CLAM::DescriptorComputation::Do ( DescriptorAbs input  ) 

Definition at line 64 of file DescriptorComputation.cxx.

References CLAM::DescriptorTmpl< abs >::Compute().


Member Data Documentation

Definition at line 58 of file DescriptorComputation.hxx.

Referenced by ConcreteConfigure(), and GetConfig().


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

Generated on Tue Aug 12 22:33:48 2008 for CLAM by  doxygen 1.5.5