Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clGUILofar Class Reference

LOFAR/DEMON GUI. More...

#include <GUILofar.hh>

Collaboration diagram for clGUILofar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clGUILofar (int *, char ***)
 ~clGUILofar ()
int Exec ()
gint OnDelete (GtkWidget *, GdkEventAny *)
void OnHideToggled (GtkToggleButton *, gpointer)
gint OnConnectClick (GtkWidget *, gpointer)
void OnFreezeToggled (GtkToggleButton *, gpointer)
gint OnExposeLofar (GtkWidget *, GdkEventExpose *, gpointer)
gint OnConfigureLofar (GtkWidget *, GdkEventConfigure *, gpointer)
gint OnExposeLine (GtkWidget *, GdkEventExpose *, gpointer)
gint OnExposeCursor (GtkWidget *, GdkEventExpose *, gpointer)
gint OnMotionLofar (GtkWidget *, GdkEventMotion *, gpointer)
gint OnPaletteActivate (GtkWidget *, gpointer)
void OnAverageToggled (GtkToggleButton *, gpointer)
void OnClipValueChanged (GtkAdjustment *, gpointer)
void OnSaveClicks (GtkWidget *, gpointer)
void OnGdkInput (gpointer, gint, GdkInputCondition)

Private Member Functions

bool Build ()
bool BuildTable1 ()
bool BuildTable2 ()
bool BuildTable3 ()
bool BuildTable4 ()
bool BuildTableLofar ()
bool BuildDrawingPrims ()
void FreeDrawingPrims ()
bool ConnectSignals ()
bool ParseServerStr (char *, int *, const char *)
bool InitConnection (const char *, int)
bool SendSettings ()
void PrintStatus ()
void SetPalette (int)
void Configure ()
void ConfigureHeight ()
void DrawCursor ()
void SaveInfo (const char *, time_t)
void StartNewImgFile ()

Private Attributes

bool bRun
bool bConnected
bool bFreezed
bool bConfigured
bool bAveraged
bool bCursorDrag
bool bSaving
int iResMsgBufSize
int iFit
int iPalette
int iLofarWidth
int iLofarHeight
int iCursorX
int iCursorY
int iClips
int iTIFFCompression
int iJPEGQuality
int iContSaveScans
int iCompressMode
int iScanCount
int iImgCount
int iBeamCount
long lSpectSize
GDT fClip
stLofarReq sLofarRq
stLofarRes sLofarResHdr
stLofarCursor sLCursor
GList * glServer
gint giGdkTag
guint guSbCtxt
GtkWidget * gwWindow
GtkWidget * gwVBox
GtkWidget * gwCBHide
GtkWidget * gwStatusBar
GtkWidget * gwTable1
GtkWidget * gwLServer
GtkWidget * gwCServer
GtkWidget * gwLChannel
GtkObject * goAChannel
GtkWidget * gwSBChannel
GtkWidget * gwBConnect
GtkWidget * gwBDisconnect
GtkWidget * gwCBFreeze
GtkWidget * gwTable2
GtkWidget * gwLType
GtkWidget * gwOMType
GtkWidget * gwMType
GtkWidget * gwaMIType [LGUI_TYPE_ITEMS]
GtkWidget * gwLWindow
GtkWidget * gwOMWindow
GtkWidget * gwMWindow
GtkWidget * gwaMIWindow [LGUI_WINDOW_ITEMS]
GtkWidget * gwLWinParam
GtkWidget * gwEWinParam
GtkWidget * gwLWinLength
GtkWidget * gwOMWinLength
GtkWidget * gwMWinLength
GtkWidget * gwaMIWinLength [LGUI_WIN_LENGTH_ITEMS]
GtkWidget * gwLLowerFreq
GtkWidget * gwELowerFreq
GtkWidget * gwLHigherFreq
GtkWidget * gwEHigherFreq
GtkWidget * gwLOverlap
GtkWidget * gwEOverlap
GtkWidget * gwTable3
GtkWidget * gwLRemoveNoise
GtkWidget * gwOMRemoveNoise
GtkWidget * gwMRemoveNoise
GtkWidget * gwaMIRemoveNoise [LGUI_REMOVE_NOISE_ITEMS]
GtkWidget * gwLAlpha
GtkWidget * gwEAlpha
GtkWidget * gwLMeanLength
GtkWidget * gwEMeanLength
GtkWidget * gwLGapLength
GtkWidget * gwEGapLength
GtkWidget * gwLAverageCount
GtkWidget * gwEAverageCount
GtkWidget * gwLClip
GtkWidget * gwOMClip
GtkWidget * gwMClip
GtkWidget * gwaMIClip [LGUI_CLIP_ITEMS]
GtkWidget * gwCBLinear
GtkWidget * gwCBDemon
GtkWidget * gwLPalette
GtkWidget * gwOMPalette
GtkWidget * gwMPalette
GtkWidget * gwaMIPalette [LGUI_PALETTE_ITEMS]
GtkWidget * gwCBAverage
GtkWidget * gwCBSaving
GtkWidget * gwBSave
GtkWidget * gwFSSave
GtkWidget * gwTable4
GtkWidget * gwLClipValue
GtkObject * goAClipValue
GtkWidget * gwHSClipValue
GtkWidget * gwTableLofar
GtkWidget * gwLTopTime
GtkWidget * gwLBottomTime
GtkWidget * gwSWLofar
GtkWidget * gwTableLofar2
GtkWidget * gwHRFrequency
GtkWidget * gwVRTime
GtkWidget * gwDALine
GtkWidget * gwDACursor
GtkWidget * gwDALofar
GdkGC * ggcLofarBG
GdkGC * ggcLofarFG
GdkGC * ggcLineBG
GdkGC * ggcLineFG
GdkGC * ggcCursorBG
GdkGC * ggcCursorFG
GdkCursor * gcCrossHair
std::string strImgFileName
clAlloc SpectData
clAlloc AvgSpectData
clCfgFile Cfg
clDSPOp DSP
clFrameBuf FBLofar
clGtkUtils GtkUtils
clLofarMsg LofarMsg
clSockClie SClient
clSockOp SOp

Detailed Description

LOFAR/DEMON GUI.

Definition at line 119 of file GUILofar.hh.


Constructor & Destructor Documentation

clGUILofar::clGUILofar int *  ,
char *** 
 

Definition at line 1331 of file GUILofar.cc.

References bAveraged, bConfigured, bConnected, bCursorDrag, bFreezed, bRun, Cfg, cpWindowTxt, _stLofarReq::fAlpha, FB_TIFF_COMPRESS_DEFLATE, FB_TIFF_COMPRESS_JPEG, FB_TIFF_COMPRESS_LZW, FB_TIFF_COMPRESS_NONE, FB_TIFF_COMPRESS_RLE, fClip, _stLofarReq::fHighFreq, _stLofarReq::fLowFreq, clCfgFile::GetFlt(), clCfgFile::GetInt(), glServer, iBeamCount, _stLofarReq::iClip, iCompressMode, iContSaveScans, iFit, iJPEGQuality, iLofarHeight, iLofarWidth, iPalette, _stLofarReq::iRemoveNoise, iTIFFCompression, _stLofarReq::lAvgCount, _stLofarReq::lGapLength, LGUI_CFGFILE, LGUI_DEF_ALPHA, LGUI_DEF_GAP_LENGTH, LGUI_DEF_HEIGHT, LGUI_DEF_HIGH_FREQ, LGUI_DEF_LOW_FREQ, LGUI_DEF_MEAN_LENGTH, LGUI_DEF_REMOVE_NOISE, LGUI_DEF_WIN_LENGTH, LGUI_VER_MAJ, LGUI_VER_MIN, LGUI_VER_PL, _stLofarReq::lMeanLength, _stLofarReq::lWinLength, MSG_LOFAR_CLIP_NONE, clCfgFile::SetFileName(), sLCursor, and sLofarRq.

clGUILofar::~clGUILofar  ) 
 

Definition at line 1410 of file GUILofar.cc.


Member Function Documentation

bool clGUILofar::Build  )  [private]
 

Definition at line 189 of file GUILofar.cc.

References BuildDrawingPrims(), BuildTable1(), BuildTable2(), BuildTable3(), BuildTable4(), BuildTableLofar(), cpWindowTxt, gcCrossHair, guSbCtxt, gwCBHide, gwDALine, gwDALofar, gwStatusBar, gwVBox, gwWindow, and LGUI_PADDING.

Referenced by Exec().

bool clGUILofar::BuildTable1  )  [private]
 

Definition at line 263 of file GUILofar.cc.

References clGtkUtils::ComboListFromFile(), cpaLChannelTxt, cpBConnectTxt, cpBDisconnectTxt, cpCBFreezeTxt, cpLServerTxt, glServer, goAChannel, GtkUtils, gwBConnect, gwBDisconnect, gwCBFreeze, gwCServer, gwLChannel, gwLServer, gwSBChannel, gwTable1, gwVBox, iBeamCount, LGUI_CH_LOWER, LGUI_CH_UPPER, LGUI_HOSTFILE, LGUI_PADDING, and LGUI_SERVER_MAXLEN.

Referenced by Build().

bool clGUILofar::BuildTable2  )  [private]
 

Definition at line 358 of file GUILofar.cc.

References clGtkUtils::BuildOptionMenu(), cpaLTypeMenu, cpaLWindowMenu, cpaLWinLengthMenu, cpLHigherFreqTxt, cpLLowerFreqTxt, cpLOverlapTxt, cpLTypeTxt, cpLWindowTxt, cpLWinLengthTxt, cpLWinParamTxt, _stLofarReq::fHighFreq, _stLofarReq::fLowFreq, GtkUtils, gwaMIType, gwaMIWindow, gwaMIWinLength, gwEHigherFreq, gwELowerFreq, gwEOverlap, gwEWinParam, gwLHigherFreq, gwLLowerFreq, gwLOverlap, gwLType, gwLWindow, gwLWinLength, gwLWinParam, gwMType, gwMWindow, gwMWinLength, gwOMType, gwOMWindow, gwOMWinLength, gwTable2, gwVBox, LGUI_CONV_BUF_SIZE, LGUI_ENTRY_WIDTH, LGUI_PADDING, LGUI_TYPE_ITEMS, LGUI_WIN_LENGTH_ITEMS, LGUI_WINDOW_ITEMS, _stLofarReq::lWinLength, and sLofarRq.

Referenced by Build().

bool clGUILofar::BuildTable3  )  [private]
 

Definition at line 505 of file GUILofar.cc.

References clGtkUtils::BuildOptionMenu(), cpaLClipMenu, cpaLPaletteMenu, cpaLRemoveNoiseMenu, cpBSaveTxt, cpCBAverageTxt, cpCBDemonTxt, cpCBLinearTxt, cpCBSavingTxt, cpFSSaveTxt, cpLAlphaTxt, cpLAverageCountTxt, cpLClipTxt, cpLGapLengthTxt, cpLMeanLengthTxt, cpLPaletteTxt, cpLRemoveNoiseTxt, _stLofarReq::fAlpha, GtkUtils, gwaMIClip, gwaMIPalette, gwaMIRemoveNoise, gwBSave, gwCBAverage, gwCBDemon, gwCBLinear, gwCBSaving, gwEAlpha, gwEAverageCount, gwEGapLength, gwEMeanLength, gwFSSave, gwLAlpha, gwLAverageCount, gwLClip, gwLGapLength, gwLMeanLength, gwLPalette, gwLRemoveNoise, gwMClip, gwMPalette, gwMRemoveNoise, gwOMClip, gwOMPalette, gwOMRemoveNoise, gwTable3, gwVBox, _stLofarReq::iClip, iPalette, _stLofarReq::iRemoveNoise, _stLofarReq::lAvgCount, _stLofarReq::lGapLength, LGUI_CLIP_ITEMS, LGUI_CONV_BUF_SIZE, LGUI_ENTRY_WIDTH, LGUI_PADDING, LGUI_PALETTE_ITEMS, LGUI_REMOVE_NOISE_ITEMS, _stLofarReq::lMeanLength, and sLofarRq.

Referenced by Build().

bool clGUILofar::BuildTable4  )  [private]
 

Definition at line 705 of file GUILofar.cc.

References cpLClipValueTxt, goAClipValue, gwHSClipValue, gwLClipValue, gwTable4, gwVBox, and LGUI_PADDING.

Referenced by Build().

bool clGUILofar::BuildTableLofar  )  [private]
 

Definition at line 737 of file GUILofar.cc.

References gwDACursor, gwDALine, gwDALofar, gwHRFrequency, gwLBottomTime, gwLTopTime, gwSWLofar, gwTableLofar, gwTableLofar2, gwVBox, gwVRTime, iFit, LGUI_CURSOR_HEIGHT, LGUI_LINESPECT_HEIGHT, _stLofarReq::lWinLength, and sLofarRq.

Referenced by Build().

bool clGUILofar::BuildDrawingPrims  )  [private]
 

Definition at line 850 of file GUILofar.cc.

References Cfg, gcCrossHair, clCfgFile::GetInt(), ggcCursorBG, ggcCursorFG, ggcLineBG, ggcLineFG, ggcLofarBG, ggcLofarFG, gwDACursor, gwDALine, gwDALofar, LGUI_CURSOR_BG, LGUI_CURSOR_FG, LGUI_LINE_BG, LGUI_LINE_FG, LGUI_LOFAR_BG, LGUI_LOFAR_FG, and SetPalette().

Referenced by Build().

void clGUILofar::FreeDrawingPrims  )  [private]
 

Definition at line 902 of file GUILofar.cc.

References gcCrossHair, ggcCursorBG, ggcCursorFG, ggcLineBG, ggcLineFG, ggcLofarBG, and ggcLofarFG.

Referenced by Exec().

bool clGUILofar::ConnectSignals  )  [private]
 

Definition at line 914 of file GUILofar.cc.

References clGtkUtils::ConnectMotionEvent(), goAClipValue, GtkUtils, gwaMIPalette, gwBConnect, gwBDisconnect, gwBSave, gwCBAverage, gwCBFreeze, gwCBHide, gwCBSaving, gwDACursor, gwDALine, gwDALofar, gwFSSave, gwHRFrequency, gwVRTime, gwWindow, LGUI_PALETTE_ITEMS, WrapOnAverageToggled(), WrapOnClipValueChanged(), WrapOnConfigureLofar(), WrapOnConnectClick(), WrapOnDelete(), WrapOnExposeCursor(), WrapOnExposeLine(), WrapOnExposeLofar(), WrapOnFreezeToggled(), WrapOnHideToggled(), WrapOnMotionLofar(), WrapOnPaletteActivate(), and WrapOnSaveClicks().

Referenced by Exec().

bool clGUILofar::ParseServerStr char *  ,
int *  ,
const char * 
[private]
 

Definition at line 979 of file GUILofar.cc.

References LGUI_SERVER_MAXLEN.

Referenced by OnConnectClick().

bool clGUILofar::InitConnection const char *  ,
int 
[private]
 

Definition at line 1002 of file GUILofar.cc.

References AvgSpectData, bConfigured, bConnected, clSockClie::Connect(), GDT, giGdkTag, GLOBAL_HEADER_LEN, iClips, LGUI_REQ_PROC, lSpectSize, _stLofarReq::lWinLength, SClient, SendSettings(), clSockOp::SetHandle(), sLofarRq, SOp, SpectData, WrapOnGdkInput(), and clSockOp::WriteN().

Referenced by OnConnectClick().

bool clGUILofar::SendSettings  )  [private]
 

Definition at line 1038 of file GUILofar.cc.

References _stLofarReq::bDemon, _stLofarReq::bLinear, _stLofarReq::fAlpha, _stLofarReq::fHighFreq, _stLofarReq::fLowFreq, _stLofarReq::fWinParameter, GLOBAL_HEADER_LEN, GtkUtils, gwaMIClip, gwaMIRemoveNoise, gwaMIType, gwaMIWindow, gwaMIWinLength, gwCBDemon, gwCBLinear, gwEAlpha, gwEAverageCount, gwEGapLength, gwEHigherFreq, gwELowerFreq, gwEMeanLength, gwEOverlap, gwEWinParam, gwOMClip, gwOMRemoveNoise, gwOMType, gwOMWindow, gwOMWinLength, gwSBChannel, iBeamCount, _stLofarReq::iChannel, _stLofarReq::iClip, _stLofarReq::iOverlap, _stLofarReq::iRemoveNoise, _stLofarReq::iType, _stLofarReq::iWindow, _stLofarReq::lAvgCount, _stLofarReq::lGapLength, LGUI_CLIP_ITEMS, LGUI_REMOVE_NOISE_ITEMS, LGUI_TYPE_ITEMS, LGUI_WIN_LENGTH_ITEMS, LGUI_WINDOW_ITEMS, _stLofarReq::lMeanLength, LofarMsg, _stLofarReq::lWinLength, clGtkUtils::OptionMenuGetActive(), clLofarMsg::SetRequest(), sLofarRq, SOp, and clSockOp::WriteN().

Referenced by InitConnection().

void clGUILofar::PrintStatus  )  [private]
 

Definition at line 1097 of file GUILofar.cc.

References _stLofarReq::bDemon, _stLofarRes::fDemonBand, _stLofarRes::fHighFreq, _stLofarRes::fLineTime, _stLofarRes::fLowFreq, _stLofarRes::fPeakLevel, guSbCtxt, gwStatusBar, iClips, iCursorX, iCursorY, _stLofarCursor::iDistance, iFit, iLofarWidth, _stLofarCursor::iPosition, LGUI_CONV_BUF_SIZE, _stLofarRes::lSpectLength, sLCursor, sLofarResHdr, sLofarRq, and _stLofarRes::sTimeStamp.

Referenced by OnGdkInput(), and OnMotionLofar().

void clGUILofar::SetPalette int   )  [private]
 

Definition at line 1161 of file GUILofar.cc.

References FBLofar, LGUI_PAL_BW, LGUI_PAL_DIR, LGUI_PAL_GREEN, LGUI_PAL_GREEN2, LGUI_PAL_GREEN3, LGUI_PAL_GREEN4, LGUI_PAL_HSV, LGUI_PAL_LIGHT, LGUI_PAL_PUREGREEN, LGUI_PAL_TEMP, LGUI_PAL_WB, clFrameBuf::PalGenBW(), clFrameBuf::PalGenDir(), clFrameBuf::PalGenGreen(), clFrameBuf::PalGenGreen2(), clFrameBuf::PalGenGreen3(), clFrameBuf::PalGenGreen4(), clFrameBuf::PalGenHSV(), clFrameBuf::PalGenLight(), clFrameBuf::PalGenPureGreen(), clFrameBuf::PalGenTemp(), and clFrameBuf::PalGenWB().

Referenced by BuildDrawingPrims(), and OnPaletteActivate().

void clGUILofar::Configure  )  [private]
 

Definition at line 1204 of file GUILofar.cc.

References bConfigured, _stLofarReq::bDemon, FBLofar, _stLofarRes::fDemonBand, _stLofarRes::fHighFreq, _stLofarRes::fLineTime, _stLofarRes::fLowFreq, gwDACursor, gwDALine, gwDALofar, gwEHigherFreq, gwELowerFreq, gwHRFrequency, gwSWLofar, gwVRTime, gwWindow, iFit, iLofarHeight, iLofarWidth, LGUI_CONV_BUF_SIZE, _stLofarRes::lSpectLength, lSpectSize, clFrameBuf::SetSize(), sLofarResHdr, and sLofarRq.

Referenced by OnGdkInput().

void clGUILofar::ConfigureHeight  )  [private]
 

Definition at line 1249 of file GUILofar.cc.

References FBLofar, gwDALofar, and sLofarResHdr.

Referenced by OnGdkInput().

void clGUILofar::DrawCursor  )  [private]
 

Definition at line 1259 of file GUILofar.cc.

References ggcCursorBG, ggcCursorFG, gwDACursor, _stLofarCursor::iDistance, _stLofarCursor::iPosition, _stLofarCursor::iType, LGUI_CURSOR_11, LGUI_CURSOR_INF, and sLCursor.

Referenced by OnExposeCursor(), and OnMotionLofar().

void clGUILofar::SaveInfo const char *  ,
time_t 
[private]
 

Definition at line 1291 of file GUILofar.cc.

References _stLofarReq::bDemon, FB_TIFF_MODE, _stLofarRes::fDemonBand, _stLofarRes::fHighFreq, _stLofarRes::fLineTime, _stLofarRes::fLowFreq, sLofarResHdr, and sLofarRq.

Referenced by OnSaveClicks(), and StartNewImgFile().

void clGUILofar::StartNewImgFile  )  [private]
 

Definition at line 1312 of file GUILofar.cc.

References bSaving, FB_TIFF_CONT_VERTICAL, FBLofar, gwCBSaving, iCompressMode, iImgCount, iJPEGQuality, SaveInfo(), clFrameBuf::StartSaveToFile(), clFrameBuf::StopSaveToFile(), and strImgFileName.

Referenced by OnGdkInput().

int clGUILofar::Exec  ) 
 

Definition at line 1415 of file GUILofar.cc.

References Build(), clFrameBuf::Clear(), ConnectSignals(), FBLofar, FreeDrawingPrims(), iLofarHeight, iLofarWidth, and clFrameBuf::SetSize().

Referenced by main().

gint clGUILofar::OnDelete GtkWidget *  ,
GdkEventAny * 
 

Definition at line 1435 of file GUILofar.cc.

References bRun, bSaving, FBLofar, and clFrameBuf::StopSaveToFile().

Referenced by WrapOnDelete().

void clGUILofar::OnHideToggled GtkToggleButton *  ,
gpointer 
 

Definition at line 1447 of file GUILofar.cc.

References gwTable1, gwTable2, gwTable3, and gwTable4.

Referenced by WrapOnHideToggled().

gint clGUILofar::OnConnectClick GtkWidget *  ,
gpointer 
 

Definition at line 1466 of file GUILofar.cc.

References bConnected, clSockOp::Close(), giGdkTag, gwBConnect, gwCServer, InitConnection(), LGUI_SERVER_MAXLEN, ParseServerStr(), clSockOp::Shutdown(), and SOp.

Referenced by WrapOnConnectClick().

void clGUILofar::OnFreezeToggled GtkToggleButton *  ,
gpointer 
 

Definition at line 1504 of file GUILofar.cc.

References bFreezed.

Referenced by WrapOnFreezeToggled().

gint clGUILofar::OnExposeLofar GtkWidget *  ,
GdkEventExpose *  ,
gpointer 
 

Definition at line 1510 of file GUILofar.cc.

References FBLofar, clFrameBuf::GetCurPtr(), clFrameBuf::GetRowStride(), ggcLofarFG, gwDALofar, iLofarHeight, and iLofarWidth.

Referenced by WrapOnExposeLofar().

gint clGUILofar::OnConfigureLofar GtkWidget *  ,
GdkEventConfigure *  ,
gpointer 
 

Definition at line 1532 of file GUILofar.cc.

Referenced by WrapOnConfigureLofar().

gint clGUILofar::OnExposeLine GtkWidget *  ,
GdkEventExpose *  ,
gpointer 
 

Definition at line 1540 of file GUILofar.cc.

References GDT, ggcLineFG, gwDALine, lSpectSize, and SpectData.

Referenced by WrapOnExposeLine().

gint clGUILofar::OnExposeCursor GtkWidget *  ,
GdkEventExpose *  ,
gpointer 
 

Definition at line 1572 of file GUILofar.cc.

References DrawCursor().

Referenced by WrapOnExposeCursor().

gint clGUILofar::OnMotionLofar GtkWidget *  ,
GdkEventMotion *  ,
gpointer 
 

Definition at line 1580 of file GUILofar.cc.

References bCursorDrag, DrawCursor(), iCursorX, iCursorY, _stLofarCursor::iDistance, _stLofarCursor::iPosition, _stLofarCursor::iType, LGUI_CURSOR_11, LGUI_CURSOR_INF, PrintStatus(), and sLCursor.

Referenced by WrapOnMotionLofar().

gint clGUILofar::OnPaletteActivate GtkWidget *  ,
gpointer 
 

Definition at line 1626 of file GUILofar.cc.

References GtkUtils, gwaMIPalette, gwOMPalette, iPalette, LGUI_PALETTE_ITEMS, clGtkUtils::OptionMenuGetActive(), and SetPalette().

Referenced by WrapOnPaletteActivate().

void clGUILofar::OnAverageToggled GtkToggleButton *  ,
gpointer 
 

Definition at line 1635 of file GUILofar.cc.

References bAveraged.

Referenced by WrapOnAverageToggled().

void clGUILofar::OnClipValueChanged GtkAdjustment *  ,
gpointer 
 

Definition at line 1641 of file GUILofar.cc.

References fClip.

Referenced by WrapOnClipValueChanged().

void clGUILofar::OnSaveClicks GtkWidget *  ,
gpointer 
 

Definition at line 1647 of file GUILofar.cc.

References _stLofarReq::bDemon, bSaving, FB_TIFF_CONT_VERTICAL, FBLofar, _stLofarRes::fDemonBand, _stLofarRes::fHighFreq, _stLofarRes::fLineTime, _stLofarRes::fLowFreq, clFrameBuf::GetHeight(), gwCBSaving, gwFSSave, iCompressMode, iImgCount, iJPEGQuality, iScanCount, SaveInfo(), clFrameBuf::SaveToFile(), sLofarResHdr, sLofarRq, clFrameBuf::StartSaveToFile(), clFrameBuf::StopSaveToFile(), and strImgFileName.

Referenced by WrapOnSaveClicks().

void clGUILofar::OnGdkInput gpointer  ,
gint  ,
GdkInputCondition 
 

Definition at line 1746 of file GUILofar.cc.

References AvgSpectData, bAveraged, bConfigured, bConnected, bFreezed, bRun, bSaving, clSockOp::Close(), Configure(), ConfigureHeight(), clFrameBuf::DrawLine(), DSP, FBLofar, fClip, _stLofarRes::fLineTime, _stLofarRes::fPeakLevel, GDT, clFrameBuf::GetCurPtr(), clSockOp::GetErrno(), clLofarMsg::GetResult(), clFrameBuf::GetRowStride(), ggcLineFG, ggcLofarFG, giGdkTag, GLOBAL_HEADER_LEN, gwDALine, gwDALofar, gwLBottomTime, gwLTopTime, iClips, iContSaveScans, iFit, iImgCount, iLofarHeight, iLofarWidth, iResMsgBufSize, iScanCount, LGUI_CONV_BUF_SIZE, LGUI_FIT_AVERAGE, LGUI_FIT_NEIGHBOR, LofarMsg, lSpectSize, PrintStatus(), clSockOp::ReadN(), clSockOp::ReadSelect(), clSockOp::Shutdown(), sLofarResHdr, SOp, SpectData, StartNewImgFile(), and _stLofarRes::sTimeStamp.

Referenced by WrapOnGdkInput().


Member Data Documentation

bool clGUILofar::bRun [private]
 

Definition at line 121 of file GUILofar.hh.

Referenced by clGUILofar(), OnDelete(), and OnGdkInput().

bool clGUILofar::bConnected [private]
 

Definition at line 122 of file GUILofar.hh.

Referenced by clGUILofar(), InitConnection(), OnConnectClick(), and OnGdkInput().

bool clGUILofar::bFreezed [private]
 

Definition at line 123 of file GUILofar.hh.

Referenced by clGUILofar(), OnFreezeToggled(), and OnGdkInput().

bool clGUILofar::bConfigured [private]
 

Definition at line 124 of file GUILofar.hh.

Referenced by clGUILofar(), Configure(), InitConnection(), and OnGdkInput().

bool clGUILofar::bAveraged [private]
 

Definition at line 125 of file GUILofar.hh.

Referenced by clGUILofar(), OnAverageToggled(), and OnGdkInput().

bool clGUILofar::bCursorDrag [private]
 

Definition at line 126 of file GUILofar.hh.

Referenced by clGUILofar(), and OnMotionLofar().

bool clGUILofar::bSaving [private]
 

Definition at line 127 of file GUILofar.hh.

Referenced by OnDelete(), OnGdkInput(), OnSaveClicks(), and StartNewImgFile().

int clGUILofar::iResMsgBufSize [private]
 

Definition at line 128 of file GUILofar.hh.

Referenced by OnGdkInput().

int clGUILofar::iFit [private]
 

Definition at line 129 of file GUILofar.hh.

Referenced by BuildTableLofar(), clGUILofar(), Configure(), OnGdkInput(), and PrintStatus().

int clGUILofar::iPalette [private]
 

Definition at line 130 of file GUILofar.hh.

Referenced by BuildTable3(), clGUILofar(), and OnPaletteActivate().

int clGUILofar::iLofarWidth [private]
 

Definition at line 131 of file GUILofar.hh.

Referenced by clGUILofar(), Configure(), Exec(), OnExposeLofar(), OnGdkInput(), and PrintStatus().

int clGUILofar::iLofarHeight [private]
 

Definition at line 132 of file GUILofar.hh.

Referenced by clGUILofar(), Configure(), Exec(), OnExposeLofar(), and OnGdkInput().

int clGUILofar::iCursorX [private]
 

Definition at line 133 of file GUILofar.hh.

Referenced by OnMotionLofar(), and PrintStatus().

int clGUILofar::iCursorY [private]
 

Definition at line 134 of file GUILofar.hh.

Referenced by OnMotionLofar(), and PrintStatus().

int clGUILofar::iClips [private]
 

Definition at line 135 of file GUILofar.hh.

Referenced by InitConnection(), OnGdkInput(), and PrintStatus().

int clGUILofar::iTIFFCompression [private]
 

Definition at line 136 of file GUILofar.hh.

Referenced by clGUILofar().

int clGUILofar::iJPEGQuality [private]
 

Definition at line 137 of file GUILofar.hh.

Referenced by clGUILofar(), OnSaveClicks(), and StartNewImgFile().

int clGUILofar::iContSaveScans [private]
 

Definition at line 138 of file GUILofar.hh.

Referenced by clGUILofar(), and OnGdkInput().

int clGUILofar::iCompressMode [private]
 

Definition at line 139 of file GUILofar.hh.

Referenced by clGUILofar(), OnSaveClicks(), and StartNewImgFile().

int clGUILofar::iScanCount [private]
 

Definition at line 140 of file GUILofar.hh.

Referenced by OnGdkInput(), and OnSaveClicks().

int clGUILofar::iImgCount [private]
 

Definition at line 141 of file GUILofar.hh.

Referenced by OnGdkInput(), OnSaveClicks(), and StartNewImgFile().

int clGUILofar::iBeamCount [private]
 

Definition at line 142 of file GUILofar.hh.

Referenced by BuildTable1(), clGUILofar(), and SendSettings().

long clGUILofar::lSpectSize [private]
 

Definition at line 143 of file GUILofar.hh.

Referenced by Configure(), InitConnection(), OnExposeLine(), and OnGdkInput().

GDT clGUILofar::fClip [private]
 

Definition at line 144 of file GUILofar.hh.

Referenced by clGUILofar(), OnClipValueChanged(), and OnGdkInput().

stLofarReq clGUILofar::sLofarRq [private]
 

Definition at line 145 of file GUILofar.hh.

Referenced by BuildTable2(), BuildTable3(), BuildTableLofar(), clGUILofar(), Configure(), InitConnection(), OnSaveClicks(), PrintStatus(), SaveInfo(), and SendSettings().

stLofarRes clGUILofar::sLofarResHdr [private]
 

Definition at line 146 of file GUILofar.hh.

Referenced by Configure(), ConfigureHeight(), OnGdkInput(), OnSaveClicks(), PrintStatus(), and SaveInfo().

stLofarCursor clGUILofar::sLCursor [private]
 

Definition at line 147 of file GUILofar.hh.

Referenced by clGUILofar(), DrawCursor(), OnMotionLofar(), and PrintStatus().

GList* clGUILofar::glServer [private]
 

Definition at line 149 of file GUILofar.hh.

Referenced by BuildTable1(), and clGUILofar().

gint clGUILofar::giGdkTag [private]
 

Definition at line 151 of file GUILofar.hh.

Referenced by InitConnection(), OnConnectClick(), and OnGdkInput().

guint clGUILofar::guSbCtxt [private]
 

Definition at line 152 of file GUILofar.hh.

Referenced by Build(), and PrintStatus().

GtkWidget* clGUILofar::gwWindow [private]
 

Definition at line 154 of file GUILofar.hh.

Referenced by Build(), Configure(), and ConnectSignals().

GtkWidget* clGUILofar::gwVBox [private]
 

Definition at line 155 of file GUILofar.hh.

Referenced by Build(), BuildTable1(), BuildTable2(), BuildTable3(), BuildTable4(), and BuildTableLofar().

GtkWidget* clGUILofar::gwCBHide [private]
 

Definition at line 156 of file GUILofar.hh.

Referenced by Build(), and ConnectSignals().

GtkWidget* clGUILofar::gwStatusBar [private]
 

Definition at line 157 of file GUILofar.hh.

Referenced by Build(), and PrintStatus().

GtkWidget* clGUILofar::gwTable1 [private]
 

Definition at line 159 of file GUILofar.hh.

Referenced by BuildTable1(), and OnHideToggled().

GtkWidget* clGUILofar::gwLServer [private]
 

Definition at line 160 of file GUILofar.hh.

Referenced by BuildTable1().

GtkWidget* clGUILofar::gwCServer [private]
 

Definition at line 161 of file GUILofar.hh.

Referenced by BuildTable1(), and OnConnectClick().

GtkWidget* clGUILofar::gwLChannel [private]
 

Definition at line 162 of file GUILofar.hh.

Referenced by BuildTable1().

GtkObject* clGUILofar::goAChannel [private]
 

Definition at line 163 of file GUILofar.hh.

Referenced by BuildTable1().

GtkWidget* clGUILofar::gwSBChannel [private]
 

Definition at line 164 of file GUILofar.hh.

Referenced by BuildTable1(), and SendSettings().

GtkWidget* clGUILofar::gwBConnect [private]
 

Definition at line 165 of file GUILofar.hh.

Referenced by BuildTable1(), ConnectSignals(), and OnConnectClick().

GtkWidget* clGUILofar::gwBDisconnect [private]
 

Definition at line 166 of file GUILofar.hh.

Referenced by BuildTable1(), and ConnectSignals().

GtkWidget* clGUILofar::gwCBFreeze [private]
 

Definition at line 167 of file GUILofar.hh.

Referenced by BuildTable1(), and ConnectSignals().

GtkWidget* clGUILofar::gwTable2 [private]
 

Definition at line 169 of file GUILofar.hh.

Referenced by BuildTable2(), and OnHideToggled().

GtkWidget* clGUILofar::gwLType [private]
 

Definition at line 170 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwOMType [private]
 

Definition at line 171 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwMType [private]
 

Definition at line 172 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwaMIType[LGUI_TYPE_ITEMS] [private]
 

Definition at line 173 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwLWindow [private]
 

Definition at line 174 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwOMWindow [private]
 

Definition at line 175 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwMWindow [private]
 

Definition at line 176 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwaMIWindow[LGUI_WINDOW_ITEMS] [private]
 

Definition at line 177 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwLWinParam [private]
 

Definition at line 178 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwEWinParam [private]
 

Definition at line 179 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwLWinLength [private]
 

Definition at line 180 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwOMWinLength [private]
 

Definition at line 181 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwMWinLength [private]
 

Definition at line 182 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwaMIWinLength[LGUI_WIN_LENGTH_ITEMS] [private]
 

Definition at line 183 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwLLowerFreq [private]
 

Definition at line 184 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwELowerFreq [private]
 

Definition at line 185 of file GUILofar.hh.

Referenced by BuildTable2(), Configure(), and SendSettings().

GtkWidget* clGUILofar::gwLHigherFreq [private]
 

Definition at line 186 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwEHigherFreq [private]
 

Definition at line 187 of file GUILofar.hh.

Referenced by BuildTable2(), Configure(), and SendSettings().

GtkWidget* clGUILofar::gwLOverlap [private]
 

Definition at line 188 of file GUILofar.hh.

Referenced by BuildTable2().

GtkWidget* clGUILofar::gwEOverlap [private]
 

Definition at line 189 of file GUILofar.hh.

Referenced by BuildTable2(), and SendSettings().

GtkWidget* clGUILofar::gwTable3 [private]
 

Definition at line 191 of file GUILofar.hh.

Referenced by BuildTable3(), and OnHideToggled().

GtkWidget* clGUILofar::gwLRemoveNoise [private]
 

Definition at line 192 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwOMRemoveNoise [private]
 

Definition at line 193 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwMRemoveNoise [private]
 

Definition at line 194 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwaMIRemoveNoise[LGUI_REMOVE_NOISE_ITEMS] [private]
 

Definition at line 195 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLAlpha [private]
 

Definition at line 196 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwEAlpha [private]
 

Definition at line 197 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLMeanLength [private]
 

Definition at line 198 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwEMeanLength [private]
 

Definition at line 199 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLGapLength [private]
 

Definition at line 200 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwEGapLength [private]
 

Definition at line 201 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLAverageCount [private]
 

Definition at line 202 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwEAverageCount [private]
 

Definition at line 203 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLClip [private]
 

Definition at line 204 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwOMClip [private]
 

Definition at line 205 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwMClip [private]
 

Definition at line 206 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwaMIClip[LGUI_CLIP_ITEMS] [private]
 

Definition at line 207 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwCBLinear [private]
 

Definition at line 208 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwCBDemon [private]
 

Definition at line 209 of file GUILofar.hh.

Referenced by BuildTable3(), and SendSettings().

GtkWidget* clGUILofar::gwLPalette [private]
 

Definition at line 210 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwOMPalette [private]
 

Definition at line 211 of file GUILofar.hh.

Referenced by BuildTable3(), and OnPaletteActivate().

GtkWidget* clGUILofar::gwMPalette [private]
 

Definition at line 212 of file GUILofar.hh.

Referenced by BuildTable3().

GtkWidget* clGUILofar::gwaMIPalette[LGUI_PALETTE_ITEMS] [private]
 

Definition at line 213 of file GUILofar.hh.

Referenced by BuildTable3(), ConnectSignals(), and OnPaletteActivate().

GtkWidget* clGUILofar::gwCBAverage [private]
 

Definition at line 214 of file GUILofar.hh.

Referenced by BuildTable3(), and ConnectSignals().

GtkWidget* clGUILofar::gwCBSaving [private]
 

Definition at line 215 of file GUILofar.hh.

Referenced by BuildTable3(), ConnectSignals(), OnSaveClicks(), and StartNewImgFile().

GtkWidget* clGUILofar::gwBSave [private]
 

Definition at line 216 of file GUILofar.hh.

Referenced by BuildTable3(), and ConnectSignals().

GtkWidget* clGUILofar::gwFSSave [private]
 

Definition at line 217 of file GUILofar.hh.

Referenced by BuildTable3(), ConnectSignals(), and OnSaveClicks().

GtkWidget* clGUILofar::gwTable4 [private]
 

Definition at line 219 of file GUILofar.hh.

Referenced by BuildTable4(), and OnHideToggled().

GtkWidget* clGUILofar::gwLClipValue [private]
 

Definition at line 220 of file GUILofar.hh.

Referenced by BuildTable4().

GtkObject* clGUILofar::goAClipValue [private]
 

Definition at line 221 of file GUILofar.hh.

Referenced by BuildTable4(), and ConnectSignals().

GtkWidget* clGUILofar::gwHSClipValue [private]
 

Definition at line 222 of file GUILofar.hh.

Referenced by BuildTable4().

GtkWidget* clGUILofar::gwTableLofar [private]
 

Definition at line 224 of file GUILofar.hh.

Referenced by BuildTableLofar().

GtkWidget* clGUILofar::gwLTopTime [private]
 

Definition at line 225 of file GUILofar.hh.

Referenced by BuildTableLofar(), and OnGdkInput().

GtkWidget* clGUILofar::gwLBottomTime [private]
 

Definition at line 226 of file GUILofar.hh.

Referenced by BuildTableLofar(), and OnGdkInput().

GtkWidget* clGUILofar::gwSWLofar [private]
 

Definition at line 227 of file GUILofar.hh.

Referenced by BuildTableLofar(), and Configure().

GtkWidget* clGUILofar::gwTableLofar2 [private]
 

Definition at line 228 of file GUILofar.hh.

Referenced by BuildTableLofar().

GtkWidget* clGUILofar::gwHRFrequency [private]
 

Definition at line 229 of file GUILofar.hh.

Referenced by BuildTableLofar(), Configure(), and ConnectSignals().

GtkWidget* clGUILofar::gwVRTime [private]
 

Definition at line 230 of file GUILofar.hh.

Referenced by BuildTableLofar(), Configure(), and ConnectSignals().

GtkWidget* clGUILofar::gwDALine [private]
 

Definition at line 231 of file GUILofar.hh.

Referenced by Build(), BuildDrawingPrims(), BuildTableLofar(), Configure(), ConnectSignals(), OnExposeLine(), and OnGdkInput().

GtkWidget* clGUILofar::gwDACursor [private]
 

Definition at line 232 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), BuildTableLofar(), Configure(), ConnectSignals(), and DrawCursor().

GtkWidget* clGUILofar::gwDALofar [private]
 

Definition at line 233 of file GUILofar.hh.

Referenced by Build(), BuildDrawingPrims(), BuildTableLofar(), Configure(), ConfigureHeight(), ConnectSignals(), OnExposeLofar(), and OnGdkInput().

GdkGC* clGUILofar::ggcLofarBG [private]
 

Definition at line 235 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), and FreeDrawingPrims().

GdkGC* clGUILofar::ggcLofarFG [private]
 

Definition at line 236 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), FreeDrawingPrims(), OnExposeLofar(), and OnGdkInput().

GdkGC* clGUILofar::ggcLineBG [private]
 

Definition at line 237 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), and FreeDrawingPrims().

GdkGC* clGUILofar::ggcLineFG [private]
 

Definition at line 238 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), FreeDrawingPrims(), OnExposeLine(), and OnGdkInput().

GdkGC* clGUILofar::ggcCursorBG [private]
 

Definition at line 239 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), DrawCursor(), and FreeDrawingPrims().

GdkGC* clGUILofar::ggcCursorFG [private]
 

Definition at line 240 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), DrawCursor(), and FreeDrawingPrims().

GdkCursor* clGUILofar::gcCrossHair [private]
 

Definition at line 241 of file GUILofar.hh.

Referenced by Build(), BuildDrawingPrims(), and FreeDrawingPrims().

std::string clGUILofar::strImgFileName [private]
 

Definition at line 243 of file GUILofar.hh.

Referenced by OnSaveClicks(), and StartNewImgFile().

clAlloc clGUILofar::SpectData [private]
 

Definition at line 244 of file GUILofar.hh.

Referenced by InitConnection(), OnExposeLine(), and OnGdkInput().

clAlloc clGUILofar::AvgSpectData [private]
 

Definition at line 245 of file GUILofar.hh.

Referenced by InitConnection(), and OnGdkInput().

clCfgFile clGUILofar::Cfg [private]
 

Definition at line 246 of file GUILofar.hh.

Referenced by BuildDrawingPrims(), and clGUILofar().

clDSPOp clGUILofar::DSP [private]
 

Definition at line 247 of file GUILofar.hh.

Referenced by OnGdkInput().

clFrameBuf clGUILofar::FBLofar [private]
 

Definition at line 248 of file GUILofar.hh.

Referenced by Configure(), ConfigureHeight(), Exec(), OnDelete(), OnExposeLofar(), OnGdkInput(), OnSaveClicks(), SetPalette(), and StartNewImgFile().

clGtkUtils clGUILofar::GtkUtils [private]
 

Definition at line 249 of file GUILofar.hh.

Referenced by BuildTable1(), BuildTable2(), BuildTable3(), ConnectSignals(), OnPaletteActivate(), and SendSettings().

clLofarMsg clGUILofar::LofarMsg [private]
 

Definition at line 250 of file GUILofar.hh.

Referenced by OnGdkInput(), and SendSettings().

clSockClie clGUILofar::SClient [private]
 

Definition at line 251 of file GUILofar.hh.

Referenced by InitConnection().

clSockOp clGUILofar::SOp [private]
 

Definition at line 252 of file GUILofar.hh.

Referenced by InitConnection(), OnConnectClick(), OnGdkInput(), and SendSettings().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:20 2003 for HASAS by doxygen 1.3.3