HARDT - The Ham Radio DSP Toolkit
hvfo.h
1 #ifndef __HVFO_H
2 #define __HVFO_H
3 
12 template <class T>
13 class HVfo : public HGenerator<T>
14 {
15  private:
16 
17  H_SAMPLE_RATE _rate;
18  T _amplitude;
19 
20  public:
21 
24  HVfo(H_SAMPLE_RATE rate, int frequency, T amplitude, float phase = 0);
25 
27  void SetFrequency(int frequency, float phase = 0);
28 
30  bool Command(HCommand* command) {
31  // No further propagation of commands
32  return true;
33  }
34 };
35 
36 #endif
HVfo::SetFrequency
void SetFrequency(int frequency, float phase=0)
Definition: hvfo.cpp:16
HVfo::Command
bool Command(HCommand *command)
Definition: hvfo.h:30
HGenerator
Definition: hgenerator.h:17
HVfo
Definition: hvfo.h:13
HVfo::HVfo
HVfo(H_SAMPLE_RATE rate, int frequency, T amplitude, float phase=0)
Definition: hvfo.cpp:7
HCommand
Definition: hcommand.h:81