From: Darrel J. C. <gm...@th...> - 2008-06-18 20:30:30
|
Here goes. I've moved the GuiInterpreter out of the base code and into the gui code, and made updates to a number of files so that we can build the base code as a shared library, enabling plug-in capabilities. The file changes are as follows: src/base/interpreter/GuiInterpreter.* <-- Moved to src/gui/app src/base/interpreter/Interpreter.* <-- Added methods GuiInterpreter can override src/base/interface/GmatInterface.cpp <-- Updates for rearranged GuiInterpreter code src/gui/app/GmatApp.cpp <-- Initialize and set the GuiInterpreter for the Moderator src/gui/app/GuiInterpreter.* <-- New location! In order to build the base code as a shared library, I also needed to make updates to the FminconOptimizer so that it can start the MATLAB engine without direct access to the GUI code. To do that, I changed these files: src/base/command/GmatCommand.* <-- Added interface to define when server start is needed src/base/command/SolverBranchCommand.* <-- Added interface to define when server start is needed src/base/solver/FminconOptimizer.cpp <-- Moved server startup to Sandbox src/base/executive/Sandbox.cpp <-- Code to start server if needed These changes necessitated the following changes in the executive code: src/base/executive/Moderator.* <-- Code to start server if needed; updates for GuiInterpreter move The Eclipse makefiles were updated to reflect these changes as well, and to let folks build base as either a shared library or a static library. I think that covers it! - DJC -- ----------------------------------------------------------------------------------------------------- GMAT Architectural Design, Linux Development and Test Team Darrel J. Conway, Ph.D. Thinking Systems, Inc. Senior Scientist and CEO 6441 N Camino Libby Phone: (623) 298-4530 Tucson, AZ 85718 FAX: (520) 232-2533 www.thinksysinc.com djc_at_thinksysinc_dot_com ----------------------------------------------------------------------------------------------------- |