AppBase Class Reference

#include <gapp_service.h>

Inheritance diagram for AppBase:

MyGnomeTools MyGnomeTools CCDControl ChannelSelector ChannelSelector DriftControl DSPControl DSPControl DSPMoverControl DSPMoverControl DSPPeakFindControl DSPProbeControl GnomeAppService GnomeAppService MonitorControl MonitorControl nano_manipulatorControl NanoPlottControl ProfileControl ProfileControl rhk_ScanControl SpaLeedControl SPM_ScanControl V3dControl V3dControl ViewControl ViewControl List of all members.

Public Member Functions

 AppBase (int InWindow=TRUE, int bw=GNOME_PAD)
virtual ~AppBase ()
virtual void AppWidgetInit (gchar *title, int InWindow=TRUE)
int SetResName (const gchar *respath, const gchar *defaultval, gint defaultgeomman=FALSE)
int SaveGeometry (int savealways=TRUE)
int LoadGeometry ()
void hide ()
void show ()
GtkWidget * GetWidget ()
 AppBase (int InWindow=TRUE, int bw=GNOME_PAD)
virtual ~AppBase ()
virtual void AppWidgetInit (gchar *title, int InWindow=TRUE)
int SetResName (const gchar *respath, const gchar *defaultval, gint defaultgeomman=FALSE)
int SaveGeometry (int savealways=TRUE)
int LoadGeometry ()
void hide ()
void show ()
GtkWidget * GetWidget ()

Static Public Member Functions

static void SaveGeometryCallback (AppBase *apb)
static gint do_hide_callback (GtkWidget *window, GdkEventAny *e, AppBase *ab)
static gint askfor_close_callback (GtkWidget *window, GdkEventAny *e, AppBase *ab)
static void SaveGeometryCallback (AppBase *apb)
static gint do_hide_callback (GtkWidget *window, GdkEventAny *e, AppBase *ab)
static gint askfor_close_callback (GtkWidget *window, GdkEventAny *e, AppBase *ab)

Protected Member Functions

void destroy ()
void destroy ()

Protected Attributes

int nodestroy
int BorderWidth
int InWindowFlg
GtkWidget * widget
GtkWidget * vbox
GtkWidget * widget
GtkWidget * vbox

Private Attributes

int showstate
gchar * ResName
gchar * ResShow
gchar * ResGeomMan
gchar * ResGeom
gchar * ResName
gchar * ResShow
gchar * ResGeomMan
gchar * ResGeom

Detailed Description

Definition at line 121 of file gapp_service.h.


Constructor & Destructor Documentation

AppBase::AppBase int  InWindow = TRUE,
int  bw = GNOME_PAD
 

Definition at line 610 of file gapp_service.C.

References BorderWidth, DBG_L2, FALSE, nodestroy, ResGeom, ResGeomMan, ResName, ResShow, showstate, and XSM_DEBUG.

AppBase::~AppBase  )  [virtual]
 

Definition at line 621 of file gapp_service.C.

References DBG_L2, destroy(), nodestroy, XsmRescourceManager::PutBool(), ResName, SaveGeometry(), showstate, and XSM_DEBUG.

AppBase::AppBase int  InWindow = TRUE,
int  bw = GNOME_PAD
 

virtual AppBase::~AppBase  )  [virtual]
 


Member Function Documentation

virtual void AppBase::AppWidgetInit gchar *  title,
int  InWindow = TRUE
[virtual]
 

Reimplemented in V3dControl, ViewControl, V3dControl, and ViewControl.

void AppBase::AppWidgetInit gchar *  title,
int  InWindow = TRUE
[virtual]
 

Reimplemented in V3dControl, ViewControl, V3dControl, and ViewControl.

Definition at line 640 of file gapp_service.C.

References BorderWidth, DBG_L2, do_hide_callback(), FALSE, InWindowFlg, nodestroy, TRUE, widget, and XSM_DEBUG.

Referenced by CCDControl::CCDControl(), ChannelSelector::ChannelSelector(), DSPMoverControl::create_folder(), DriftControl::DriftControl(), DSPControl::DSPControl(), DSPPeakFindControl::DSPPeakFindControl(), DSPProbeControl::DSPProbeControl(), ProfileControl::Init(), MonitorControl::MonitorControl(), nano_manipulatorControl::nano_manipulatorControl(), NanoPlottControl::NanoPlottControl(), PanView::PanView(), rhk_ScanControl::rhk_ScanControl(), SpaLeedControl::SpaLeedControl(), and SPM_ScanControl::SPM_ScanControl().

static gint AppBase::askfor_close_callback GtkWidget *  window,
GdkEventAny *  e,
AppBase ab
[static]
 

gint AppBase::askfor_close_callback GtkWidget *  window,
GdkEventAny *  e,
AppBase ab
[static]
 

Definition at line 689 of file gapp_service.C.

References hide(), and TRUE.

void AppBase::destroy  )  [inline, protected]
 

Definition at line 149 of file gapp_service.h.

References nodestroy, TRUE, and widget.

void AppBase::destroy  )  [inline, protected]
 

Definition at line 149 of file gapp_service.h.

Referenced by ~AppBase().

static gint AppBase::do_hide_callback GtkWidget *  window,
GdkEventAny *  e,
AppBase ab
[static]
 

gint AppBase::do_hide_callback GtkWidget *  window,
GdkEventAny *  e,
AppBase ab
[static]
 

Definition at line 683 of file gapp_service.C.

References hide(), and TRUE.

Referenced by AppWidgetInit().

GtkWidget* AppBase::GetWidget  )  [inline]
 

Definition at line 146 of file gapp_service.h.

References widget.

GtkWidget* AppBase::GetWidget  )  [inline]
 

Definition at line 146 of file gapp_service.h.

References widget.

void AppBase::hide  )  [inline]
 

Definition at line 142 of file gapp_service.h.

References FALSE, showstate, and widget.

void AppBase::hide  )  [inline]
 

Definition at line 142 of file gapp_service.h.

References FALSE, showstate, and widget.

Referenced by askfor_close_callback(), and do_hide_callback().

int AppBase::LoadGeometry  ) 
 

int AppBase::LoadGeometry  ) 
 

Definition at line 714 of file gapp_service.C.

References XsmRescourceManager::Get(), XsmRescourceManager::GetBool(), ResName, TRUE, and widget.

Referenced by SetResName().

int AppBase::SaveGeometry int  savealways = TRUE  ) 
 

int AppBase::SaveGeometry int  savealways = TRUE  ) 
 

Definition at line 698 of file gapp_service.C.

References XsmRescourceManager::GetBool(), XsmRescourceManager::Put(), ResName, TRUE, and widget.

Referenced by SaveGeometryCallback(), and ~AppBase().

static void AppBase::SaveGeometryCallback AppBase apb  )  [static]
 

void AppBase::SaveGeometryCallback AppBase apb  )  [static]
 

Definition at line 694 of file gapp_service.C.

References SaveGeometry().

int AppBase::SetResName const gchar *  respath,
const gchar *  defaultval,
gint  defaultgeomman = FALSE
 

int AppBase::SetResName const gchar *  respath,
const gchar *  defaultval,
gint  defaultgeomman = FALSE
 

Definition at line 669 of file gapp_service.C.

References XsmRescourceManager::GetBool(), LoadGeometry(), XsmRescourceManager::PutBool(), ResName, and show().

Referenced by App::build_gxsm(), CCDControl_query(), DriftComp_query(), DSPControl_query(), DSPMover_query(), DSPPeakFind_query(), DSPProbe_query(), nano_manipulator_query(), NanoPlott_query(), rhk_scancontrol_query(), SpaLeedControl_query(), spm_scancontrol_query(), and sranger_hwi_query().

void AppBase::show  )  [inline]
 

Definition at line 143 of file gapp_service.h.

References showstate, TRUE, and widget.

void AppBase::show  )  [inline]
 

Definition at line 143 of file gapp_service.h.

References showstate, TRUE, and widget.

Referenced by CCDControl_show_callback(), ViewControl::CheckRedLine(), Profiles::draw(), Grey2D::draw(), DriftComp_show_callback(), DSPControl_show_callback(), DSPMover_show_callback(), DSPPeakFind_show_callback(), DSPProbe_show_callback(), nano_manipulator_show_callback(), NanoPlott_show_callback(), ProfileControl::ProfileControl(), rhk_scancontrol_show_callback(), PanView::run(), SetResName(), SpaLeedControl_show_callback(), spm_scancontrol_show_callback(), App::tools_chanselwin_callback(), App::tools_monitor_callback(), VObCircle::Update(), VObKsys::Update(), VObLine::Update(), and VObPoint::Update().


Member Data Documentation

int AppBase::BorderWidth [protected]
 

Definition at line 151 of file gapp_service.h.

Referenced by AppBase(), AppWidgetInit(), and App::create_control().

int AppBase::InWindowFlg [protected]
 

Definition at line 152 of file gapp_service.h.

Referenced by App::AppWidgetInit(), AppWidgetInit(), ViewControl::AppWidgetInit(), and V3dControl::AppWidgetInit().

int AppBase::nodestroy [protected]
 

Definition at line 149 of file gapp_service.h.

Referenced by App::App(), AppBase(), AppWidgetInit(), destroy(), and ~AppBase().

gchar* AppBase::ResGeom [private]
 

Definition at line 162 of file gapp_service.h.

gchar* AppBase::ResGeom [private]
 

Definition at line 162 of file gapp_service.h.

Referenced by AppBase().

gchar* AppBase::ResGeomMan [private]
 

Definition at line 161 of file gapp_service.h.

gchar* AppBase::ResGeomMan [private]
 

Definition at line 161 of file gapp_service.h.

Referenced by AppBase().

gchar* AppBase::ResName [private]
 

Reimplemented in SpaLeedControl.

Definition at line 159 of file gapp_service.h.

gchar* AppBase::ResName [private]
 

Reimplemented in SpaLeedControl.

Definition at line 159 of file gapp_service.h.

Referenced by AppBase(), LoadGeometry(), SaveGeometry(), SetResName(), and ~AppBase().

gchar* AppBase::ResShow [private]
 

Definition at line 160 of file gapp_service.h.

gchar* AppBase::ResShow [private]
 

Definition at line 160 of file gapp_service.h.

Referenced by AppBase().

int AppBase::showstate [private]
 

Definition at line 158 of file gapp_service.h.

Referenced by AppBase(), hide(), show(), and ~AppBase().

GtkWidget* AppBase::vbox [protected]
 

Definition at line 154 of file gapp_service.h.

GtkWidget* AppBase::vbox [protected]
 

Definition at line 154 of file gapp_service.h.

Referenced by ViewControl::AppWidgetInit(), V3dControl::AppWidgetInit(), CCDControl::CCDControl(), ChannelSelector::ChannelSelector(), App::create_as_control(), App::create_control(), DSPMoverControl::create_folder(), App::create_spa_control(), App::create_spm_control(), App::create_ui_control(), DriftControl::DriftControl(), DSPControl::DSPControl(), DSPPeakFindControl::DSPPeakFindControl(), DSPProbeControl::DSPProbeControl(), ProfileControl::Init(), MonitorControl::MonitorControl(), nano_manipulatorControl::nano_manipulatorControl(), NanoPlottControl::NanoPlottControl(), PanView::PanView(), rhk_ScanControl::rhk_ScanControl(), SpaLeedControl::SpaLeedControl(), SPM_ScanControl::SPM_ScanControl(), V3dControl::V3dControl(), and ViewControl::ViewControl().

GtkWidget* AppBase::widget [protected]
 

Definition at line 153 of file gapp_service.h.

GtkWidget* AppBase::widget [protected]
 

Definition at line 153 of file gapp_service.h.

Referenced by DSPPeakFindControl::addPFcontrol(), DSPPeakFindControl::addPFfolder(), App::AppWidgetInit(), AppWidgetInit(), ViewControl::AppWidgetInit(), V3dControl::AppWidgetInit(), CCDControl::CCDControl(), destroy(), DriftControl::DriftControl(), GetWidget(), hide(), ProfileControl::Init(), LoadGeometry(), MonitorControl::LogEvent(), MonitorControl::MonitorControl(), nano_manipulatorControl::nano_manipulatorControl(), NanoPlottControl::NanoPlottControl(), ProfileControl::ProfileControl(), ViewControl::Resize(), rhk_ScanControl::rhk_ScanControl(), SaveGeometry(), ProfileControl::SetSize(), ViewControl::SetTitle(), V3dControl::SetTitle(), ProfileControl::SetTitle(), show(), SpaLeedControl::SpaLeedControl(), SPM_ScanControl::SPM_ScanControl(), SPM_ScanControl::update(), SpaLeedControl::update(), rhk_ScanControl::update(), NanoPlottControl::update(), nano_manipulatorControl::update(), DSPMoverControl::update(), DSPControl::update(), DriftControl::update(), CCDControl::update(), DSPProbeControl::update(), DSPPeakFindControl::update(), nano_manipulatorControl::update_pos(), rhk_ScanControl::updateRHK(), V3dControl::V3dControl(), and ViewControl::ViewControl().


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