[go: up one dir, main page]

Menu

Tree [e59016] v0_5_3 / gui /
 History

HTTPS access


File Date Author Commit
 glade 2007-01-27 Carlos Lacasta Carlos Lacasta [ec352f] Added the new SIS3100 windows
 GladeApp.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [96b56f] Change add_path
 GladeApp.h 2007-01-27 Carlos Lacasta Carlos Lacasta [96b56f] Change add_path
 MainWindow.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [4bdcaf] Check for GenModule inheritance in some of the ...
 MainWindow.h 2006-12-05 Carlos Lacasta Carlos Lacasta [cfc278] CreateRunManager now returns a pointer to a Rma...
 Makefile.am 2006-10-23 Carlos Lacasta Carlos Lacasta [51e108] Add MainWindow.cc in the distribution. THis fil...
 MonitorWindow.cc 2006-09-26 Carlos Lacasta Carlos Lacasta [d4eca2] The monitor stuff is now full responsability of...
 MonitorWindow.h 2006-09-26 Carlos Lacasta Carlos Lacasta [d4eca2] The monitor stuff is now full responsability of...
 MsgManager.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [96d5d7] Fix some compilation warnings
 MsgManager.h 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 ParamSlider.cc 2005-05-26 Carlos Lacasta Carlos Lacasta [d546b9] Import of vmedaq
 ParamSlider.h 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 Pedestal.cc 2006-12-13 Carlos Lacasta Carlos Lacasta [805fa4] Fixed a bug where there was no check for the Mo...
 Pedestal.h 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 Preferences.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [96d5d7] Fix some compilation warnings
 Preferences.h 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 README 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 RunMenu.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [96d5d7] Fix some compilation warnings
 RunMenu.h 2006-12-05 Carlos Lacasta Carlos Lacasta [770e61] Added send_command to RunMenu and Runmenu
 ScanDialog.cc 2006-09-26 Carlos Lacasta Carlos Lacasta [9f130a] Scans can be made setting a given time perscanp...
 ScanDialog.h 2006-09-26 Carlos Lacasta Carlos Lacasta [9f130a] Scans can be made setting a given time perscanp...
 SpinSlider.c 2005-05-26 Carlos Lacasta Carlos Lacasta [d546b9] Import of vmedaq
 SpinSlider.h 2005-05-26 Carlos Lacasta Carlos Lacasta [d546b9] Import of vmedaq
 WidgetUpdate.cc 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 WidgetUpdate.h 2005-12-15 Carlos Lacasta Carlos Lacasta [e7ce9e] Added headers in include dir and fix a few erro...
 gtkmessagebox.c 2006-12-05 Carlos Lacasta Carlos Lacasta [c63ce5] added gtk_messagebox_run
 gtkmessagebox.h 2006-12-05 Carlos Lacasta Carlos Lacasta [c63ce5] added gtk_messagebox_run
 gtkutils.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [2258c9] *** empty log message ***
 gtkutils.h 2006-06-01 Carlos Lacasta Carlos Lacasta [afddb1] Remove old glade stuff.
 module_gui.cc 2007-01-27 Carlos Lacasta Carlos Lacasta [96d5d7] Fix some compilation warnings
 module_gui.h 2006-09-26 Carlos Lacasta Carlos Lacasta [644751] Monitoring is now controlled by the ModuleParse...
 runmenu.c 2007-01-27 Carlos Lacasta Carlos Lacasta [96d5d7] Fix some compilation warnings
 runmenu.h 2006-12-05 Carlos Lacasta Carlos Lacasta [770e61] Added send_command to RunMenu and Runmenu

Read Me

The logic:
----------

The logic may seem a bit "involved" but it was prepared to work with
CORBA and, therefore, it is based in message passing between the
different components.

The idea is that MsgManager will receive all the messages from the
real DAQ++ objects and distribute them. So, the state of the
RunManagers and Modules gets to MsgManager and it sends the
corresponding messages to the Objects subscribed, for instance
MainWindow, RunMenu or ParamSlider.

On the other hand RunMenu will send the DAQ commands


module_gui
----------

This class controls the small module window in the main window of wmedaq

ParamSlider
-----------

This class binds a Module parameter with a GtkAdjustment which can
come from a GtkScale, a GtkSpinButton, etc. Changes in the adjustment
will be sent to the Module parameter.

The class mantains a static list of existing mappings.


Widget Updates
--------------

This relates the updating of number of triggers, rates, throughput,
etc. It is done with WidgetUpdate-based classes that will comprise
labels, spin-sliders, gauges, etc.

Each monitor window derives from WidgetHolder. Widgets to be updated
will register and receive the update signal from the holder together
with the update data. This is retreived from any of

void RunManager_update(const string &, Update &);
void Module_update(const string &, Update &);
void Update_all(int &nRm, Update **, int &nMd, Update **);



DAQ state and RUnMenu
---------------------

DAQ state is show and controlled by a RunMenu. Each RunMenu is
associated with a RunManager and will send it the DAQ commands.