Hamlib  1.2.15
Data Fields
rig_callbacks Struct Reference

Callback functions and args for rig event. More...

#include <rig.h>

Data Fields

freq_cb_t freq_event
char * freq_arg
mode_cb_t mode_event
char * mode_arg
vfo_cb_t vfo_event
char * vfo_arg
ptt_cb_t ptt_event
char * ptt_arg
dcd_cb_t dcd_event
char * dcd_arg
pltune_cb_t pltune
char * pltune_arg

Detailed Description

Callback functions and args for rig event.

Some rigs are able to notify the host computer the operator changed the freq/mode from the front panel, depressed a button, etc.

Events from the rig are received through async io, so callback functions will be called from the SIGIO sighandler context.

Don't set these fields directly, use rig_set_freq_callback et. al. instead.

Callbacks suit event based programming very well, really appropriate in a GUI.

See also:
rig_set_freq_callback, rig_set_mode_callback, rig_set_vfo_callback, rig_set_ptt_callback, rig_set_dcd_callback

Field Documentation

DCD change argument

DCD change event

Frequency change argument

Frequency change event

Mode change argument

Mode change event

pltune_cb_t rig_callbacks::pltune

Pipeline tuning module freq/mode/width callback

Pipeline tuning argument

PTT change argument

PTT change event

VFO change argument

VFO change event


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.7.6.1

Hamlib documentation for version 1.2.15 -- Thu Feb 2 2012 21:37:29
Project page: http://www.hamlib.org