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

GUISpect.cc File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <signal.h>
#include <gtk/gtk.h>
#include <gdk/gdkrgb.h>
#include "GUISpect.hh"

Include dependency graph for GUISpect.cc:

Include dependency graph

Go to the source code of this file.

Functions

 G_LOCK_DEFINE_STATIC (gmInputMutex)
int main (int argc, char *argv[])
gint WrapOnDelete (GtkWidget *gwSender, GdkEventAny *geaEvent)
void WrapOnHideToggled (GtkToggleButton *gtbSender, gpointer *gpData)
gint WrapOnConnectClick (GtkWidget *gwSender, gpointer gpData)
void WrapOnFreezeToggled (GtkToggleButton *gtbSender, gpointer *gpData)
gint WrapOnPaletteActivate (GtkWidget *gwSender, gpointer gpData)
gint WrapOnMotionSgram (GtkWidget *gwSender, GdkEventMotion *gemEvent)
gint WrapOnMotionSpect (GtkWidget *gwSender, GdkEventMotion *gemEvent)
gint WrapOnExposeSgram (GtkWidget *gwSender, GdkEventExpose *geeEvent)
gint WrapOnExposeSpect (GtkWidget *gwSender, GdkEventExpose *geeEvent)
gboolean WrapOnConfigure (GtkWidget *gwSender, GdkEventConfigure *gecEvent, gpointer gpData)
void WrapOnSizeAllocate (GtkWidget *gwSender, GtkAllocation *gaAllocation, gpointer gpData)
void WrapGdkInput (gpointer gpData, gint giSource, GdkInputCondition gicCondition)
void WrapOnSaveClicks (GtkButton *gbSender, gpointer gpData)

Variables

const char * cpWindowTxt = "Spectrogram"
const char * cpLServerTxt = "Server"
const char * cpaLChannelTxt [] = { "Channel", "Direction" }
const char * cpBConnectTxt = "Connect"
const char * cpBDisconnectTxt = "Disconnect"
const char * cpCBFreezeTxt = "Freeze"
const char * cpLTypeTxt = "Type"
const char * cpaLTypeMenu []
const char * cpLWindowTxt = "Window"
const char * cpaLWindowMenu []
const char * cpLWindowParamTxt = "Window param."
const char * cpLWindowLenTxt = "Window length"
const char * cpaLWindowLenMenu []
const char * cpLLowFreqTxt = "Lower freq."
const char * cpLHighFreqTxt = "Higher freq."
const char * cpLGainTxt = "Gain dB"
const char * cpLSlopeTxt = "Gain dB/oct"
const char * cpLOverlapTxt = "Overlap (%)"
const char * cpLLinearTxt = "Linear scale"
const char * cpLNormalizeTxt = "Normalize"
const char * cpLRemoveNoiseTxt = "Remove noise"
const char * cpaLRemoveNoiseMenu []
const char * cpLAlphaTxt = "Alpha"
const char * cpLMeanLengthTxt = "Mean length"
const char * cpLGapLengthTxt = "Gap length"
const char * cpLDynRangeTxt = "Dynamic range (dB)"
const char * cpLPaletteTxt = "Palette"
const char * cpaLPaletteMenu []
const char * cpBSaveTxt = "Save"
const char * cpFSSaveTxt = "Save to TIFF file"
clSpectGUISpectGUI


Function Documentation

G_LOCK_DEFINE_STATIC gmInputMutex   ) 
 

int main int  argc,
char *  argv[]
 

Definition at line 84 of file GUISpect.cc.

References clSpectGUI::Exec(), and SpectGUI.

gint WrapOnDelete GtkWidget *  gwSender,
GdkEventAny *  geaEvent
 

Definition at line 97 of file GUISpect.cc.

References clSpectGUI::OnDelete(), and SpectGUI.

void WrapOnHideToggled GtkToggleButton *  gtbSender,
gpointer *  gpData
 

Definition at line 103 of file GUISpect.cc.

References clSpectGUI::OnHideToggled(), and SpectGUI.

gint WrapOnConnectClick GtkWidget *  gwSender,
gpointer  gpData
 

Definition at line 109 of file GUISpect.cc.

References clSpectGUI::OnConnectClick(), and SpectGUI.

void WrapOnFreezeToggled GtkToggleButton *  gtbSender,
gpointer *  gpData
 

Definition at line 115 of file GUISpect.cc.

References clSpectGUI::OnFreezeToggled(), and SpectGUI.

gint WrapOnPaletteActivate GtkWidget *  gwSender,
gpointer  gpData
 

Definition at line 121 of file GUISpect.cc.

References clSpectGUI::OnPaletteActivate(), and SpectGUI.

gint WrapOnMotionSgram GtkWidget *  gwSender,
GdkEventMotion *  gemEvent
 

Definition at line 127 of file GUISpect.cc.

References clSpectGUI::OnMotionSgram(), and SpectGUI.

Referenced by clSpectGUI::ConnectSignals().

gint WrapOnMotionSpect GtkWidget *  gwSender,
GdkEventMotion *  gemEvent
 

Definition at line 133 of file GUISpect.cc.

References clSpectGUI::OnMotionSpect(), and SpectGUI.

Referenced by clSpectGUI::ConnectSignals().

gint WrapOnExposeSgram GtkWidget *  gwSender,
GdkEventExpose *  geeEvent
 

Definition at line 139 of file GUISpect.cc.

References clSpectGUI::OnExposeSgram(), and SpectGUI.

Referenced by clSpectGUI::ConnectSignals().

gint WrapOnExposeSpect GtkWidget *  gwSender,
GdkEventExpose *  geeEvent
 

Definition at line 145 of file GUISpect.cc.

References clSpectGUI::OnExposeSpect(), and SpectGUI.

Referenced by clSpectGUI::ConnectSignals().

gboolean WrapOnConfigure GtkWidget *  gwSender,
GdkEventConfigure *  gecEvent,
gpointer  gpData
 

Definition at line 151 of file GUISpect.cc.

References clSpectGUI::OnConfigure(), and SpectGUI.

void WrapOnSizeAllocate GtkWidget *  gwSender,
GtkAllocation *  gaAllocation,
gpointer  gpData
 

Definition at line 158 of file GUISpect.cc.

References clSpectGUI::OnSizeAllocate(), and SpectGUI.

Referenced by clSpectGUI::ConnectSignals().

void WrapGdkInput gpointer  gpData,
gint  giSource,
GdkInputCondition  gicCondition
 

Definition at line 165 of file GUISpect.cc.

References clSpectGUI::GdkInput(), and SpectGUI.

Referenced by clSpectGUI::InitConnection().

void WrapOnSaveClicks GtkButton *  gbSender,
gpointer  gpData
 

Definition at line 172 of file GUISpect.cc.

References clSpectGUI::OnSaveClicks(), and SpectGUI.


Variable Documentation

const char* cpWindowTxt = "Spectrogram" [static]
 

Definition at line 42 of file GUISpect.cc.

Referenced by clSpectGUI::Build(), and clSpectGUI::clSpectGUI().

const char* cpLServerTxt = "Server" [static]
 

Definition at line 43 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable1().

const char* cpaLChannelTxt[] = { "Channel", "Direction" } [static]
 

Definition at line 44 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable1().

const char* cpBConnectTxt = "Connect" [static]
 

Definition at line 45 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable1().

const char* cpBDisconnectTxt = "Disconnect" [static]
 

Definition at line 46 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable1().

const char* cpCBFreezeTxt = "Freeze" [static]
 

Definition at line 47 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable1().

const char* cpLTypeTxt = "Type" [static]
 

Definition at line 48 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpaLTypeMenu[] [static]
 

Initial value:

 { "STFT", "(MR-STFT)", "(Gabor)",
    "(WVD)", "Hankel", "Autocorr.", "Cepstrum" }

Definition at line 49 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLWindowTxt = "Window" [static]
 

Definition at line 51 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpaLWindowMenu[] [static]
 

Initial value:

 { "Rectangle", "Bartlett",
    "Blackman", "Blackman-Harris", "Cosine tapered", "Exponential",
    "Flat top", "Generic cosine", "Hamming", "Hanning", "Kaiser",
    "Kaiser-Bessel", "Tukey" }

Definition at line 52 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLWindowParamTxt = "Window param." [static]
 

Definition at line 56 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLWindowLenTxt = "Window length" [static]
 

Definition at line 57 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpaLWindowLenMenu[] [static]
 

Initial value:

 { "128", "256", "512", "1024",
    "2048", "4096", "8192", "16384", "32768", "65536" }

Definition at line 58 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2(), and clSpectGUI::GetSettings().

const char* cpLLowFreqTxt = "Lower freq." [static]
 

Definition at line 60 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLHighFreqTxt = "Higher freq." [static]
 

Definition at line 61 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLGainTxt = "Gain dB" [static]
 

Definition at line 62 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLSlopeTxt = "Gain dB/oct" [static]
 

Definition at line 63 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLOverlapTxt = "Overlap (%)" [static]
 

Definition at line 64 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLLinearTxt = "Linear scale" [static]
 

Definition at line 65 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLNormalizeTxt = "Normalize" [static]
 

Definition at line 66 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable2().

const char* cpLRemoveNoiseTxt = "Remove noise" [static]
 

Definition at line 68 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpaLRemoveNoiseMenu[] [static]
 

Initial value:

 { "None", "TPSW", "OTA",
    "Diff", "InvDiff" }

Definition at line 69 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpLAlphaTxt = "Alpha" [static]
 

Definition at line 71 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpLMeanLengthTxt = "Mean length" [static]
 

Definition at line 72 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpLGapLengthTxt = "Gap length" [static]
 

Definition at line 73 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpLDynRangeTxt = "Dynamic range (dB)" [static]
 

Definition at line 74 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpLPaletteTxt = "Palette" [static]
 

Definition at line 75 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpaLPaletteMenu[] [static]
 

Initial value:

 { "BW", "HSV", "Light", "Temp",
    "Dir", "Green", "Green2", "PureGreen", "WB" }

Definition at line 76 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpBSaveTxt = "Save" [static]
 

Definition at line 78 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

const char* cpFSSaveTxt = "Save to TIFF file" [static]
 

Definition at line 79 of file GUISpect.cc.

Referenced by clSpectGUI::BuildTable3().

clSpectGUI* SpectGUI
 

Definition at line 81 of file GUISpect.cc.

Referenced by main(), WrapGdkInput(), WrapOnConfigure(), WrapOnConnectClick(), WrapOnDelete(), WrapOnExposeSgram(), WrapOnExposeSpect(), WrapOnFreezeToggled(), WrapOnHideToggled(), WrapOnMotionSgram(), WrapOnMotionSpect(), WrapOnPaletteActivate(), WrapOnSaveClicks(), and WrapOnSizeAllocate().


Generated on Sun Oct 26 19:11:47 2003 for HASAS by doxygen 1.3.3