#include <sranger_hwi.h>
Inheritance diagram for sranger_hwi_dev:
Public Member Functions | |
sranger_hwi_dev () | |
virtual | ~sranger_hwi_dev () |
virtual long | GetMaxPointsPerLine () |
virtual long | GetMaxLines () |
virtual int | ReadScanData (int y_index, int num_srcs, Mem2d *m[MAX_SRCS_CHANNELS]) |
virtual int | ReadProbeData (int nsrcs, int nprobe, int kx, int ky, Mem2d *m, double scale=1.) |
virtual gchar * | get_info () |
virtual gint | RTQuery (gchar *property, double &val) |
virtual gint | RTQuery (gchar *property, double &val1, double &val2) |
virtual gint | RTQuery (gchar *property, double &val1, double &val2, double &val3) |
virtual gint | RTQuery (gchar *property, gchar **val) |
virtual void | ExecCmd (int Cmd) |
void | swap (unsigned short *addr) |
void | swap (short *addr) |
void | swap (long *addr) |
void | check_and_swap (short &data) |
void | check_and_swap (unsigned short &data) |
void | check_and_swap (long &data) |
int | float_2_sranger_q15 (double x) |
int | int_2_sranger_int (int x) |
long | long_2_sranger_long (long x) |
int | is_scanning () |
int | start_fifo_read (int y_start, int num_srcs0, int num_srcs1, int num_srcs2, int num_srcs3, Mem2d **Mob0, Mem2d **Mob1, Mem2d **Mob2, Mem2d **Mob3) |
int | ReadLineFromFifo (int y_index) |
int | ReadProbeFifo (int dspdev, int control=0) |
Public Attributes | |
int | probe_fifo_thread_active |
int | probe_time_estimate |
int | fifo_data_y_index |
int | fifo_data_num_srcs [4] |
Mem2d ** | fifo_data_Mobp [4] |
int | probe_thread_dsp |
Protected Attributes | |
int | ScanningFlg |
int | KillFlg |
int | dsp |
int | dsp_alternative |
int | thread_dsp |
SPM_MAGIC_DATA_LOCATIONS | magic_data |
int | swap_flg |
Private Member Functions | |
int | FifoRead (int start, int end, int &xi, int num_srcs, int len, short *buffer, short *fifo) |
int | FifoRead (int start, int end, int &xi, int num_srcs, int len, long *buffer, long *fifo) |
Private Attributes | |
GThread * | fifo_read_thread |
GThread * | probe_fifo_read_thread |
gchar * | productid |
int | AIC_max_points |
Friends | |
class | DSPControl |
Definition at line 41 of file sranger_hwi.h.
|
|
Definition at line 300 of file sranger_hwi_dev.C. References dsp, dsp_alternative, probe_thread_dsp, SRANGER_DEBUG, and thread_dsp. |
|
Definition at line 86 of file sranger_hwi.h. |
|
Definition at line 82 of file sranger_hwi.h. |
|
Definition at line 78 of file sranger_hwi.h. References swap(), and swap_flg. Referenced by ReadProbeFifo(). |
|
Reimplemented in sranger_hwi_spm. Definition at line 72 of file sranger_hwi.h. |
|
Definition at line 580 of file sranger_hwi_dev.C. References DATAFIFO_LENGTH, DATAFIFO_MASK, swap(), and swap_flg. |
|
Definition at line 555 of file sranger_hwi_dev.C. References DATAFIFO_LENGTH, DATAFIFO_MASK, swap(), and swap_flg. |
|
Definition at line 333 of file sranger_hwi_dev.C. Referenced by DSPControl::write_dsp_feedback(). |
|
|
Reimplemented from XSM_Hardware. Definition at line 51 of file sranger_hwi.h. References AIC_max_points. |
|
Reimplemented from XSM_Hardware. Definition at line 50 of file sranger_hwi.h. References AIC_max_points. |
|
Definition at line 342 of file sranger_hwi_dev.C. References swap(), and swap_flg. Referenced by DSPMoverControl::create_waveform(), sranger_hwi_spm::EndScan2D(), sranger_hwi_spm::ExecCmd(), sranger_hwi_spm::ScanLineM(), and sranger_hwi_spm::SetOffset(). |
|
Definition at line 94 of file sranger_hwi.h. References ScanningFlg. Referenced by ProbeFifoReadFunction(), and ProbeFifoReadThread(). |
|
Definition at line 349 of file sranger_hwi_dev.C. References swap(), and swap_flg. Referenced by sranger_hwi_spm::EndScan2D(), sranger_hwi_spm::ScanLineM(), and sranger_hwi_spm::SetOffset(). |
|
Definition at line 426 of file sranger_hwi_dev.C. References DSPControlClass, DSPControl::probe_trigger_raster_points, ProbeFifoReadFunction(), SR_EMPTY_PROBE_FIFO, SR_READFIFO_RESET, and thread_dsp. Referenced by FifoReadThread(). |
|
Reimplemented from XSM_Hardware. Definition at line 1102 of file sranger_hwi_dev.C. |
|
|
Reimplemented from XSM_Hardware. Definition at line 1098 of file sranger_hwi_dev.C. |
|
Reimplemented from XSM_Hardware. Reimplemented in sranger_hwi_spm. Definition at line 70 of file sranger_hwi.h. References FALSE. |
|
Reimplemented from XSM_Hardware. Reimplemented in sranger_hwi_spm. Definition at line 69 of file sranger_hwi.h. References FALSE. |
|
Reimplemented from XSM_Hardware. Reimplemented in sranger_hwi_spm. Definition at line 68 of file sranger_hwi.h. References FALSE. |
|
Reimplemented from XSM_Hardware. Reimplemented in sranger_hwi_spm. Definition at line 67 of file sranger_hwi.h. References FALSE. |
|
|
Definition at line 322 of file sranger_hwi_dev.C. |
|
Definition at line 316 of file sranger_hwi_dev.C. |
|
Definition at line 310 of file sranger_hwi_dev.C. Referenced by check_and_swap(), FifoRead(), int_2_sranger_int(), long_2_sranger_long(), and sranger_hwi_dev(). |
|
Definition at line 44 of file sranger_hwi.h. |
|
Definition at line 126 of file sranger_hwi.h. Referenced by GetMaxLines(), GetMaxPointsPerLine(), and sranger_hwi_dev(). |
|
|
Definition at line 114 of file sranger_hwi.h. Referenced by DSPControl::add_user_event_now(), sranger_hwi_spm::RTQuery(), sranger_hwi_dev(), and ~sranger_hwi_dev(). |
|
Definition at line 107 of file sranger_hwi.h. Referenced by FifoReadThread(), and start_fifo_read(). |
|
Definition at line 106 of file sranger_hwi.h. Referenced by FifoReadThread(), and start_fifo_read(). |
|
Definition at line 105 of file sranger_hwi.h. Referenced by FifoReadThread(), sranger_hwi_spm::ScanLineM(), and start_fifo_read(). |
|
Definition at line 121 of file sranger_hwi.h. Referenced by sranger_hwi_dev(), and start_fifo_read(). |
|
Definition at line 112 of file sranger_hwi.h. Referenced by sranger_hwi_spm::KillScan2D(), and sranger_hwi_spm::StartScan2D(). |
|
|
Definition at line 122 of file sranger_hwi.h. Referenced by sranger_hwi_dev(), and start_fifo_read(). |
|
Definition at line 103 of file sranger_hwi.h. Referenced by ProbeFifoReadThread(), and sranger_hwi_dev(). |
|
Definition at line 109 of file sranger_hwi.h. Referenced by ProbeFifoReadThread(), sranger_hwi_dev(), and ~sranger_hwi_dev(). |
|
Definition at line 104 of file sranger_hwi.h. Referenced by ProbeFifoReadThread(), and DSPControl::write_dsp_probe(). |
|
Definition at line 125 of file sranger_hwi.h. Referenced by get_info(), and sranger_hwi_dev(). |
|
Definition at line 111 of file sranger_hwi.h. Referenced by sranger_hwi_spm::EndScan2D(), is_scanning(), sranger_hwi_spm::PauseScan2D(), sranger_hwi_spm::ResumeScan2D(), sranger_hwi_spm::ScanLineM(), sranger_hwi_spm::sranger_hwi_spm(), and sranger_hwi_spm::StartScan2D(). |
|
Definition at line 118 of file sranger_hwi.h. Referenced by check_and_swap(), FifoRead(), int_2_sranger_int(), long_2_sranger_long(), and sranger_hwi_dev(). |
|
Definition at line 115 of file sranger_hwi.h. Referenced by ReadLineFromFifo(), sranger_hwi_dev(), start_fifo_read(), and ~sranger_hwi_dev(). |