~ubuntu-branches/ubuntu/wily/flrig/wily

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/TT516.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-10-25 11:17:10 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20141025111710-n32skgya3l9u1brw
Tags: 1.3.17-1
* New upstream release (Closes: #761839)
* Debian Standards-Version: 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _TT516_H
2
 
#define _TT516_H
3
 
 
4
 
#include "rigbase.h"
5
 
 
6
 
class RIG_TT516 : public rigbase {
7
 
private:
8
 
        double fwdpwr;
9
 
        double refpwr;
10
 
        double fwdv;
11
 
        double refv;
12
 
 
13
 
public:
14
 
        RIG_TT516();
15
 
        ~RIG_TT516(){}
16
 
 
17
 
        void initialize();
18
 
 
19
 
        long get_vfoA();
20
 
        void set_vfoA(long);
21
 
        long get_vfoB();
22
 
        void set_vfoB(long);
23
 
        void selectA();
24
 
        void selectB();
25
 
 
26
 
        int  get_modetype(int n);
27
 
 
28
 
        void set_modeA(int val);
29
 
        int  get_modeA();
30
 
        void set_bwA(int val);
31
 
        int  get_bwA();
32
 
 
33
 
        void set_modeB(int val);
34
 
        int  get_modeB();
35
 
        void set_bwB(int val);
36
 
        int  get_bwB();
37
 
 
38
 
        bool can_split() { return true;}
39
 
        void set_split(bool val);
40
 
        bool twovfos() {return true;}
41
 
 
42
 
        int  get_smeter();
43
 
        int  get_swr();
44
 
        int  get_power_out();
45
 
//      int  get_power_control();
46
 
//      void set_volume_control(int val);
47
 
//      int  get_volume_control();
48
 
//      void set_power_control(double val);
49
 
        void set_PTT_control(int val);
50
 
//      void tune_rig();
51
 
        void set_attenuator(int val);
52
 
        int  get_attenuator();
53
 
//      void set_preamp(int val);
54
 
//      int  get_preamp();
55
 
        void set_if_shift(int val);
56
 
        bool get_if_shift(int &val);
57
 
        void get_if_min_max_step(int &min, int &max, int &step);
58
 
//      void set_notch(bool on, int val);
59
 
//      bool get_notch(int &val);
60
 
//      void get_notch_min_max_step(int &min, int &max, int &step);
61
 
        void set_noise(bool b);
62
 
//      void set_mic_gain(int val);
63
 
//      int  get_mic_gain();
64
 
//      void get_mic_min_max_step(int &min, int &max, int &step);
65
 
        void checkresponse();
66
 
        int  adjust_bandwidth(int);
67
 
        int  def_bandwidth(int);
68
 
        const char **bwtable(int);
69
 
};
70
 
 
71
 
 
72
 
#endif