27 #ifndef NIDAS_CORE_RESAMPLER_H
28 #define NIDAS_CORE_RESAMPLER_H
34 namespace nidas {
namespace core {
48 virtual void flush() throw() = 0;
53 virtual
void connect(
SampleSource* source) throw(nidas::util::InvalidParameterException) = 0;
Interface for a resampler, simply a SampleClient and a SampleSource.
Definition: Resampler.h:39
virtual void disconnect(SampleSource *source)=0
virtual ~Resampler()
Definition: Resampler.h:42
Pure virtual interface for a source of Samples.
Definition: SampleSource.h:48
virtual void flush()=0
Both SampleClient and SampleSource have a flush() method.
Pure virtual interface of a client of Samples.
Definition: SampleClient.h:38
virtual void connect(SampleSource *source)=0
Connect the resampler to a source.