openModeller
Version 1.5.0
Main Page
Modules
Classes
Files
File List
File Members
Normalizer.hh
Go to the documentation of this file.
1
27
#ifndef _NORMALIZER_HH
28
#define _NORMALIZER_HH
29
30
#include <
openmodeller/Configurable.hh
>
31
#include <
openmodeller/Sample.hh
>
32
// Note: avoid including Sampler.hh because of cross reference between the two classes.
33
// However it needs to be included in the .cpp of all implementations of this interface.
34
35
class
SamplerImpl
;
// forward declaration
36
37
class
Normalizer
:
public
Configurable
{
38
39
public
:
40
41
// Note: not using ConstSamplerPtr to avoid compilation problems. It was
42
// replaced here by the associated definition. See the ConstSamplerPtr
43
// typedef in Sampler.hh.
44
virtual
void
computeNormalization
(
const
ReferenceCountedPointer<const SamplerImpl>
& samplerPtr ) = 0;
45
46
virtual
void
normalize
(
Sample
* samplePtr ) = 0;
47
48
// Should return a pointer to copy of the object
49
virtual
Normalizer
*
getCopy
() = 0;
50
};
51
52
#endif
Normalizer
Definition:
Normalizer.hh:37
ReferenceCountedPointer
Definition:
refcount.hh:72
SamplerImpl
Definition:
Sampler.hh:81
Normalizer::normalize
virtual void normalize(Sample *samplePtr)=0
Sample.hh
Configurable
Definition:
Configurable.hh:35
Configurable.hh
Normalizer::computeNormalization
virtual void computeNormalization(const ReferenceCountedPointer< const SamplerImpl > &samplerPtr)=0
Normalizer::getCopy
virtual Normalizer * getCopy()=0
Sample
Definition:
Sample.hh:25
src
openmodeller
Normalizer.hh
Generated on Thu Jan 8 2015 17:05:09 for openModeller by
1.8.6