Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

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.

Event 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 instead rig_set_freq_callback et al.

Callbacks suit very well event based programming, 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

char* rig_callbacks::dcd_arg
 

DCD change argument

dcd_cb_t rig_callbacks::dcd_event
 

DCD change event

char* rig_callbacks::freq_arg
 

Frequency change argument

freq_cb_t rig_callbacks::freq_event
 

Frequency change event

char* rig_callbacks::mode_arg
 

Mode change argument

mode_cb_t rig_callbacks::mode_event
 

Mode change event

pltune_cb_t rig_callbacks::pltune
 

Pipeline tuning module freq/mode/width callback

char* rig_callbacks::pltune_arg
 

Pipeline tuning argument

char* rig_callbacks::ptt_arg
 

PTT change argument

ptt_cb_t rig_callbacks::ptt_event
 

PTT change event

char* rig_callbacks::vfo_arg
 

VFO change argument

vfo_cb_t rig_callbacks::vfo_event
 

VFO change event


The documentation for this struct was generated from the following file:
Generated on Sat Sep 30 15:49:37 2006 for Hamlib - the C library reference by  doxygen 1.4.4