Flan
CDSPProcessor.h
Go to the documentation of this file.
1 //$ nobt
2 //$ nocpp
3 
16 #ifndef R8B_CDSPPROCESSOR_INCLUDED
17 #define R8B_CDSPPROCESSOR_INCLUDED
18 
19 #include "r8bbase.h"
20 
21 namespace r8b {
22 
32 {
33  R8BNOCTOR( CDSPProcessor );
34 
35 public:
37  {
38  }
39 
40  virtual ~CDSPProcessor()
41  {
42  }
43 
50  virtual int getLatency() const = 0;
51 
59  virtual double getLatencyFrac() const = 0;
60 
68  virtual int getMaxOutLen( const int MaxInLen ) const = 0;
69 
76  virtual void clear() = 0;
77 
98  virtual int process( double* ip, int l0, double*& op0 ) = 0;
99 };
100 
101 } // namespace r8b
102 
103 #endif // R8B_CDSPPROCESSOR_INCLUDED
The "base" inclusion file with basic classes and functions.
virtual void clear()=0
Function clears (resets) the state of *this object and returns it to the state after construction...
virtual double getLatencyFrac() const =0
The base virtual class for DSP processing algorithms.
Definition: CDSPProcessor.h:31
#define R8B_BASECLASS
Macro defines the name of the class from which all classes that are designed to be created on heap ar...
Definition: r8bconf.h:99
virtual int getLatency() const =0
The "r8brain-free-src" library namespace.
Definition: CDSPBlockConvolver.h:21
virtual int process(double *ip, int l0, double *&op0)=0
Function performs DSP processing.
virtual int getMaxOutLen(const int MaxInLen) const =0