[go: up one dir, main page]

Menu

Tree [0a098c] master / gui /
 History

HTTPS access


File Date Author Commit
 glade 2014-10-09 Carlos Lacasta Carlos Lacasta [d651a3] Fix the menu items in the main window
 DefaultMonitorGUI.cc 2012-07-12 Carlos Lacasta Carlos Lacasta [b8847c] *** empty log message ***
 DefaultMonitorGUI.h 2014-10-09 Carlos Lacasta Carlos Lacasta [1bb271] increase the reference counter of the widget in...
 GladeApp.cc 2012-12-19 Carlos Lacasta Carlos Lacasta [64ec9f] fix get_int
 GladeApp.h 2012-12-12 Carlos Lacasta Carlos Lacasta [6c619c] Formats are const char iin xxx2str methods
 MainWindow.cc 2014-10-09 Carlos Lacasta Carlos Lacasta [c2f5aa] Some changes to get properly the menu in Mac OSX
 MainWindow.h 2012-07-12 Carlos Lacasta Carlos Lacasta [1ab008] Add load_new_configuration.
 Makefile.am 2014-03-14 Carlos Lacasta Carlos Lacasta [4923e1] *** empty log message ***
 MonitorWindow.cc 2014-10-09 Carlos Lacasta Carlos Lacasta [1bb271] increase the reference counter of the widget in...
 MonitorWindow.h 2014-10-09 Carlos Lacasta Carlos Lacasta [b9b4ea] Increase the reference counter of the widget in...
 MsgManager.cc 2012-07-12 Carlos Lacasta Carlos Lacasta [b61ab0] Status has changed some of the names
 MsgManager.h 2008-06-10 Carlos Lacasta Carlos Lacasta [c7b0e5] Added documentation
 ParamSlider.cc 2008-06-10 Carlos Lacasta Carlos Lacasta [c7b0e5] Added documentation
 ParamSlider.h 2008-06-10 Carlos Lacasta Carlos Lacasta [c7b0e5] Added documentation
 Pedestal.cc 2012-10-10 Carlos Lacasta Carlos Lacasta [1ae651] Nicer filters for get_file_name
 Pedestal.h 2008-02-15 Carlos Lacasta Carlos Lacasta [fe8d37] Now the pedestal file name is read from the con...
 PluginHook.cc 2012-10-10 Carlos Lacasta Carlos Lacasta [c8a020] Added lang to the PluginHook class
 PluginHook.h 2012-10-10 Carlos Lacasta Carlos Lacasta [c8a020] Added lang to the PluginHook class
 PluginSettings.cc 2012-10-10 Carlos Lacasta Carlos Lacasta [c8a020] Added lang to the PluginHook class
 PluginSettings.h 2012-07-12 Carlos Lacasta Carlos Lacasta [20b562] It now need tMainWindow
 Preferences.cc 2014-10-09 Carlos Lacasta Carlos Lacasta [e087e6] Check for existence of analysis for that module
 Preferences.h 2008-12-16 Carlos Lacasta Carlos Lacasta [b33a2a] Disable gtkcolorbutton for gtk+ <2.3
 README 2006-06-01 Carlos Lacasta Carlos Lacasta [a4bd28] All windows inherit from GladeApp
 RunMenu.cc 2012-12-12 Carlos Lacasta Carlos Lacasta [cc2b07] Get the event time when showing the pop-up menu...
 RunMenu.h 2012-10-10 Carlos Lacasta Carlos Lacasta [617261] runmenu->run_menu
 ScanDialog.cc 2014-03-14 Carlos Lacasta Carlos Lacasta [4923e1] *** empty log message ***
 ScanDialog.h 2008-02-11 Carlos Lacasta Carlos Lacasta [091ee6] Adapt new interface of ScanList
 SpinSlider.c 2007-09-25 Carlos Lacasta Carlos Lacasta [715f95] remove spinslider_send_configure
 SpinSlider.h 2007-03-29 Carlos Lacasta Carlos Lacasta [60bda1] Change indentation: have run astyle on all files
 WidgetUpdate.cc 2012-07-12 Carlos Lacasta Carlos Lacasta [b61ab0] Status has changed some of the names
 WidgetUpdate.h 2008-06-10 Carlos Lacasta Carlos Lacasta [8a812a] Change format
 gtkmessagebox.c 2012-12-19 Carlos Lacasta Carlos Lacasta [06a13a] Fix the get_type function
 gtkmessagebox.h 2007-03-29 Carlos Lacasta Carlos Lacasta [60bda1] Change indentation: have run astyle on all files
 gtkutils.cc 2012-10-09 Carlos Lacasta Carlos Lacasta [a51b1a] Improve get_file_name
 gtkutils.h 2012-10-09 Carlos Lacasta Carlos Lacasta [a51b1a] Improve get_file_name
 module_gui.cc 2008-10-01 Carlos Lacasta Carlos Lacasta [5c1f67] Added <cstring> for memcpy, strlen, etc.
 module_gui.h 2007-03-29 Carlos Lacasta Carlos Lacasta [60bda1] Change indentation: have run astyle on all files
 run_menu.c 2012-10-10 Carlos Lacasta Carlos Lacasta [c0b93f] rename file name. Mac OSX had problems witht this.
 run_menu.h 2012-10-10 Carlos Lacasta Carlos Lacasta [c0b93f] rename file name. Mac OSX had problems witht this.
 vmedaq-icon.png 2013-03-11 Carlos Lacasta Carlos Lacasta [dc0d99] Added the icon
 vmedaq-icon.svg 2013-03-11 Carlos Lacasta Carlos Lacasta [dc0d99] Added the icon
 vmedaq_icon.h 2013-03-11 Carlos Lacasta Carlos Lacasta [dc0d99] Added the icon

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.