HARDT - The Ham Radio DSP Toolkit
hardt
libhardt
include
hlocaloscillator.h
1
#ifndef __HLOCALOSCILLATOR_H
2
#define __HLOCALOSCILLATOR_H
3
10
template
<
class
T>
11
class
HLocalOscillator
:
public
HVfo
<T>
12
{
13
public
:
14
16
HLocalOscillator
(H_SAMPLE_RATE rate,
int
frequency,
int
amplitude = 10,
float
phase = M_PI / 2);
17
19
bool
Command
(
HCommand
* command) {
20
// No further propagation of commands
21
return
true
;
22
}
23
};
24
25
#endif
HLocalOscillator::HLocalOscillator
HLocalOscillator(H_SAMPLE_RATE rate, int frequency, int amplitude=10, float phase=M_PI/2)
Definition:
hlocaloscillator.cpp:7
HLocalOscillator
Definition:
hlocaloscillator.h:11
HLocalOscillator::Command
bool Command(HCommand *command)
Definition:
hlocaloscillator.h:19
HVfo
Definition:
hvfo.h:13
HCommand
Definition:
hcommand.h:81
Generated by
1.8.17