DSPMoverControl Class Reference

#include <sranger_hwi_control.h>

Inheritance diagram for DSPMoverControl:

AppBase AppBase MyGnomeTools MyGnomeTools MyGnomeTools MyGnomeTools List of all members.

Public Member Functions

 DSPMoverControl (DSP_Param *Dsp, XSM_Hardware *Hard, int InWindow=TRUE)
virtual ~DSPMoverControl ()
void update ()
void updateDSP (int sliderno=-1)
 DSPMoverControl ()
virtual ~DSPMoverControl ()
void update ()
void updateDSP (int sliderno=-1)
void create_waveform (double amp, double duration)

Static Public Member Functions

static void ExecCmd (int cmd)
static void ChangedNotify (Param_Control *pcs, gpointer data)
static int CmdAction (GtkWidget *widget, DSPMoverControl *dspc)
static int StopAction (GtkWidget *widget, DSPMoverControl *dspc)
static void ExecCmd (int cmd)
static void ChangedNotify (Param_Control *pcs, gpointer data)
static int config_mode (GtkWidget *widget, DSPMoverControl *dspc)
static int config_waveform (GtkWidget *widget, DSPMoverControl *dspc)
static int config_output (GtkWidget *widget, DSPMoverControl *dspc)
static int CmdAction (GtkWidget *widget, DSPMoverControl *dspc)
static int StopAction (GtkWidget *widget, DSPMoverControl *dspc)

Public Attributes

Mover_Param mover_param

Private Member Functions

void create_folder ()
void create_folder ()

Private Attributes

UnitObjUnity
UnitObjVolt
UnitObjTime
UnitObjLength
DSP_Paramdsp
XSM_Hardwarehard
UnitObjUnity

Detailed Description

Definition at line 181 of file DSPMover.C.


Constructor & Destructor Documentation

DSPMoverControl::DSPMoverControl DSP_Param Dsp,
XSM_Hardware Hard,
int  InWindow = TRUE
 

Definition at line 260 of file DSPMover.C.

References create_folder(), dsp, hard, Length, Time, Unity, and Volt.

DSPMoverControl::~DSPMoverControl  )  [virtual]
 

Definition at line 273 of file DSPMover.C.

References Length, Time, Unity, and Volt.

DSPMoverControl::DSPMoverControl  ) 
 

Definition at line 61 of file sranger_hwi_mover.C.

References Mover_Param::AFM_Amp, Mover_Param::AFM_Speed, Mover_Param::AFM_Steps, Mover_Param::AFM_usrAmp, Mover_Param::AFM_usrSpeed, Mover_Param::AFM_usrSteps, create_folder(), Mover_Param::final_delay, XsmRescourceManager::Get(), Length, Mover_Param::MOV_Ampl, MOV_MAXWAVELEN, Mover_Param::MOV_mode, Mover_Param::MOV_output, Mover_Param::MOV_Speed, Mover_Param::MOV_Steps, Mover_Param::MOV_wave_len, Mover_Param::MOV_waveform, Mover_Param::MOV_waveform_id, mover_param, Time, Unity, and Volt.

virtual DSPMoverControl::~DSPMoverControl  )  [virtual]
 


Member Function Documentation

static void DSPMoverControl::ChangedNotify Param_Control pcs,
gpointer  data
[static]
 

void DSPMoverControl::ChangedNotify Param_Control pcs,
gpointer  data
[static]
 

Definition at line 749 of file DSPMover.C.

References DBG_L2, Param_Control::Get_UsrString(), Param_Control::GetEntryData(), IS_MOVER_CTRL, and PI_DEBUG.

Referenced by create_folder().

static int DSPMoverControl::CmdAction GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

int DSPMoverControl::CmdAction GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

Definition at line 729 of file DSPMover.C.

References DBG_L2, ExecCmd(), IS_MOVER_CTRL, PI_DEBUG, and updateDSP().

Referenced by create_folder().

int DSPMoverControl::config_mode GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

Definition at line 672 of file sranger_hwi_mover.C.

References Mover_Param::MOV_mode, and mover_param.

int DSPMoverControl::config_output GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

Definition at line 682 of file sranger_hwi_mover.C.

References Mover_Param::MOV_output, and mover_param.

int DSPMoverControl::config_waveform GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

Definition at line 677 of file sranger_hwi_mover.C.

References Mover_Param::MOV_waveform_id, and mover_param.

void DSPMoverControl::create_folder  )  [private]
 

void DSPMoverControl::create_folder  )  [private]
 

Definition at line 413 of file DSPMover.C.

References DSP_Param::AFM_usrAmp, DSP_Param::AFM_usrSpeed, DSP_Param::AFM_usrSteps, AppBase::AppWidgetInit(), ARROW_SIZE, ChangedNotify(), CmdAction(), MyGnomeTools::create_arrow_button(), create_window_key_press_event_lcb(), DBG_L2, dsp, DSP_CMD_AFM_MOV_XM, DSP_CMD_AFM_MOV_XP, DSP_CMD_AFM_MOV_YM, DSP_CMD_AFM_MOV_YP, DSP_CMD_APPROCH, DSP_CMD_APPROCH_MOV_XP, DSP_CMD_CLR_PA, FALSE, GNOME_PAD, IS_MOVER_CTRL, IS_SLIDER_CTRL, MLD_WERT_NICHT_OK, DSP_Param::MOV_Ampl, MOV_MOVER_TITLE, MOV_SLIDER_TITLE, DSP_Param::MOV_Speed, DSP_Param::MOV_Steps, MyGnomeTools::mygtk_create_input(), PI_DEBUG, Param_Control::Set_ChangeNoticeFkt(), XSMRESOURCES::SliderControlType, StopAction(), Time, DSP_Param::TIP_Delay, DSP_Param::TIP_DUz, DSP_Param::TIP_DUzRev, DSP_Param::TIP_nSteps, TRUE, Unity, AppBase::vbox, Volt, and xsmres.

Referenced by DSPMoverControl().

void DSPMoverControl::create_waveform double  amp,
double  duration
 

Definition at line 111 of file sranger_hwi_mover.C.

References cos(), DSPControlClass, DSPControl::frq_ref, sranger_hwi_dev::int_2_sranger_int(), MOV_MAXWAVELEN, MOV_WAVE_CYCLO, Mover_Param::MOV_wave_len, MOV_WAVE_SAWTOOTH, MOV_WAVE_SINE, Mover_Param::MOV_waveform, Mover_Param::MOV_waveform_id, mover_param, sin(), SR_VFAC, and sranger_hwi_hardware.

Referenced by sranger_hwi_spm::ExecCmd().

static void DSPMoverControl::ExecCmd int  cmd  )  [static]
 

void DSPMoverControl::ExecCmd int  cmd  )  [static]
 

Definition at line 761 of file DSPMover.C.

References GxsmPlugin::app, DSPMover_pi, Xsm::hardware, and App::xsm.

Referenced by CmdAction(), and StopAction().

static int DSPMoverControl::StopAction GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

int DSPMoverControl::StopAction GtkWidget *  widget,
DSPMoverControl dspc
[static]
 

Definition at line 743 of file DSPMover.C.

References DBG_L2, DSP_CMD_CLR_PA, ExecCmd(), and PI_DEBUG.

Referenced by create_folder().

void DSPMoverControl::update  ) 
 

void DSPMoverControl::update  ) 
 

Definition at line 708 of file DSPMover.C.

References App::update_ec(), and AppBase::widget.

void DSPMoverControl::updateDSP int  sliderno = -1  ) 
 

void DSPMoverControl::updateDSP int  sliderno = -1  ) 
 

Definition at line 715 of file DSPMover.C.

References DSP_Param::AFM_Amp, DSP_Param::AFM_Speed, DSP_Param::AFM_Steps, DSP_Param::AFM_usrAmp, DSP_Param::AFM_usrSpeed, DSP_Param::AFM_usrSteps, GxsmPlugin::app, DBG_L2, dsp, DSPMover_pi, Xsm::hardware, DSP_Param::MOV_Ampl, DSP_Param::MOV_Speed, DSP_Param::MOV_Steps, PI_DEBUG, and App::xsm.

Referenced by CmdAction().


Member Data Documentation

DSP_Param* DSPMoverControl::dsp [private]
 

Definition at line 197 of file DSPMover.C.

Referenced by create_folder(), DSPMoverControl(), and updateDSP().

XSM_Hardware* DSPMoverControl::hard [private]
 

Definition at line 198 of file DSPMover.C.

Referenced by DSPMoverControl().

UnitObj * DSPMoverControl::Length [private]
 

Definition at line 196 of file DSPMover.C.

Referenced by DSPMoverControl(), and ~DSPMoverControl().

Mover_Param DSPMoverControl::mover_param
 

Definition at line 332 of file sranger_hwi_control.h.

Referenced by config_mode(), config_output(), config_waveform(), create_waveform(), DSPMoverControl(), and sranger_hwi_spm::ExecCmd().

UnitObj * DSPMoverControl::Time [private]
 

Definition at line 196 of file DSPMover.C.

Referenced by create_folder(), DSPMoverControl(), and ~DSPMoverControl().

UnitObj* DSPMoverControl::Unity [private]
 

Definition at line 337 of file sranger_hwi_control.h.

UnitObj* DSPMoverControl::Unity [private]
 

Definition at line 196 of file DSPMover.C.

Referenced by create_folder(), DSPMoverControl(), and ~DSPMoverControl().

UnitObj * DSPMoverControl::Volt [private]
 

Definition at line 196 of file DSPMover.C.

Referenced by create_folder(), DSPMoverControl(), and ~DSPMoverControl().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:05:16 2006 for GXSM by  doxygen 1.4.6