Hamlib  3.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Data Fields
Rig Class Reference
Collaboration diagram for Rig:
Collaboration graph
[legend]

Public Member Functions

 Rig (rig_model_t rig_model)
 
void open (void)
 
void close (void)
 
void setConf (token_t token, const char *val)
 
void setConf (const char *name, const char *val)
 
void getConf (token_t token, char *val)
 
void getConf (const char *name, char *val)
 
token_t tokenLookup (const char *name)
 
void setFreq (freq_t freq, vfo_t vfo=(1<< 29))
 
freq_t getFreq (vfo_t vfo=(1<< 29))
 
void setMode (rmode_t, pbwidth_t width=((shortfreq_t)(0)), vfo_t vfo=(1<< 29))
 
rmode_t getMode (pbwidth_t &, vfo_t vfo=(1<< 29))
 
void setVFO (vfo_t)
 
vfo_t getVFO ()
 
void setPTT (ptt_t ptt, vfo_t vfo=(1<< 29))
 
ptt_t getPTT (vfo_t vfo=(1<< 29))
 
dcd_t getDCD (vfo_t vfo=(1<< 29))
 
void setLevel (setting_t level, int vali, vfo_t vfo=(1<< 29))
 
void setLevel (setting_t level, float valf, vfo_t vfo=(1<< 29))
 
void getLevel (setting_t level, int &vali, vfo_t vfo=(1<< 29))
 
void getLevel (setting_t level, float &valf, vfo_t vfo=(1<< 29))
 
int getLevelI (setting_t level, vfo_t vfo=(1<< 29))
 
float getLevelF (setting_t level, vfo_t vfo=(1<< 29))
 
bool hasGetLevel (setting_t level)
 
bool hasSetLevel (setting_t level)
 
void setParm (setting_t parm, int vali)
 
void setParm (setting_t parm, float valf)
 
void getParm (setting_t parm, int &vali)
 
void getParm (setting_t parm, float &valf)
 
int getParmI (setting_t parm)
 
float getParmF (setting_t parm)
 
bool hasGetParm (setting_t parm)
 
bool hasSetParm (setting_t parm)
 
void setFunc (setting_t func, bool status, vfo_t vfo=(1<< 29))
 
bool getFunc (setting_t func, vfo_t vfo=(1<< 29))
 
bool hasGetFunc (setting_t func)
 
bool hasSetFunc (setting_t func)
 
void VFOop (vfo_op_t op, vfo_t vfo=(1<< 29))
 
bool hasVFOop (vfo_op_t op)
 
void scan (scan_t scan, int ch, vfo_t vfo=(1<< 29))
 
bool hasScan (scan_t scan)
 
const char * getInfo (void)
 
pbwidth_t passbandNormal (rmode_t)
 
pbwidth_t passbandNarrow (rmode_t)
 
pbwidth_t passbandWide (rmode_t)
 
void setRptrShift (rptr_shift_t rptr_shift, vfo_t vfo=(1<< 29))
 
rptr_shift_t getRptrShift (vfo_t vfo=(1<< 29))
 
void setRptrOffs (shortfreq_t rptr_offs, vfo_t vfo=(1<< 29))
 
shortfreq_t getRptrOffs (vfo_t vfo=(1<< 29))
 
void setTs (shortfreq_t ts, vfo_t vfo=(1<< 29))
 
shortfreq_t getTs (vfo_t vfo=(1<< 29))
 
void setCTCSS (tone_t tone, vfo_t vfo=(1<< 29))
 
tone_t getCTCSS (vfo_t vfo=(1<< 29))
 
void setDCS (tone_t code, vfo_t vfo=(1<< 29))
 
tone_t getDCS (vfo_t vfo=(1<< 29))
 
void setCTCSSsql (tone_t tone, vfo_t vfo=(1<< 29))
 
tone_t getCTCSSsql (vfo_t vfo=(1<< 29))
 
void setDCSsql (tone_t tone, vfo_t vfo=(1<< 29))
 
tone_t getDCSsql (vfo_t vfo=(1<< 29))
 
unsigned int power2mW (float power, freq_t freq, rmode_t mode)
 
float mW2power (unsigned int mwpower, freq_t freq, rmode_t mode)
 
void setTrn (int trn)
 
int getTrn (void)
 
void setBank (int bank, vfo_t vfo=(1<< 29))
 
void setMem (int ch, vfo_t vfo=(1<< 29))
 
int getMem (vfo_t vfo=(1<< 29))
 
void setChannel (const channel_t *chan)
 
void getChannel (channel_t *chan)
 
void setPowerStat (powerstat_t status)
 
powerstat_t getPowerStat (void)
 
rmode_t RngRxModes (freq_t freq)
 
rmode_t RngTxModes (freq_t freq)
 
void setSplitFreq (freq_t tx_freq, vfo_t vfo=(1<< 29))
 
freq_t getSplitFreq (vfo_t vfo=(1<< 29))
 
void setSplitMode (rmode_t, pbwidth_t width=((shortfreq_t)(0)), vfo_t vfo=(1<< 29))
 
rmode_t getSplitMode (pbwidth_t &, vfo_t vfo=(1<< 29))
 
void setSplitVFO (split_t split, vfo_t vfo=(1<< 29), vfo_t tx_vfo=(1<< 29))
 
split_t getSplitVFO (vfo_t &tx_vfo, vfo_t vfo=(1<< 29))
 
void setRit (shortfreq_t rit, vfo_t vfo=(1<< 29))
 
shortfreq_t getRit (vfo_t vfo=(1<< 29))
 
void setXit (shortfreq_t xit, vfo_t vfo=(1<< 29))
 
shortfreq_t getXit (vfo_t vfo=(1<< 29))
 
void setAnt (ant_t ant, vfo_t vfo=(1<< 29))
 
ant_t getAnt (vfo_t vfo=(1<< 29))
 
void sendDtmf (const char *digits, vfo_t vfo=(1<< 29))
 
int recvDtmf (char *digits, vfo_t vfo=(1<< 29))
 
void sendMorse (const char *msg, vfo_t vfo=(1<< 29))
 
shortfreq_t getResolution (rmode_t mode)
 
void reset (reset_t reset)
 
virtual int FreqEvent (vfo_t, freq_t, char *) const
 
virtual int ModeEvent (vfo_t, rmode_t, pbwidth_t, char *) const
 
virtual int VFOEvent (vfo_t, char *) const
 
virtual int PTTEvent (vfo_t, ptt_t, char *) const
 
virtual int DCDEvent (vfo_t, dcd_t, char *) const
 

Data Fields

const struct rig_capscaps
 

The documentation for this class was generated from the following file:

Generated by doxygen 1.8.8

Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org