Implements a graphic user interface for a DODS client.
This class manages a simple graphical user interface (GUI) for a DODS client. The GUI consists of a process that can interpret tcl/tk commands. The DODS client sends commands to the GUI process, who executes them and displays the results. The GUI process was created to display a progress indicator---a bar graph showing the progress of a data transfer. The progress indicator uses three tcl programs which can be found in the #$(DODS_ROOT)/etc# directory: #dods_gui.tcl#, #error.tcl#, and #progress.tcl#. The GUI process is a versatile feature, and may be used for more than a progress indicator. It can display any graphical information that can be encoded into tcl/tk. Do not confuse the DODS Client GUI, managed by this class, with a DODS GUI Client, such as the DODS Matlab GUI, used for the graphical display of DODS datasets. The two can work together, but otherwise have nothing to do with each other. The GUI process uses the following environment variables: \begin{description} \item{#DODS_USE_GUI#} If this variable exists and equals ``no'', the progress indicator will not appear. If it does not exist, or if it has any other value, the progress indicator will be activated. \item{#DODS_GUI#} This is the name of the interpreter to be used to interpret the three tcl programs that make up the GUI. If it does not exist, the program will default to #wish#. \item{#DODS_GUI_INIT#} This is the name of the program to start the GUI manager. If the variable is not defined, the default will be the program that comes with DODS, #dods_gui.tcl#, found in the #$(DODS_ROOT)/etc# directory. \end{description} Note that since the job of the Gui class involves managing a process, there is no copy constructor or compare operators.
bool show_gui(int state = -1)
bool command(string command)
bool command(string command, string * result1, string * result2)
bool simple_error(string msg)
alphabetic index hierarchy of classes
generated by doc++