sranger_hwi.C File Reference

#include <sys/ioctl.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/xsmhard.h"
#include "gxsm/glbvars.h"
#include "sranger_hwi.h"
#include "sranger_hwi_control.h"

Go to the source code of this file.

Defines

#define THIS_HWI_PLUGIN_NAME   "SRanger:SPM"

Functions

static void sranger_hwi_init (void)
static void sranger_hwi_about (void)
static void sranger_hwi_configure (void)
static void sranger_hwi_query (void)
static void sranger_hwi_cleanup (void)
static void DSPControl_show_callback (GtkWidget *, void *)
static void DSPMover_show_callback (GtkWidget *, void *)
static void DSPControl_StartScan_callback (gpointer)
static void DSPControl_SaveValues_callback (gpointer)
static void DSPControl_LoadValues_callback (gpointer)
GxsmPluginget_gxsm_plugin_info (void)
XSM_Hardwareget_gxsm_hwi_hardware_class (void *data)

Variables

GxsmPlugin sranger_hwi_pi
static const char * about_text
gchar * sranger_hwi_configure_string = NULL
sranger_hwi_devsranger_hwi_hardware = NULL
gchar * DSPControl_menupath = N_("_Windows/")
gchar * DSPControl_menuentry = N_("SR-DSP Control")
gchar * DSPControl_menuhelp = N_("open the SR-DSP control window")
gchar * DSPMover_menuentry = N_("SR-DSP Mover")
gchar * DSPMover_menuhelp = N_("open the SR-DSP mover control window")
DSPControlDSPControlClass = NULL
DSPMoverControlDSPMoverClass = NULL


Define Documentation

#define THIS_HWI_PLUGIN_NAME   "SRanger:SPM"
 

Definition at line 432 of file sranger_hwi.C.


Function Documentation

static void DSPControl_LoadValues_callback gpointer   )  [static]
 

Definition at line 651 of file sranger_hwi.C.

References DSPControlClass, and DSPControl::load_values().

Referenced by sranger_hwi_query().

static void DSPControl_SaveValues_callback gpointer   )  [static]
 

Definition at line 645 of file sranger_hwi.C.

References DSPControlClass, and DSPControl::save_values().

Referenced by sranger_hwi_query().

static void DSPControl_show_callback GtkWidget *  ,
void * 
[static]
 

Definition at line 629 of file sranger_hwi.C.

References DSPControlClass, and AppBase::show().

static void DSPControl_StartScan_callback gpointer   )  [static]
 

Definition at line 639 of file sranger_hwi.C.

References DSPControlClass, and DSPControl::update().

static void DSPMover_show_callback GtkWidget *  ,
void * 
[static]
 

Definition at line 634 of file sranger_hwi.C.

References DSPMoverClass, and AppBase::show().

XSM_Hardware* get_gxsm_hwi_hardware_class void *  data  ) 
 

Definition at line 544 of file sranger_hwi.C.

References DBG_L2, PI_DEBUG, sranger_hwi_configure_string, and sranger_hwi_hardware.

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 537 of file sranger_hwi.C.

References GxsmPlugin::description, N_, sranger_hwi_pi, and VERSION.

static void sranger_hwi_about void   )  [static]
 

Definition at line 559 of file sranger_hwi.C.

References about_text, GxsmPlugin::authors, N_, GxsmPlugin::name, sranger_hwi_pi, and VERSION.

static void sranger_hwi_cleanup void   )  [static]
 

Definition at line 658 of file sranger_hwi.C.

References GxsmPlugin::app, DBG_L2, DSPControl_menuentry, DSPControl_menupath, DSPControlClass, DSPMover_menuentry, DSPMoverClass, GnomeAppService::getApp(), PI_DEBUG, sranger_hwi_configure_string, sranger_hwi_hardware, and sranger_hwi_pi.

static void sranger_hwi_configure void   )  [static]
 

Definition at line 572 of file sranger_hwi.C.

References GxsmPlugin::app, DBG_L2, GnomeAppService::message(), PI_DEBUG, and sranger_hwi_pi.

static void sranger_hwi_init void   )  [static]
 

Definition at line 552 of file sranger_hwi.C.

References DBG_L2, PI_DEBUG, and sranger_hwi_hardware.

static void sranger_hwi_query void   )  [static]
 

Definition at line 580 of file sranger_hwi.C.

References GxsmPlugin::app, App::ConnectPluginToCDFLoadEvent(), App::ConnectPluginToCDFSaveEvent(), App::ConnectPluginToStartScanEvent(), DBG_L2, DSPControl_LoadValues_callback(), DSPControl_menuentry, DSPControl_menuhelp, DSPControl_menupath, DSPControl_SaveValues_callback(), DSPControl_show_callback(), DSPControl_StartScan_callback(), DSPControlClass, DSPMover_menuentry, DSPMover_menuhelp, DSPMover_show_callback(), DSPMoverClass, XSMRESOURCES::geomsave, GnomeAppService::getApp(), N_, GxsmPlugin::name, PI_DEBUG, AppBase::SetResName(), sranger_hwi_configure_string, sranger_hwi_pi, GxsmPlugin::status, and xsmres.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("GXSM sranger_hwi Plugin\n\n"
                                   "Signal Ranger Hardware Interface for SPM.")

Definition at line 494 of file sranger_hwi.C.

gchar* DSPControl_menuentry = N_("SR-DSP Control")
 

Definition at line 512 of file sranger_hwi.C.

Referenced by sranger_hwi_cleanup(), and sranger_hwi_query().

gchar* DSPControl_menuhelp = N_("open the SR-DSP control window")
 

Definition at line 513 of file sranger_hwi.C.

Referenced by sranger_hwi_query().

gchar* DSPControl_menupath = N_("_Windows/")
 

Definition at line 511 of file sranger_hwi.C.

Referenced by sranger_hwi_cleanup(), and sranger_hwi_query().

DSPControl* DSPControlClass = NULL
 

Definition at line 518 of file sranger_hwi.C.

gchar* DSPMover_menuentry = N_("SR-DSP Mover")
 

Definition at line 515 of file sranger_hwi.C.

Referenced by sranger_hwi_cleanup(), and sranger_hwi_query().

gchar* DSPMover_menuhelp = N_("open the SR-DSP mover control window")
 

Definition at line 516 of file sranger_hwi.C.

Referenced by sranger_hwi_query().

DSPMoverControl* DSPMoverClass = NULL
 

Definition at line 519 of file sranger_hwi.C.

gchar* sranger_hwi_configure_string = NULL
 

Definition at line 508 of file sranger_hwi.C.

Referenced by get_gxsm_hwi_hardware_class(), sranger_hwi_cleanup(), and sranger_hwi_query().

sranger_hwi_dev* sranger_hwi_hardware = NULL
 

Definition at line 509 of file sranger_hwi.C.

Referenced by DSPControl::add_user_event_now(), DSPMoverControl::create_waveform(), get_gxsm_hwi_hardware_class(), DSPControl::LockIn_exec_callback(), DSPControl::Probing_exec_FZ_callback(), DSPControl::Probing_exec_IV_callback(), DSPControl::Probing_exec_LM_callback(), DSPControl::Probing_exec_PL_callback(), DSPControl::Probing_exec_RF_callback(), DSPControl::read_dsp_analog(), DSPControl::read_dsp_feedback(), DSPControl::read_dsp_probe(), DSPControl::read_dsp_scan(), DSPControl::read_dsp_state(), DSPControl::read_dsp_vector(), DSPControl::save_values(), sranger_hwi_cleanup(), sranger_hwi_init(), DSPControl::write_dsp_analog(), DSPControl::write_dsp_feedback(), DSPControl::write_dsp_probe(), DSPControl::write_dsp_scan(), and DSPControl::write_dsp_vector().

GxsmPlugin sranger_hwi_pi
 

Definition at line 442 of file sranger_hwi.C.

Referenced by sranger_hwi_spm::EndScan2D(), get_gxsm_plugin_info(), DSPControl::read_dsp_vector(), DSPControl::save_values(), sranger_hwi_spm::ScanLineM(), sranger_hwi_spm::SetOffset(), sranger_hwi_about(), sranger_hwi_cleanup(), sranger_hwi_configure(), sranger_hwi_query(), DSPControl::write_dsp_feedback(), and DSPControl::write_dsp_vector().


Generated on Sat Apr 1 09:04:46 2006 for GXSM by  doxygen 1.4.6