From: Daniel G. <geh...@ep...> - 2000-05-03 08:53:07
|
MJester, This case is usually handled by using multiple execution threads. [Threads are little bit like mini-programs within a single process. Instead of running one program for the GUI, and another to crunch the numbers, you would use the main thread to display the GUI, and create a "worker" thread for your calculations. Since the threads of a same process share their memory space, communication is very easy (global variables, ...).] FOX, as a GUI library, has no direct threading support. But you can use it in conjunction with the omniThread library (LGPL license), which comes as a separate module with the OmniORB2 library. http://www.cam-orl.co.uk/omniORB/index.html - Daniel > -----Original Message----- > From: fox...@li... > [mailto:fox...@li...]On Behalf Of M Jester > Sent: Wednesday, May 03, 2000 5:30 AM > To: fox...@li... > Subject: [Foxgui-users]FOX work here? > > > Have a C program that loops through iterations improving on an objective > until ending conditions are met. I hope to develop a GUI so user > can adjust > parameters and view progress (e.g. graphs that get updated each > iteration) > on the fly while the program is iterating. For example, during 1 > iteration > the processor may be busy cruching for a minute, then the intermediate > solution is updated and the next iteration is begun. This may go on for > hours. Currently communicate with program via ASCII text files > that get read > in each iteration and program takes new parameters/instructions. > > I downloaded FOX and checked out a bunch of the test programs. All looks > great. However, I'm having trouble figuring out how an iteration-based > program would work in this object oriented c++ world. The program > needs to > iterate while all the GUI objects are funcioning and > communicating with it. > I don't have much experience with C++, which may be the main conceptual > problem. Is FOX likely to work to build a GUI for this type of problem. > References for developing this type of program would be appreciated. > Thanks, MJester > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com > > > _______________________________________________ > Foxgui-users mailing list > Fox...@li... > http://lists.sourceforge.net/mailman/listinfo/foxgui-users > |