source: trunk/source/interfaces/html/classG4UIGainServer.html@ 811

Last change on this file since 811 was 571, checked in by garnier, 18 years ago

r581@mac-90108: laurentgarnier | 2007-08-17 17:30:26 +0200
deplacement de frame

  • Property svn:mime-type set to text/html
File size: 109.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>G4UIGainServer class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.3.4 -->
7<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8<h1>G4UIGainServer Class Reference</h1><code>#include &lt;<a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>&gt;</code>
9<p>
10Inheritance diagram for G4UIGainServer:<p><center><img src="classG4UIGainServer__inherit__graph.png" border="0" usemap="#G4UIGainServer__inherit__map" alt="Inheritance graph"></center>
11<map name="G4UIGainServer__inherit__map">
12<area href="classG4VBasicShell.html" shape="rect" coords="8,8,218,392" alt="">
13</map>
14<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for G4UIGainServer:<p><center><img src="classG4UIGainServer__coll__graph.png" border="0" usemap="#G4UIGainServer__coll__map" alt="Collaboration graph"></center>
15<map name="G4UIGainServer__coll__map">
16<area href="classG4VBasicShell.html" shape="rect" coords="8,8,218,392" alt="">
17</map>
18<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classG4UIGainServer-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
19<tr><td></td></tr>
20<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
21<tr><td class="memItemLeft" nowrap align=right valign=top>G4UIsession *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a0">SessionStart</a> ()</td></tr>
22
23<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a1">PauseSessionStart</a> (G4String msg)</td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>G4int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a2">ReceiveG4cout</a> (G4String coutString)</td></tr>
26
27<tr><td class="memItemLeft" nowrap align=right valign=top>G4int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a3">ReceiveG4cerr</a> (G4String cerrString)</td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a4">G4UIGainServer</a> ()</td></tr>
30
31<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a5">~G4UIGainServer</a> ()</td></tr>
32
33<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a6">SessionTerminate</a> ()</td></tr>
34
35<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a7">Prompt</a> (G4String)</td></tr>
36
37<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#a8">GetCommand</a> ()</td></tr>
38
39<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
40<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d0">GetNewTreeStructure</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
41
42<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d1">GetNewTreeValues</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
43
44<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d2">ExecuteCommand</a> (G4String aCommand)</td></tr>
45
46<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d3">GetHelpChoice</a> (G4int &amp;aInt)</td></tr>
47
48<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d4">ExitHelp</a> ()</td></tr>
49
50<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d5">SetUPServer</a> ()</td></tr>
51
52<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d6">WaitingConnection</a> ()</td></tr>
53
54<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d7">CloseConnection</a> ()</td></tr>
55
56<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d8">ChangeDirectory</a> (G4String)</td></tr>
57
58<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d9">ListDirectory</a> (G4String)</td></tr>
59
60<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d10">TerminalHelp</a> (G4String)</td></tr>
61
62<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d11">ModifyPrefix</a> (G4String)</td></tr>
63
64<tr><td class="memItemLeft" nowrap align=right valign=top>G4UIcommandTree *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d12">FindDirPath</a> (G4String)</td></tr>
65
66<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d13">ShowCurrent</a> (G4String)</td></tr>
67
68<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d14">GetFullPath</a> (G4String)</td></tr>
69
70<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d15">SendCommandProperties</a> (G4UIcommandTree *)</td></tr>
71
72<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d16">SendParameterProperties</a> (G4UIcommandTree *)</td></tr>
73
74<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d17">SendAParamProperty</a> (G4UIcommand *)</td></tr>
75
76<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d18">SendATclParamProperty</a> (G4UIcommand *)</td></tr>
77
78<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d19">CodeGenJavaTree</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
79
80<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d20">CodeGenJavaParams</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
81
82<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d21">CodeGenTclTree</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
83
84<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d22">CodeGenTclParams</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
85
86<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d23">SendDisableList</a> (G4UIcommandTree *, int recursiveLevel)</td></tr>
87
88<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d24">NotifyStateChange</a> (void)</td></tr>
89
90<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d25">NotifyCommandUpdate</a> (void)</td></tr>
91
92<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d26">NotifyParameterUpdate</a> (G4UIcommand *)</td></tr>
93
94<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d27">CommandUpdated</a> (void)</td></tr>
95
96<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d28">UpdateState</a> (void)</td></tr>
97
98<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d29">UpdateParamVal</a> (void)</td></tr>
99
100<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
101<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r0">prefix</a></td></tr>
102
103<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r1">promptCharacter</a></td></tr>
104
105<tr><td class="memItemLeft" nowrap align=right valign=top>G4UImanager *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r2">UI</a></td></tr>
106
107<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="G4UIGainServer_8hh.html#a7">UImode</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r3">uiMode</a></td></tr>
108
109<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r4">JVersion</a></td></tr>
110
111<tr><td class="memItemLeft" nowrap align=right valign=top>G4String&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r5">TVersion</a></td></tr>
112
113<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r6">iExit</a></td></tr>
114
115<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r7">iCont</a></td></tr>
116
117<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r8">socketD</a> [3]</td></tr>
118
119<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r9">port</a></td></tr>
120
121<tr><td class="memItemLeft" nowrap align=right valign=top>sockaddr_in&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r10">saddr</a></td></tr>
122
123<tr><td class="memItemLeft" nowrap align=right valign=top>sockaddr_in&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r11">caddr</a></td></tr>
124
125<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r12">len</a></td></tr>
126
127<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r13">ret</a></td></tr>
128
129<tr><td class="memItemLeft" nowrap align=right valign=top>char&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r14">buf</a> [1024]</td></tr>
130
131<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4String &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r15">previousTreeCommands</a></td></tr>
132
133<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4String &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r16">newTreeCommands</a></td></tr>
134
135<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4String &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r17">previousTreeParams</a></td></tr>
136
137<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4String &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r18">newTreeParams</a></td></tr>
138
139<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4UIcommand * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r19">previousTreePCP</a></td></tr>
140
141<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; G4UIcommand * &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r20">newTreePCP</a></td></tr>
142
143</table>
144<hr><h2>Constructor &amp; Destructor Documentation</h2>
145<a class="anchor" name="a4" doxytag="G4UIGainServer::G4UIGainServer" ></a><p>
146<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
147 <tr>
148 <td class="mdRow">
149 <table cellpadding="0" cellspacing="0" border="0">
150 <tr>
151 <td class="md" nowrap valign="top"> G4UIGainServer::G4UIGainServer </td>
152 <td class="md" valign="top">(&nbsp;</td>
153 <td class="mdname1" valign="top" nowrap> </td>
154 <td class="md" valign="top">&nbsp;)&nbsp;</td>
155 <td class="md" nowrap></td>
156 </tr>
157
158 </table>
159 </td>
160 </tr>
161</table>
162<table cellspacing=5 cellpadding=0 border=0>
163 <tr>
164 <td>
165 &nbsp;
166 </td>
167 <td>
168
169<p>
170
171<p>
172Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00044">44</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
173<p>
174References <a class="el" href="classG4UIGainServer.html#d0">GetNewTreeStructure()</a>, <a class="el" href="classG4UIGainServer.html#d1">GetNewTreeValues()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00079">iCont</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00078">iExit</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00071">JVersion</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00095">newTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00097">newTreeParams</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00099">newTreePCP</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00083">port</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00067">prefix</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00094">previousTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00096">previousTreeParams</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00098">previousTreePCP</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00068">promptCharacter</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00370">SetUPServer()</a>, <a class="el" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00072">TVersion</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>, and <a class="el" href="G4UIGainServer_8hh-source.html#l00070">uiMode</a>.
175<p>
176<div class="fragment"><pre>00046 {
17700047 <a class="code" href="classG4UIGainServer.html#r5">TVersion</a> =<span class="stringliteral">"T1.0a"</span>; <a class="code" href="classG4UIGainServer.html#r4">JVersion</a>=<span class="stringliteral">"J1.0a"</span>;
17800048 <a class="code" href="classG4UIGainServer.html#r0">prefix</a> = <span class="stringliteral">"/"</span>;
17900049
18000050 <a class="code" href="classG4UIGainServer.html#r9">port</a> = DEFAULT_PORT;
18100051 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#d5">SetUPServer</a>() == <span class="keyword">false</span>){
18200052 G4cout&lt;&lt;<span class="stringliteral">"can't get the port no. "</span>&lt;&lt;<a class="code" href="classG4UIGainServer.html#r9">port</a>&lt;&lt;<span class="stringliteral">" Now, try to get the next port "</span>&lt;&lt;<a class="code" href="classG4UIGainServer.html#r9">port</a>+1&lt;&lt;G4endl;
18300053 <a class="code" href="classG4UIGainServer.html#r9">port</a>++;
18400054 }
18500055
18600056
18700057 <a class="code" href="classG4UIGainServer.html#r2">UI</a>= G4UImanager::GetUIpointer();
18800058 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt; SetSession(<span class="keyword">this</span>);
18900059 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt; SetCoutDestination(<span class="keyword">this</span>);
19000060
19100061 G4StateManager* statM = G4StateManager::GetStateManager();
19200062 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = statM-&gt;GetStateString(statM-&gt;GetCurrentState());
19300063 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>;
19400064
19500065 <a class="code" href="classG4UIGainServer.html#r6">iExit</a>= FALSE;
19600066 <a class="code" href="classG4UIGainServer.html#r7">iCont</a>= FALSE;
19700067
19800068 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetTree();
19900069 <a class="code" href="classG4UIGainServer.html#d0">GetNewTreeStructure</a>(tree,0);
20000070 <a class="code" href="classG4UIGainServer.html#d1">GetNewTreeValues</a>(tree,0);
20100071 <a class="code" href="classG4UIGainServer.html#r15">previousTreeCommands</a> = <a class="code" href="classG4UIGainServer.html#r16">newTreeCommands</a>;
20200072 <a class="code" href="classG4UIGainServer.html#r17">previousTreeParams</a> = <a class="code" href="classG4UIGainServer.html#r18">newTreeParams</a>;
20300073 <a class="code" href="classG4UIGainServer.html#r19">previousTreePCP</a> = <a class="code" href="classG4UIGainServer.html#r20">newTreePCP</a>;
20400074
20500075 }
206</pre></div> </td>
207 </tr>
208</table>
209
210<p>
211Here is the call graph for this function:<p><center><img src="classG4UIGainServer_a4_cgraph.png" border="0" usemap="#classG4UIGainServer_a4_cgraph_map" alt=""></center>
212<map name="classG4UIGainServer_a4_cgraph_map">
213<area href="classG4UIGainServer.html#d0" shape="rect" coords="282,8,538,34" alt="">
214<area href="classG4UIGainServer.html#d1" shape="rect" coords="290,58,530,85" alt="">
215<area href="classG4UIGainServer.html#d5" shape="rect" coords="309,109,512,136" alt="">
216</map>
217<a class="anchor" name="a5" doxytag="G4UIGainServer::~G4UIGainServer" ></a><p>
218<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
219 <tr>
220 <td class="mdRow">
221 <table cellpadding="0" cellspacing="0" border="0">
222 <tr>
223 <td class="md" nowrap valign="top"> G4UIGainServer::~<a class="el" href="classG4UIGainServer.html">G4UIGainServer</a> </td>
224 <td class="md" valign="top">(&nbsp;</td>
225 <td class="mdname1" valign="top" nowrap> </td>
226 <td class="md" valign="top">&nbsp;)&nbsp;</td>
227 <td class="md" nowrap></td>
228 </tr>
229
230 </table>
231 </td>
232 </tr>
233</table>
234<table cellspacing=5 cellpadding=0 border=0>
235 <tr>
236 <td>
237 &nbsp;
238 </td>
239 <td>
240
241<p>
242
243<p>
244Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00078">78</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
245<p>
246References <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>.
247<p>
248<div class="fragment"><pre>00080 {
24900081
25000082 <span class="keywordflow">if</span>(G4UImanager::GetUIpointer()) {
25100083 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt; SetSession(NULL);
25200084 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt; SetCoutDestination(NULL);
25300085 }
25400086
25500087 <span class="keywordflow">if</span>(G4UImanager::GetUIpointer()!=0){
25600088 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;SetSession(NULL);
25700089 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;SetCoutDestination(NULL);
25800090 }
25900091 }
260</pre></div> </td>
261 </tr>
262</table>
263<hr><h2>Member Function Documentation</h2>
264<a class="anchor" name="d8" doxytag="G4UIGainServer::ChangeDirectory" ></a><p>
265<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
266 <tr>
267 <td class="mdRow">
268 <table cellpadding="0" cellspacing="0" border="0">
269 <tr>
270 <td class="md" nowrap valign="top"> void G4UIGainServer::ChangeDirectory </td>
271 <td class="md" valign="top">(&nbsp;</td>
272 <td class="md" nowrap valign="top">G4String&nbsp;</td>
273 <td class="mdname1" valign="top" nowrap> </td>
274 <td class="md" valign="top">&nbsp;)&nbsp;</td>
275 <td class="md" nowrap><code> [private]</code></td>
276 </tr>
277
278 </table>
279 </td>
280 </tr>
281</table>
282<table cellspacing=5 cellpadding=0 border=0>
283 <tr>
284 <td>
285 &nbsp;
286 </td>
287 <td>
288
289<p>
290
291<p>
292Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
293 </tr>
294</table>
295<a class="anchor" name="d7" doxytag="G4UIGainServer::CloseConnection" ></a><p>
296<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
297 <tr>
298 <td class="mdRow">
299 <table cellpadding="0" cellspacing="0" border="0">
300 <tr>
301 <td class="md" nowrap valign="top"> void G4UIGainServer::CloseConnection </td>
302 <td class="md" valign="top">(&nbsp;</td>
303 <td class="mdname1" valign="top" nowrap> </td>
304 <td class="md" valign="top">&nbsp;)&nbsp;</td>
305 <td class="md" nowrap><code> [private]</code></td>
306 </tr>
307
308 </table>
309 </td>
310 </tr>
311</table>
312<table cellspacing=5 cellpadding=0 border=0>
313 <tr>
314 <td>
315 &nbsp;
316 </td>
317 <td>
318
319<p>
320 </td>
321 </tr>
322</table>
323<a class="anchor" name="d20" doxytag="G4UIGainServer::CodeGenJavaParams" ></a><p>
324<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
325 <tr>
326 <td class="mdRow">
327 <table cellpadding="0" cellspacing="0" border="0">
328 <tr>
329 <td class="md" nowrap valign="top"> void G4UIGainServer::CodeGenJavaParams </td>
330 <td class="md" valign="top">(&nbsp;</td>
331 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
332 <td class="mdname" nowrap>, </td>
333 </tr>
334 <tr>
335 <td></td>
336 <td></td>
337 <td class="md" nowrap>int&nbsp;</td>
338 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
339 </tr>
340 <tr>
341 <td></td>
342 <td class="md">)&nbsp;</td>
343 <td class="md" colspan="2"><code> [private]</code></td>
344 </tr>
345
346 </table>
347 </td>
348 </tr>
349</table>
350<table cellspacing=5 cellpadding=0 border=0>
351 <tr>
352 <td>
353 &nbsp;
354 </td>
355 <td>
356
357<p>
358
359<p>
360Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
361 </tr>
362</table>
363<a class="anchor" name="d19" doxytag="G4UIGainServer::CodeGenJavaTree" ></a><p>
364<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
365 <tr>
366 <td class="mdRow">
367 <table cellpadding="0" cellspacing="0" border="0">
368 <tr>
369 <td class="md" nowrap valign="top"> void G4UIGainServer::CodeGenJavaTree </td>
370 <td class="md" valign="top">(&nbsp;</td>
371 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
372 <td class="mdname" nowrap>, </td>
373 </tr>
374 <tr>
375 <td></td>
376 <td></td>
377 <td class="md" nowrap>int&nbsp;</td>
378 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
379 </tr>
380 <tr>
381 <td></td>
382 <td class="md">)&nbsp;</td>
383 <td class="md" colspan="2"><code> [private]</code></td>
384 </tr>
385
386 </table>
387 </td>
388 </tr>
389</table>
390<table cellspacing=5 cellpadding=0 border=0>
391 <tr>
392 <td>
393 &nbsp;
394 </td>
395 <td>
396
397<p>
398
399<p>
400Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
401 </tr>
402</table>
403<a class="anchor" name="d22" doxytag="G4UIGainServer::CodeGenTclParams" ></a><p>
404<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
405 <tr>
406 <td class="mdRow">
407 <table cellpadding="0" cellspacing="0" border="0">
408 <tr>
409 <td class="md" nowrap valign="top"> void G4UIGainServer::CodeGenTclParams </td>
410 <td class="md" valign="top">(&nbsp;</td>
411 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
412 <td class="mdname" nowrap>, </td>
413 </tr>
414 <tr>
415 <td></td>
416 <td></td>
417 <td class="md" nowrap>int&nbsp;</td>
418 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
419 </tr>
420 <tr>
421 <td></td>
422 <td class="md">)&nbsp;</td>
423 <td class="md" colspan="2"><code> [private]</code></td>
424 </tr>
425
426 </table>
427 </td>
428 </tr>
429</table>
430<table cellspacing=5 cellpadding=0 border=0>
431 <tr>
432 <td>
433 &nbsp;
434 </td>
435 <td>
436
437<p>
438 </td>
439 </tr>
440</table>
441<a class="anchor" name="d21" doxytag="G4UIGainServer::CodeGenTclTree" ></a><p>
442<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
443 <tr>
444 <td class="mdRow">
445 <table cellpadding="0" cellspacing="0" border="0">
446 <tr>
447 <td class="md" nowrap valign="top"> void G4UIGainServer::CodeGenTclTree </td>
448 <td class="md" valign="top">(&nbsp;</td>
449 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
450 <td class="mdname" nowrap>, </td>
451 </tr>
452 <tr>
453 <td></td>
454 <td></td>
455 <td class="md" nowrap>int&nbsp;</td>
456 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
457 </tr>
458 <tr>
459 <td></td>
460 <td class="md">)&nbsp;</td>
461 <td class="md" colspan="2"><code> [private]</code></td>
462 </tr>
463
464 </table>
465 </td>
466 </tr>
467</table>
468<table cellspacing=5 cellpadding=0 border=0>
469 <tr>
470 <td>
471 &nbsp;
472 </td>
473 <td>
474
475<p>
476 </td>
477 </tr>
478</table>
479<a class="anchor" name="d27" doxytag="G4UIGainServer::CommandUpdated" ></a><p>
480<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
481 <tr>
482 <td class="mdRow">
483 <table cellpadding="0" cellspacing="0" border="0">
484 <tr>
485 <td class="md" nowrap valign="top"> int G4UIGainServer::CommandUpdated </td>
486 <td class="md" valign="top">(&nbsp;</td>
487 <td class="md" nowrap valign="top">void&nbsp;</td>
488 <td class="mdname1" valign="top" nowrap> </td>
489 <td class="md" valign="top">&nbsp;)&nbsp;</td>
490 <td class="md" nowrap><code> [private]</code></td>
491 </tr>
492
493 </table>
494 </td>
495 </tr>
496</table>
497<table cellspacing=5 cellpadding=0 border=0>
498 <tr>
499 <td>
500 &nbsp;
501 </td>
502 <td>
503
504<p>
505
506<p>
507Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
508 </tr>
509</table>
510<a class="anchor" name="d2" doxytag="G4UIGainServer::ExecuteCommand" ></a><p>
511<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
512 <tr>
513 <td class="mdRow">
514 <table cellpadding="0" cellspacing="0" border="0">
515 <tr>
516 <td class="md" nowrap valign="top"> void G4UIGainServer::ExecuteCommand </td>
517 <td class="md" valign="top">(&nbsp;</td>
518 <td class="md" nowrap valign="top">G4String&nbsp;</td>
519 <td class="mdname1" valign="top" nowrap> <em>aCommand</em> </td>
520 <td class="md" valign="top">&nbsp;)&nbsp;</td>
521 <td class="md" nowrap><code> [private, virtual]</code></td>
522 </tr>
523
524 </table>
525 </td>
526 </tr>
527</table>
528<table cellspacing=5 cellpadding=0 border=0>
529 <tr>
530 <td>
531 &nbsp;
532 </td>
533 <td>
534
535<p>
536!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
537<p>
538Reimplemented from <a class="el" href="classG4VBasicShell.html#b7">G4VBasicShell</a>.
539<p>
540Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00132">132</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
541<p>
542References <a class="el" href="classG4UIGainServer.html#d27">CommandUpdated()</a>, <a class="el" href="classG4UIGainServer.html#d0">GetNewTreeStructure()</a>, <a class="el" href="classG4UIGainServer.html#d1">GetNewTreeValues()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00095">newTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00097">newTreeParams</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00099">newTreePCP</a>, <a class="el" href="classG4UIGainServer.html#d25">NotifyCommandUpdate()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00094">previousTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00096">previousTreeParams</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00098">previousTreePCP</a>, <a class="el" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00070">uiMode</a>, <a class="el" href="classG4UIGainServer.html#d29">UpdateParamVal()</a>, and <a class="el" href="classG4UIGainServer.html#d28">UpdateState()</a>.
543<p>
544Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>.
545<p>
546<div class="fragment"><pre>00134 {
54700135 <span class="keywordflow">if</span>(aCommand.length()&lt;2) <span class="keywordflow">return</span>;
54800136
54900137 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetTree();
55000138 <span class="keywordflow">if</span>(aCommand.length()&lt;2) <span class="keywordflow">return</span>;
55100139 G4int returnVal = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;ApplyCommand(aCommand);
55200140 G4int paramIndex = returnVal % 100;
55300141 <span class="comment">// 0 - 98 : paramIndex-th parameter is invalid</span>
55400142 <span class="comment">// 99 : convination of parameters is invalid</span>
55500143 G4int commandStatus = returnVal - paramIndex;
55600144
55700145 <a class="code" href="classG4UIGainServer.html#d28">UpdateState</a>();
55800146
55900147 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r3">uiMode</a> != <a class="code" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>){
56000148 <span class="keywordflow">switch</span>(commandStatus) {
56100149 <span class="keywordflow">case</span> fCommandSucceeded:
56200150 <a class="code" href="classG4UIGainServer.html#d0">GetNewTreeStructure</a>(tree,0);
56300151 <a class="code" href="classG4UIGainServer.html#d1">GetNewTreeValues</a>(tree,0);
56400152 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#d27">CommandUpdated</a>()){
56500153 <a class="code" href="classG4UIGainServer.html#d25">NotifyCommandUpdate</a>();
56600154 } <span class="keywordflow">else</span>{
56700155 <a class="code" href="classG4UIGainServer.html#d29">UpdateParamVal</a>();
56800156 }
56900157 <a class="code" href="classG4UIGainServer.html#r15">previousTreeCommands</a> = <a class="code" href="classG4UIGainServer.html#r16">newTreeCommands</a>;
57000158 <a class="code" href="classG4UIGainServer.html#r17">previousTreeParams</a> = <a class="code" href="classG4UIGainServer.html#r18">newTreeParams</a>;
57100159 <a class="code" href="classG4UIGainServer.html#r19">previousTreePCP</a> = <a class="code" href="classG4UIGainServer.html#r20">newTreePCP</a>;
57200160 <span class="keywordflow">break</span>;
57300161 <span class="keywordflow">case</span> fCommandNotFound:
57400162 G4cerr &lt;&lt; <span class="stringliteral">"@@ErrResult \" &lt;"</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;SolveAlias(aCommand) &lt;&lt; <span class="stringliteral">"&gt; not found.\""</span> &lt;&lt; G4endl;
57500163 <span class="keywordflow">break</span>;
57600164 <span class="keywordflow">case</span> fIllegalApplicationState:
57700165 G4cerr &lt;&lt; <span class="stringliteral">"@@ErrResult \"illegal application state -- command refused.\""</span> &lt;&lt; G4endl;
57800166 <span class="keywordflow">break</span>;
57900167 <span class="keywordflow">case</span> fParameterOutOfRange:
58000168 G4cout &lt;&lt; <span class="stringliteral">"@@ErrResult \"Parameter Out of Range.\""</span> &lt;&lt; G4endl;
58100169 <span class="keywordflow">break</span>;
58200170 <span class="keywordflow">case</span> fParameterUnreadable:
58300171 G4cout &lt;&lt; <span class="stringliteral">"@@ErrResult \"Parameter is wrong type and/or is not omittable.\""</span>&lt;&lt;G4endl;
58400172 <span class="keywordflow">break</span>;
58500173 <span class="keywordflow">case</span> fParameterOutOfCandidates:
58600174 G4cerr &lt;&lt; <span class="stringliteral">"@@ErrResult \"Parameter is out of candidate.\""</span> &lt;&lt; G4endl;
58700175 <span class="keywordflow">break</span>;
58800176 <span class="keywordflow">case</span> fAliasNotFound:
58900177 <span class="keywordflow">default</span>:
59000178 G4cerr &lt;&lt; <span class="stringliteral">"command refused ("</span> &lt;&lt; commandStatus &lt;&lt; <span class="stringliteral">")"</span> &lt;&lt; G4endl;
59100179 }
59200180 }
59300181 }
594</pre></div> </td>
595 </tr>
596</table>
597
598<p>
599Here is the call graph for this function:<p><center><img src="classG4UIGainServer_d2_cgraph.png" border="0" usemap="#classG4UIGainServer_d2_cgraph_map" alt=""></center>
600<map name="classG4UIGainServer_d2_cgraph_map">
601<area href="classG4UIGainServer.html#d27" shape="rect" coords="308,8,545,34" alt="">
602<area href="classG4UIGainServer.html#d0" shape="rect" coords="298,58,554,85" alt="">
603<area href="classG4UIGainServer.html#d1" shape="rect" coords="306,109,546,136" alt="">
604<area href="classG4UIGainServer.html#d25" shape="rect" coords="294,160,558,186" alt="">
605<area href="classG4UIGainServer.html#d29" shape="rect" coords="313,210,540,237" alt="">
606<area href="classG4UIGainServer.html#d28" shape="rect" coords="326,261,526,288" alt="">
607</map>
608<a class="anchor" name="d4" doxytag="G4UIGainServer::ExitHelp" ></a><p>
609<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
610 <tr>
611 <td class="mdRow">
612 <table cellpadding="0" cellspacing="0" border="0">
613 <tr>
614 <td class="md" nowrap valign="top"> void G4UIGainServer::ExitHelp </td>
615 <td class="md" valign="top">(&nbsp;</td>
616 <td class="mdname1" valign="top" nowrap> </td>
617 <td class="md" valign="top">&nbsp;)&nbsp;</td>
618 <td class="md" nowrap><code> [private, virtual]</code></td>
619 </tr>
620
621 </table>
622 </td>
623 </tr>
624</table>
625<table cellspacing=5 cellpadding=0 border=0>
626 <tr>
627 <td>
628 &nbsp;
629 </td>
630 <td>
631
632<p>
633
634<p>
635Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>.
636<p>
637Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00362">362</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
638<p>
639<div class="fragment"><pre>00364 {
64000365 <span class="keywordtype">char</span> temp[100];
64100366 G4cin.getline(temp, 100);
64200367 }
643</pre></div> </td>
644 </tr>
645</table>
646<a class="anchor" name="d12" doxytag="G4UIGainServer::FindDirPath" ></a><p>
647<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
648 <tr>
649 <td class="mdRow">
650 <table cellpadding="0" cellspacing="0" border="0">
651 <tr>
652 <td class="md" nowrap valign="top"> G4UIcommandTree* G4UIGainServer::FindDirPath </td>
653 <td class="md" valign="top">(&nbsp;</td>
654 <td class="md" nowrap valign="top">G4String&nbsp;</td>
655 <td class="mdname1" valign="top" nowrap> </td>
656 <td class="md" valign="top">&nbsp;)&nbsp;</td>
657 <td class="md" nowrap><code> [private]</code></td>
658 </tr>
659
660 </table>
661 </td>
662 </tr>
663</table>
664<table cellspacing=5 cellpadding=0 border=0>
665 <tr>
666 <td>
667 &nbsp;
668 </td>
669 <td>
670
671<p>
672
673<p>
674Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
675 </tr>
676</table>
677<a class="anchor" name="a8" doxytag="G4UIGainServer::GetCommand" ></a><p>
678<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
679 <tr>
680 <td class="mdRow">
681 <table cellpadding="0" cellspacing="0" border="0">
682 <tr>
683 <td class="md" nowrap valign="top"> G4String G4UIGainServer::GetCommand </td>
684 <td class="md" valign="top">(&nbsp;</td>
685 <td class="mdname1" valign="top" nowrap> </td>
686 <td class="md" valign="top">&nbsp;)&nbsp;</td>
687 <td class="md" nowrap></td>
688 </tr>
689
690 </table>
691 </td>
692 </tr>
693</table>
694<table cellspacing=5 cellpadding=0 border=0>
695 <tr>
696 <td>
697 &nbsp;
698 </td>
699 <td>
700
701<p>
702
703<p>
704Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00184">184</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
705<p>
706References <a class="el" href="G4UIGainServer_8hh-source.html#l00088">buf</a>, <a class="el" href="classG4UIGainServer.html#d8">ChangeDirectory()</a>, <a class="el" href="classG4UIGainServer.html#d14">GetFullPath()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00079">iCont</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00078">iExit</a>, <a class="el" href="G4UIGAG_8hh.html#a7a1">java_mode</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00071">JVersion</a>, <a class="el" href="classG4UIGainServer.html#d9">ListDirectory()</a>, <a class="el" href="classG4UIGainServer.html#d24">NotifyStateChange()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00067">prefix</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00068">promptCharacter</a>, <a class="el" href="classG4UIGainServer.html#d15">SendCommandProperties()</a>, <a class="el" href="classG4UIGainServer.html#d13">ShowCurrent()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>, <a class="el" href="G4UIGAG_8hh.html#a7a2">tcl_mode</a>, <a class="el" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>, <a class="el" href="classG4UIGainServer.html#d10">TerminalHelp()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00072">TVersion</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>, and <a class="el" href="G4UIGainServer_8hh-source.html#l00070">uiMode</a>.
707<p>
708Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>.
709<p>
710<div class="fragment"><pre>00186 {
71100187 G4String newCommand;
71200188 G4String nullString;
71300189
71400190 <span class="keywordflow">while</span>( 1 )
71500191 {
71600192 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetTree();
71700193 <span class="keywordflow">if</span> ( <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> != <a class="code" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a> ){
71800194 G4cout &lt;&lt; <span class="stringliteral">"@@PROMPT \""</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> &lt;&lt; <span class="stringliteral">"\""</span> &lt;&lt; G4endl;
71900195 }
72000196 <span class="keywordflow">if</span> ( <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> != <a class="code" href="G4UIGAG_8hh.html#a7a1">java_mode</a> ){
72100197 G4cout &lt;&lt; <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> &lt;&lt; <span class="stringliteral">"&gt; "</span> &lt;&lt; G4endl;
72200198 }<span class="keywordflow">else</span>{
72300199 G4cout &lt;&lt; <span class="stringliteral">"@@Ready"</span> &lt;&lt; G4endl;
72400200 }
72500201
72600202
72700205 read(socketD[1],buf,1024);
72800206 newCommand=<a class="code" href="classG4UIGainServer.html#r14">buf</a>;
72900207 <span class="comment">//DEBUG cout&lt;&lt;"-&gt;"&lt;&lt;newCommand&lt;&lt;"&lt;-"&lt;&lt;newCommand.length()&lt;&lt;G4endl;</span>
73000208 <span class="comment">//newCommand.readLine( G4cin, FALSE );</span>
73100211 <span class="comment"></span>
73200212
73300213
73400214 <span class="keywordflow">if</span> (!G4cin.good()) { G4cin.clear(); newCommand = nullString; <a class="code" href="classG4UIGainServer.html#r6">iExit</a>=<span class="keyword">false</span>;<span class="keywordflow">break</span>;}
73500215
73600216 newCommand = newCommand.strip(G4String::leading);
73700217 <span class="keywordflow">if</span>( newCommand.length() &lt; 1) { <span class="keywordflow">break</span>; }
73800218
73900219 <span class="keywordflow">while</span>( newCommand(newCommand.length()-1) == <span class="charliteral">'_'</span> )
74000220 {
74100221 G4String newLine;
74200222 newCommand.remove(newCommand.length()-1);
74300223 newLine.readLine( G4cin );
74400224 <span class="keywordflow">if</span> (!G4cin.good()) { G4cin.clear(); newCommand = nullString; <a class="code" href="classG4UIGainServer.html#r6">iExit</a>=<span class="keyword">false</span>;<span class="keywordflow">break</span>;}
74500225 newCommand.append(newLine);
74600226 }
74700227
74800228 G4String nC = newCommand.strip(G4String::leading);
74900229 <span class="keywordflow">if</span>( nC.length() &lt; 1) { <span class="keywordflow">break</span>; }
75000230
75100231 <span class="comment">// -------------------- nC.toUpper();</span>
75200232 <span class="keywordflow">if</span>( nC == <span class="stringliteral">"@@GainmodeJAVA"</span> ) {
75300233 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a1">java_mode</a>;
75400234 G4cout &lt;&lt; G4endl &lt;&lt; <span class="stringliteral">"@@Version "</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r4">JVersion</a> &lt;&lt; G4endl;
75500235 <a class="code" href="classG4UIGainServer.html#d15">SendCommandProperties</a>(tree);
75600236 <a class="code" href="classG4UIGainServer.html#d24">NotifyStateChange</a>();
75700237 }
75800238 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"@@GainmodeTcl"</span> ) {
75900239 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a2">tcl_mode</a>;
76000240 G4cout &lt;&lt; G4endl &lt;&lt; <span class="stringliteral">"@@Version "</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r5">TVersion</a> &lt;&lt; G4endl;
76100241 <a class="code" href="classG4UIGainServer.html#d15">SendCommandProperties</a>(tree);
76200242 <a class="code" href="classG4UIGainServer.html#d24">NotifyStateChange</a>();
76300243 }
76400244 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'#'</span> )
76500245 { G4cout &lt;&lt; nC &lt;&lt; G4endl; }
76600246
76700247 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"ls"</span> || nC(0,3) == <span class="stringliteral">"ls "</span> )
76800248 { <a class="code" href="classG4UIGainServer.html#d9">ListDirectory</a>( nC ); }
76900249 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"pwd"</span> )
77000250 { G4cout &lt;&lt; <span class="stringliteral">"Current Working Directory : "</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r0">prefix</a> &lt;&lt; G4endl; }
77100251 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0,2) == <span class="stringliteral">"cd"</span> || nC(0,3) == <span class="stringliteral">"cd "</span> )
77200252 { <a class="code" href="classG4UIGainServer.html#d8">ChangeDirectory</a>( nC ); }
77300253 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"help"</span> || nC(0,5) == <span class="stringliteral">"help "</span>)
77400254 { <a class="code" href="classG4UIGainServer.html#d10">TerminalHelp</a>( nC ); }
77500255 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'?'</span> )
77600256 { <a class="code" href="classG4UIGainServer.html#d13">ShowCurrent</a>( nC ); }
77700257 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0,4) == <span class="stringliteral">"hist"</span> || nC == <span class="stringliteral">"history"</span>)
77800258 {
77900259 G4int nh = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetNumberOfHistory();
78000260 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i&lt;nh;i++)
78100261 { G4cout &lt;&lt; i &lt;&lt; <span class="stringliteral">": "</span> &lt;&lt; <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetPreviousCommand(i) &lt;&lt; G4endl; }
78200262 }
78300263 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'!'</span> )
78400264 {
78500265 G4String ss = nC(1,nC.length()-1);
78600266 G4int vl;
78700267 <span class="keyword">const</span> <span class="keywordtype">char</span>* tt = ss;
78800268 std::istringstream is((<span class="keywordtype">char</span>*)tt);
78900269 is &gt;&gt; vl;
79000270 G4int nh = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetNumberOfHistory();
79100271 <span class="keywordflow">if</span>(vl&gt;=0 &amp;&amp; vl&lt;nh)
79200272 {
79300273 newCommand = <a class="code" href="classG4UIGainServer.html#r2">UI</a>-&gt;GetPreviousCommand(vl);
79400274 G4cout &lt;&lt; newCommand &lt;&lt; G4endl;
79500275 <span class="keywordflow">break</span>;
79600276 }
79700277 <span class="keywordflow">else</span>
79800278 { G4cerr &lt;&lt; <span class="stringliteral">"history "</span> &lt;&lt; vl &lt;&lt; <span class="stringliteral">" is not found."</span> &lt;&lt; G4endl; }
79900279 }
80000280 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0,4) == <span class="stringliteral">"exit"</span> )
80100281 {
80200282 <span class="keywordflow">if</span>( <a class="code" href="classG4UIGainServer.html#r7">iCont</a> )
80300283 {
80400284 <span class="keywordflow">if</span> ( <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> == <a class="code" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>){
80500285 G4cerr &lt;&lt; <span class="stringliteral">"You are now processing RUN."</span> &lt;&lt; G4endl;
80600286 G4cerr &lt;&lt; <span class="stringliteral">"Please abrot it using \"/run/abort\" command first"</span> &lt;&lt; G4endl;
80700287 G4cerr &lt;&lt; <span class="stringliteral">" and use \"continue\" command until the application"</span> &lt;&lt; G4endl;
80800288 G4cerr &lt;&lt; <span class="stringliteral">" becomes to Idle."</span> &lt;&lt; G4endl;
80900289 }<span class="keywordflow">else</span>{
81000290 G4cout &lt;&lt; <span class="stringliteral">"@@ErrResult \"You are now processing RUN.\""</span> &lt;&lt; G4endl;
81100291 }
81200292 }
81300293 <span class="keywordflow">else</span>
81400294 {
81500295 close(socketD[1]);
81600296 close(socketD[2]);
81700297 <a class="code" href="classG4UIGainServer.html#r6">iExit</a> = <span class="keyword">false</span>;
81800298 newCommand = nullString;
81900299 <span class="keywordflow">break</span>;
82000300 }
82100301 }
82200302 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"cont"</span> || nC == <span class="stringliteral">"continue"</span> )
82300303 {
82400304 <a class="code" href="classG4UIGainServer.html#r7">iCont</a> = <span class="keyword">false</span>;
82500305 newCommand = nullString;
82600306 <span class="keywordflow">break</span>;
82700307 }
82800308 <span class="keywordflow">else</span>
82900309 { <span class="keywordflow">break</span>; }
83000310 }
83100311 <span class="keywordflow">return</span> <a class="code" href="classG4UIGainServer.html#d14">GetFullPath</a>(newCommand);
83200312 }
833</pre></div> </td>
834 </tr>
835</table>
836
837<p>
838Here is the call graph for this function:<p><center><img src="classG4UIGainServer_a8_cgraph.png" border="0" usemap="#classG4UIGainServer_a8_cgraph_map" alt=""></center>
839<map name="classG4UIGainServer_a8_cgraph_map">
840<area href="classG4UIGainServer.html#d8" shape="rect" coords="294,8,521,34" alt="">
841<area href="classG4UIGainServer.html#d14" shape="rect" coords="309,58,506,85" alt="">
842<area href="classG4UIGainServer.html#d9" shape="rect" coords="306,109,509,136" alt="">
843<area href="classG4UIGainServer.html#d24" shape="rect" coords="289,160,526,186" alt="">
844<area href="classG4UIGainServer.html#d15" shape="rect" coords="267,210,547,237" alt="">
845<area href="classG4UIGainServer.html#d13" shape="rect" coords="305,261,510,288" alt="">
846<area href="classG4UIGainServer.html#d10" shape="rect" coords="305,312,510,338" alt="">
847</map>
848<a class="anchor" name="d14" doxytag="G4UIGainServer::GetFullPath" ></a><p>
849<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
850 <tr>
851 <td class="mdRow">
852 <table cellpadding="0" cellspacing="0" border="0">
853 <tr>
854 <td class="md" nowrap valign="top"> G4String G4UIGainServer::GetFullPath </td>
855 <td class="md" valign="top">(&nbsp;</td>
856 <td class="md" nowrap valign="top">G4String&nbsp;</td>
857 <td class="mdname1" valign="top" nowrap> </td>
858 <td class="md" valign="top">&nbsp;)&nbsp;</td>
859 <td class="md" nowrap><code> [private]</code></td>
860 </tr>
861
862 </table>
863 </td>
864 </tr>
865</table>
866<table cellspacing=5 cellpadding=0 border=0>
867 <tr>
868 <td>
869 &nbsp;
870 </td>
871 <td>
872
873<p>
874
875<p>
876Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
877 </tr>
878</table>
879<a class="anchor" name="d3" doxytag="G4UIGainServer::GetHelpChoice" ></a><p>
880<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
881 <tr>
882 <td class="mdRow">
883 <table cellpadding="0" cellspacing="0" border="0">
884 <tr>
885 <td class="md" nowrap valign="top"> G4bool G4UIGainServer::GetHelpChoice </td>
886 <td class="md" valign="top">(&nbsp;</td>
887 <td class="md" nowrap valign="top">G4int &amp;&nbsp;</td>
888 <td class="mdname1" valign="top" nowrap> <em>aInt</em> </td>
889 <td class="md" valign="top">&nbsp;)&nbsp;</td>
890 <td class="md" nowrap><code> [private, virtual]</code></td>
891 </tr>
892
893 </table>
894 </td>
895 </tr>
896</table>
897<table cellspacing=5 cellpadding=0 border=0>
898 <tr>
899 <td>
900 &nbsp;
901 </td>
902 <td>
903
904<p>
905
906<p>
907Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>.
908<p>
909Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00349">349</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
910<p>
911<div class="fragment"><pre>00351 {
91200352 G4cin &gt;&gt; aInt;
91300353 <span class="keywordflow">if</span>(!G4cin.good()){
91400354 G4cin.clear();
91500355 G4cin.ignore(30,<span class="charliteral">'\n'</span>);
91600356 <span class="keywordflow">return</span> FALSE;
91700357 }
91800358 <span class="keywordflow">return</span> TRUE;
91900359 }
920</pre></div> </td>
921 </tr>
922</table>
923<a class="anchor" name="d0" doxytag="G4UIGainServer::GetNewTreeStructure" ></a><p>
924<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
925 <tr>
926 <td class="mdRow">
927 <table cellpadding="0" cellspacing="0" border="0">
928 <tr>
929 <td class="md" nowrap valign="top"> void G4UIGainServer::GetNewTreeStructure </td>
930 <td class="md" valign="top">(&nbsp;</td>
931 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
932 <td class="mdname" nowrap>, </td>
933 </tr>
934 <tr>
935 <td></td>
936 <td></td>
937 <td class="md" nowrap>int&nbsp;</td>
938 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
939 </tr>
940 <tr>
941 <td></td>
942 <td class="md">)&nbsp;</td>
943 <td class="md" colspan="2"><code> [private]</code></td>
944 </tr>
945
946 </table>
947 </td>
948 </tr>
949</table>
950<table cellspacing=5 cellpadding=0 border=0>
951 <tr>
952 <td>
953 &nbsp;
954 </td>
955 <td>
956
957<p>
958
959<p>
960Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
961 </tr>
962</table>
963<a class="anchor" name="d1" doxytag="G4UIGainServer::GetNewTreeValues" ></a><p>
964<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
965 <tr>
966 <td class="mdRow">
967 <table cellpadding="0" cellspacing="0" border="0">
968 <tr>
969 <td class="md" nowrap valign="top"> void G4UIGainServer::GetNewTreeValues </td>
970 <td class="md" valign="top">(&nbsp;</td>
971 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
972 <td class="mdname" nowrap>, </td>
973 </tr>
974 <tr>
975 <td></td>
976 <td></td>
977 <td class="md" nowrap>int&nbsp;</td>
978 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
979 </tr>
980 <tr>
981 <td></td>
982 <td class="md">)&nbsp;</td>
983 <td class="md" colspan="2"><code> [private]</code></td>
984 </tr>
985
986 </table>
987 </td>
988 </tr>
989</table>
990<table cellspacing=5 cellpadding=0 border=0>
991 <tr>
992 <td>
993 &nbsp;
994 </td>
995 <td>
996
997<p>
998
999<p>
1000Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1001 </tr>
1002</table>
1003<a class="anchor" name="d9" doxytag="G4UIGainServer::ListDirectory" ></a><p>
1004<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1005 <tr>
1006 <td class="mdRow">
1007 <table cellpadding="0" cellspacing="0" border="0">
1008 <tr>
1009 <td class="md" nowrap valign="top"> void G4UIGainServer::ListDirectory </td>
1010 <td class="md" valign="top">(&nbsp;</td>
1011 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1012 <td class="mdname1" valign="top" nowrap> </td>
1013 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1014 <td class="md" nowrap><code> [private]</code></td>
1015 </tr>
1016
1017 </table>
1018 </td>
1019 </tr>
1020</table>
1021<table cellspacing=5 cellpadding=0 border=0>
1022 <tr>
1023 <td>
1024 &nbsp;
1025 </td>
1026 <td>
1027
1028<p>
1029
1030<p>
1031Reimplemented from <a class="el" href="classG4VBasicShell.html#b13">G4VBasicShell</a>.
1032<p>
1033Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1034 </tr>
1035</table>
1036<a class="anchor" name="d11" doxytag="G4UIGainServer::ModifyPrefix" ></a><p>
1037<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1038 <tr>
1039 <td class="mdRow">
1040 <table cellpadding="0" cellspacing="0" border="0">
1041 <tr>
1042 <td class="md" nowrap valign="top"> G4String G4UIGainServer::ModifyPrefix </td>
1043 <td class="md" valign="top">(&nbsp;</td>
1044 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1045 <td class="mdname1" valign="top" nowrap> </td>
1046 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1047 <td class="md" nowrap><code> [private]</code></td>
1048 </tr>
1049
1050 </table>
1051 </td>
1052 </tr>
1053</table>
1054<table cellspacing=5 cellpadding=0 border=0>
1055 <tr>
1056 <td>
1057 &nbsp;
1058 </td>
1059 <td>
1060
1061<p>
1062
1063<p>
1064Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1065 </tr>
1066</table>
1067<a class="anchor" name="d25" doxytag="G4UIGainServer::NotifyCommandUpdate" ></a><p>
1068<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1069 <tr>
1070 <td class="mdRow">
1071 <table cellpadding="0" cellspacing="0" border="0">
1072 <tr>
1073 <td class="md" nowrap valign="top"> void G4UIGainServer::NotifyCommandUpdate </td>
1074 <td class="md" valign="top">(&nbsp;</td>
1075 <td class="md" nowrap valign="top">void&nbsp;</td>
1076 <td class="mdname1" valign="top" nowrap> </td>
1077 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1078 <td class="md" nowrap><code> [private]</code></td>
1079 </tr>
1080
1081 </table>
1082 </td>
1083 </tr>
1084</table>
1085<table cellspacing=5 cellpadding=0 border=0>
1086 <tr>
1087 <td>
1088 &nbsp;
1089 </td>
1090 <td>
1091
1092<p>
1093
1094<p>
1095Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1096 </tr>
1097</table>
1098<a class="anchor" name="d26" doxytag="G4UIGainServer::NotifyParameterUpdate" ></a><p>
1099<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1100 <tr>
1101 <td class="mdRow">
1102 <table cellpadding="0" cellspacing="0" border="0">
1103 <tr>
1104 <td class="md" nowrap valign="top"> void G4UIGainServer::NotifyParameterUpdate </td>
1105 <td class="md" valign="top">(&nbsp;</td>
1106 <td class="md" nowrap valign="top">G4UIcommand *&nbsp;</td>
1107 <td class="mdname1" valign="top" nowrap> </td>
1108 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1109 <td class="md" nowrap><code> [private]</code></td>
1110 </tr>
1111
1112 </table>
1113 </td>
1114 </tr>
1115</table>
1116<table cellspacing=5 cellpadding=0 border=0>
1117 <tr>
1118 <td>
1119 &nbsp;
1120 </td>
1121 <td>
1122
1123<p>
1124
1125<p>
1126Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1127 </tr>
1128</table>
1129<a class="anchor" name="d24" doxytag="G4UIGainServer::NotifyStateChange" ></a><p>
1130<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1131 <tr>
1132 <td class="mdRow">
1133 <table cellpadding="0" cellspacing="0" border="0">
1134 <tr>
1135 <td class="md" nowrap valign="top"> void G4UIGainServer::NotifyStateChange </td>
1136 <td class="md" valign="top">(&nbsp;</td>
1137 <td class="md" nowrap valign="top">void&nbsp;</td>
1138 <td class="mdname1" valign="top" nowrap> </td>
1139 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1140 <td class="md" nowrap><code> [private]</code></td>
1141 </tr>
1142
1143 </table>
1144 </td>
1145 </tr>
1146</table>
1147<table cellspacing=5 cellpadding=0 border=0>
1148 <tr>
1149 <td>
1150 &nbsp;
1151 </td>
1152 <td>
1153
1154<p>
1155
1156<p>
1157Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1158 </tr>
1159</table>
1160<a class="anchor" name="a1" doxytag="G4UIGainServer::PauseSessionStart" ></a><p>
1161<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1162 <tr>
1163 <td class="mdRow">
1164 <table cellpadding="0" cellspacing="0" border="0">
1165 <tr>
1166 <td class="md" nowrap valign="top"> void G4UIGainServer::PauseSessionStart </td>
1167 <td class="md" valign="top">(&nbsp;</td>
1168 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1169 <td class="mdname1" valign="top" nowrap> <em>msg</em> </td>
1170 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1171 <td class="md" nowrap><code> [virtual]</code></td>
1172 </tr>
1173
1174 </table>
1175 </td>
1176 </tr>
1177</table>
1178<table cellspacing=5 cellpadding=0 border=0>
1179 <tr>
1180 <td>
1181 &nbsp;
1182 </td>
1183 <td>
1184
1185<p>
1186
1187<p>
1188Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>.
1189<p>
1190Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00114">114</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1191<p>
1192References <a class="el" href="G4UIGainServer_8hh-source.html#l00088">buf</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00079">iCont</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00068">promptCharacter</a>, and <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
1193<p>
1194<div class="fragment"><pre>00116 {
119500117 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = msg;
119600118 G4cout&lt;&lt;<span class="stringliteral">"@@PROMPT \""</span>&lt;&lt;<a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a>&lt;&lt;<span class="stringliteral">"\""</span>&lt;&lt;G4endl;
119700119
119800120 <a class="code" href="classG4UIGainServer.html#r7">iCont</a>= TRUE;
119900121
120000122 G4String newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
120100123 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#r7">iCont</a>){
120200124 <a class="code" href="classG4UIGainServer.html#d2">ExecuteCommand</a>(newCommand);
120300125 newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
120400126 strcpy(buf,<span class="stringliteral">"nowIdle"</span>);
120500127 write(socketD[1],buf,strlen(buf));
120600128 }
120700129 }
1208</pre></div> </td>
1209 </tr>
1210</table>
1211
1212<p>
1213Here is the call graph for this function:<p><center><img src="classG4UIGainServer_a1_cgraph.png" border="0" usemap="#classG4UIGainServer_a1_cgraph_map" alt=""></center>
1214<map name="classG4UIGainServer_a1_cgraph_map">
1215<area href="classG4UIGainServer.html#d2" shape="rect" coords="298,160,536,186" alt="">
1216<area href="classG4UIGainServer.html#a8" shape="rect" coords="312,438,522,465" alt="">
1217<area href="classG4UIGainServer.html#d27" shape="rect" coords="606,8,844,34" alt="">
1218<area href="classG4UIGainServer.html#d0" shape="rect" coords="597,58,853,85" alt="">
1219<area href="classG4UIGainServer.html#d1" shape="rect" coords="605,109,845,136" alt="">
1220<area href="classG4UIGainServer.html#d25" shape="rect" coords="593,160,857,186" alt="">
1221<area href="classG4UIGainServer.html#d29" shape="rect" coords="612,210,838,237" alt="">
1222<area href="classG4UIGainServer.html#d28" shape="rect" coords="625,261,825,288" alt="">
1223<area href="classG4UIGainServer.html#d8" shape="rect" coords="612,312,838,338" alt="">
1224<area href="classG4UIGainServer.html#d14" shape="rect" coords="626,362,824,389" alt="">
1225<area href="classG4UIGainServer.html#d9" shape="rect" coords="624,413,826,440" alt="">
1226<area href="classG4UIGainServer.html#d24" shape="rect" coords="606,464,844,490" alt="">
1227<area href="classG4UIGainServer.html#d15" shape="rect" coords="585,514,865,541" alt="">
1228<area href="classG4UIGainServer.html#d13" shape="rect" coords="622,565,828,592" alt="">
1229<area href="classG4UIGainServer.html#d10" shape="rect" coords="622,616,828,642" alt="">
1230</map>
1231<a class="anchor" name="a7" doxytag="G4UIGainServer::Prompt" ></a><p>
1232<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1233 <tr>
1234 <td class="mdRow">
1235 <table cellpadding="0" cellspacing="0" border="0">
1236 <tr>
1237 <td class="md" nowrap valign="top"> void G4UIGainServer::Prompt </td>
1238 <td class="md" valign="top">(&nbsp;</td>
1239 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1240 <td class="mdname1" valign="top" nowrap> </td>
1241 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1242 <td class="md" nowrap></td>
1243 </tr>
1244
1245 </table>
1246 </td>
1247 </tr>
1248</table>
1249<table cellspacing=5 cellpadding=0 border=0>
1250 <tr>
1251 <td>
1252 &nbsp;
1253 </td>
1254 <td>
1255
1256<p>
1257 </td>
1258 </tr>
1259</table>
1260<a class="anchor" name="a3" doxytag="G4UIGainServer::ReceiveG4cerr" ></a><p>
1261<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1262 <tr>
1263 <td class="mdRow">
1264 <table cellpadding="0" cellspacing="0" border="0">
1265 <tr>
1266 <td class="md" nowrap valign="top"> G4int G4UIGainServer::ReceiveG4cerr </td>
1267 <td class="md" valign="top">(&nbsp;</td>
1268 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1269 <td class="mdname1" valign="top" nowrap> <em>cerrString</em> </td>
1270 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1271 <td class="md" nowrap></td>
1272 </tr>
1273
1274 </table>
1275 </td>
1276 </tr>
1277</table>
1278<table cellspacing=5 cellpadding=0 border=0>
1279 <tr>
1280 <td>
1281 &nbsp;
1282 </td>
1283 <td>
1284
1285<p>
1286
1287<p>
1288Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00334">334</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1289<p>
1290References <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
1291<p>
1292<div class="fragment"><pre>00336 {
129300337 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[2]&gt;0){
129400338 write(socketD[2],cerrString,cerrString.length());
129500339 }
129600340 <span class="keywordflow">return</span> 0;
129700341
129800342
129900343
130000344 <span class="comment">//std::cerr &lt;&lt; cerrString &lt;&lt; std::flush;</span>
130100345 <span class="comment">//return 0;</span>
130200346 }
1303</pre></div> </td>
1304 </tr>
1305</table>
1306<a class="anchor" name="a2" doxytag="G4UIGainServer::ReceiveG4cout" ></a><p>
1307<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1308 <tr>
1309 <td class="mdRow">
1310 <table cellpadding="0" cellspacing="0" border="0">
1311 <tr>
1312 <td class="md" nowrap valign="top"> G4int G4UIGainServer::ReceiveG4cout </td>
1313 <td class="md" valign="top">(&nbsp;</td>
1314 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1315 <td class="mdname1" valign="top" nowrap> <em>coutString</em> </td>
1316 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1317 <td class="md" nowrap></td>
1318 </tr>
1319
1320 </table>
1321 </td>
1322 </tr>
1323</table>
1324<table cellspacing=5 cellpadding=0 border=0>
1325 <tr>
1326 <td>
1327 &nbsp;
1328 </td>
1329 <td>
1330
1331<p>
1332
1333<p>
1334Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00315">315</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1335<p>
1336References <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
1337<p>
1338<div class="fragment"><pre>00317 {
133900318 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[1]&gt;0){
134000319 write(socketD[1],coutString,coutString.length());
134100320 }
134200321 <span class="keywordflow">return</span> 0;
134300322
134400323
134500324
134600325
134700326
134800327
134900328
135000329 <span class="comment">//std::cout &lt;&lt; coutString &lt;&lt; std::flush;</span>
135100330 <span class="comment">//return 0;</span>
135200331 }
1353</pre></div> </td>
1354 </tr>
1355</table>
1356<a class="anchor" name="d17" doxytag="G4UIGainServer::SendAParamProperty" ></a><p>
1357<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1358 <tr>
1359 <td class="mdRow">
1360 <table cellpadding="0" cellspacing="0" border="0">
1361 <tr>
1362 <td class="md" nowrap valign="top"> void G4UIGainServer::SendAParamProperty </td>
1363 <td class="md" valign="top">(&nbsp;</td>
1364 <td class="md" nowrap valign="top">G4UIcommand *&nbsp;</td>
1365 <td class="mdname1" valign="top" nowrap> </td>
1366 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1367 <td class="md" nowrap><code> [private]</code></td>
1368 </tr>
1369
1370 </table>
1371 </td>
1372 </tr>
1373</table>
1374<table cellspacing=5 cellpadding=0 border=0>
1375 <tr>
1376 <td>
1377 &nbsp;
1378 </td>
1379 <td>
1380
1381<p>
1382
1383<p>
1384Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1385 </tr>
1386</table>
1387<a class="anchor" name="d18" doxytag="G4UIGainServer::SendATclParamProperty" ></a><p>
1388<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1389 <tr>
1390 <td class="mdRow">
1391 <table cellpadding="0" cellspacing="0" border="0">
1392 <tr>
1393 <td class="md" nowrap valign="top"> void G4UIGainServer::SendATclParamProperty </td>
1394 <td class="md" valign="top">(&nbsp;</td>
1395 <td class="md" nowrap valign="top">G4UIcommand *&nbsp;</td>
1396 <td class="mdname1" valign="top" nowrap> </td>
1397 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1398 <td class="md" nowrap><code> [private]</code></td>
1399 </tr>
1400
1401 </table>
1402 </td>
1403 </tr>
1404</table>
1405<table cellspacing=5 cellpadding=0 border=0>
1406 <tr>
1407 <td>
1408 &nbsp;
1409 </td>
1410 <td>
1411
1412<p>
1413 </td>
1414 </tr>
1415</table>
1416<a class="anchor" name="d15" doxytag="G4UIGainServer::SendCommandProperties" ></a><p>
1417<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1418 <tr>
1419 <td class="mdRow">
1420 <table cellpadding="0" cellspacing="0" border="0">
1421 <tr>
1422 <td class="md" nowrap valign="top"> void G4UIGainServer::SendCommandProperties </td>
1423 <td class="md" valign="top">(&nbsp;</td>
1424 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
1425 <td class="mdname1" valign="top" nowrap> </td>
1426 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1427 <td class="md" nowrap><code> [private]</code></td>
1428 </tr>
1429
1430 </table>
1431 </td>
1432 </tr>
1433</table>
1434<table cellspacing=5 cellpadding=0 border=0>
1435 <tr>
1436 <td>
1437 &nbsp;
1438 </td>
1439 <td>
1440
1441<p>
1442
1443<p>
1444Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1445 </tr>
1446</table>
1447<a class="anchor" name="d23" doxytag="G4UIGainServer::SendDisableList" ></a><p>
1448<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1449 <tr>
1450 <td class="mdRow">
1451 <table cellpadding="0" cellspacing="0" border="0">
1452 <tr>
1453 <td class="md" nowrap valign="top"> void G4UIGainServer::SendDisableList </td>
1454 <td class="md" valign="top">(&nbsp;</td>
1455 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
1456 <td class="mdname" nowrap>, </td>
1457 </tr>
1458 <tr>
1459 <td></td>
1460 <td></td>
1461 <td class="md" nowrap>int&nbsp;</td>
1462 <td class="mdname" nowrap> <em>recursiveLevel</em></td>
1463 </tr>
1464 <tr>
1465 <td></td>
1466 <td class="md">)&nbsp;</td>
1467 <td class="md" colspan="2"><code> [private]</code></td>
1468 </tr>
1469
1470 </table>
1471 </td>
1472 </tr>
1473</table>
1474<table cellspacing=5 cellpadding=0 border=0>
1475 <tr>
1476 <td>
1477 &nbsp;
1478 </td>
1479 <td>
1480
1481<p>
1482
1483<p>
1484Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1485 </tr>
1486</table>
1487<a class="anchor" name="d16" doxytag="G4UIGainServer::SendParameterProperties" ></a><p>
1488<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1489 <tr>
1490 <td class="mdRow">
1491 <table cellpadding="0" cellspacing="0" border="0">
1492 <tr>
1493 <td class="md" nowrap valign="top"> void G4UIGainServer::SendParameterProperties </td>
1494 <td class="md" valign="top">(&nbsp;</td>
1495 <td class="md" nowrap valign="top">G4UIcommandTree *&nbsp;</td>
1496 <td class="mdname1" valign="top" nowrap> </td>
1497 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1498 <td class="md" nowrap><code> [private]</code></td>
1499 </tr>
1500
1501 </table>
1502 </td>
1503 </tr>
1504</table>
1505<table cellspacing=5 cellpadding=0 border=0>
1506 <tr>
1507 <td>
1508 &nbsp;
1509 </td>
1510 <td>
1511
1512<p>
1513
1514<p>
1515Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1516 </tr>
1517</table>
1518<a class="anchor" name="a0" doxytag="G4UIGainServer::SessionStart" ></a><p>
1519<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1520 <tr>
1521 <td class="mdRow">
1522 <table cellpadding="0" cellspacing="0" border="0">
1523 <tr>
1524 <td class="md" nowrap valign="top"> G4UIsession * G4UIGainServer::SessionStart </td>
1525 <td class="md" valign="top">(&nbsp;</td>
1526 <td class="mdname1" valign="top" nowrap> </td>
1527 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1528 <td class="md" nowrap><code> [virtual]</code></td>
1529 </tr>
1530
1531 </table>
1532 </td>
1533 </tr>
1534</table>
1535<table cellspacing=5 cellpadding=0 border=0>
1536 <tr>
1537 <td>
1538 &nbsp;
1539 </td>
1540 <td>
1541
1542<p>
1543
1544<p>
1545Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>.
1546<p>
1547Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00095">95</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1548<p>
1549References <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00078">iExit</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00068">promptCharacter</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>.
1550<p>
1551<div class="fragment"><pre>00097 {
155200098 G4String newCommand;
155300099
155400100 G4StateManager* statM = G4StateManager::GetStateManager();
155500101 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = statM-&gt;GetStateString(statM-&gt;GetCurrentState());
155600102
155700103 <a class="code" href="classG4UIGainServer.html#r6">iExit</a>= TRUE;
155800104
155900105 <a class="code" href="classG4UIGainServer.html#d6">WaitingConnection</a>();
156000106 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#r6">iExit</a>){
156100107 newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
156200108 <a class="code" href="classG4UIGainServer.html#d2">ExecuteCommand</a>(newCommand);
156300109 }
156400110 <span class="keywordflow">return</span> NULL;
156500111 }
1566</pre></div> </td>
1567 </tr>
1568</table>
1569
1570<p>
1571Here is the call graph for this function:<p><center><img src="classG4UIGainServer_a0_cgraph.png" border="0" usemap="#classG4UIGainServer_a0_cgraph_map" alt=""></center>
1572<map name="classG4UIGainServer_a0_cgraph_map">
1573<area href="classG4UIGainServer.html#d2" shape="rect" coords="262,8,499,34" alt="">
1574<area href="classG4UIGainServer.html#a8" shape="rect" coords="275,58,486,85" alt="">
1575<area href="classG4UIGainServer.html#d6" shape="rect" coords="261,109,501,136" alt="">
1576</map>
1577<a class="anchor" name="a6" doxytag="G4UIGainServer::SessionTerminate" ></a><p>
1578<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1579 <tr>
1580 <td class="mdRow">
1581 <table cellpadding="0" cellspacing="0" border="0">
1582 <tr>
1583 <td class="md" nowrap valign="top"> void G4UIGainServer::SessionTerminate </td>
1584 <td class="md" valign="top">(&nbsp;</td>
1585 <td class="mdname1" valign="top" nowrap> </td>
1586 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1587 <td class="md" nowrap></td>
1588 </tr>
1589
1590 </table>
1591 </td>
1592 </tr>
1593</table>
1594<table cellspacing=5 cellpadding=0 border=0>
1595 <tr>
1596 <td>
1597 &nbsp;
1598 </td>
1599 <td>
1600
1601<p>
1602
1603<p>
1604Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1605 </tr>
1606</table>
1607<a class="anchor" name="d5" doxytag="G4UIGainServer::SetUPServer" ></a><p>
1608<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1609 <tr>
1610 <td class="mdRow">
1611 <table cellpadding="0" cellspacing="0" border="0">
1612 <tr>
1613 <td class="md" nowrap valign="top"> bool G4UIGainServer::SetUPServer </td>
1614 <td class="md" valign="top">(&nbsp;</td>
1615 <td class="mdname1" valign="top" nowrap> </td>
1616 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1617 <td class="md" nowrap><code> [private]</code></td>
1618 </tr>
1619
1620 </table>
1621 </td>
1622 </tr>
1623</table>
1624<table cellspacing=5 cellpadding=0 border=0>
1625 <tr>
1626 <td>
1627 &nbsp;
1628 </td>
1629 <td>
1630
1631<p>
1632
1633<p>
1634Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00370">370</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1635<p>
1636References <a class="el" href="G4UIGainServer_8hh-source.html#l00083">port</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00084">saddr</a>, and <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
1637<p>
1638Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>.
1639<p>
1640<div class="fragment"><pre>00370 {
164100372
164200373 <a class="code" href="classG4UIGainServer.html#r8">socketD</a>[0] = socket(AF_INET,SOCK_STREAM,0);
164300374
164400375 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[0]&lt;0){
164500376 perror(<span class="stringliteral">"server:socket"</span>);
164600377 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
164700378 <span class="comment">//exit(1);</span>
164800379 }
164900380
165000381 memset( (<span class="keywordtype">char</span> *)&amp;saddr,<span class="charliteral">'\0'</span>,<span class="keyword">sizeof</span>(saddr)) ;
165100382
165200383 saddr.sin_family = AF_INET;
165300384 saddr.sin_addr.s_addr = INADDR_ANY;
165400385 saddr.sin_port = htons(port);
165500386 unlink(SOCK_NAME);
165600387
165700388 <span class="keywordflow">if</span>(bind(socketD[0] , (<span class="keyword">struct</span> sockaddr *)&amp;saddr , <span class="keyword">sizeof</span>(saddr))&lt;0){
165800389 perror(<span class="stringliteral">"bind"</span>);
165900390 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
166000391 <span class="comment">//exit(1);</span>
166100392 }
166200393 <span class="keywordflow">else</span>{ G4cout&lt;&lt;<span class="stringliteral">"G4GainServer waiting at "</span>&lt;&lt;<a class="code" href="classG4UIGainServer.html#r9">port</a>&lt;&lt;G4endl; }
166300394
166400395 <span class="keywordflow">if</span>(listen(socketD[0],1)&lt;0){
166500396 perror(<span class="stringliteral">"listen"</span>);
166600397 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
166700398 <span class="comment">//exit(1);</span>
166800399 }
166900400
167000401 <span class="keywordflow">return</span> (<span class="keyword">true</span>);
167100402 }
1672</pre></div> </td>
1673 </tr>
1674</table>
1675<a class="anchor" name="d13" doxytag="G4UIGainServer::ShowCurrent" ></a><p>
1676<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1677 <tr>
1678 <td class="mdRow">
1679 <table cellpadding="0" cellspacing="0" border="0">
1680 <tr>
1681 <td class="md" nowrap valign="top"> void G4UIGainServer::ShowCurrent </td>
1682 <td class="md" valign="top">(&nbsp;</td>
1683 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1684 <td class="mdname1" valign="top" nowrap> </td>
1685 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1686 <td class="md" nowrap><code> [private]</code></td>
1687 </tr>
1688
1689 </table>
1690 </td>
1691 </tr>
1692</table>
1693<table cellspacing=5 cellpadding=0 border=0>
1694 <tr>
1695 <td>
1696 &nbsp;
1697 </td>
1698 <td>
1699
1700<p>
1701
1702<p>
1703Reimplemented from <a class="el" href="classG4VBasicShell.html#b11">G4VBasicShell</a>.
1704<p>
1705Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1706 </tr>
1707</table>
1708<a class="anchor" name="d10" doxytag="G4UIGainServer::TerminalHelp" ></a><p>
1709<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1710 <tr>
1711 <td class="mdRow">
1712 <table cellpadding="0" cellspacing="0" border="0">
1713 <tr>
1714 <td class="md" nowrap valign="top"> void G4UIGainServer::TerminalHelp </td>
1715 <td class="md" valign="top">(&nbsp;</td>
1716 <td class="md" nowrap valign="top">G4String&nbsp;</td>
1717 <td class="mdname1" valign="top" nowrap> </td>
1718 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1719 <td class="md" nowrap><code> [private]</code></td>
1720 </tr>
1721
1722 </table>
1723 </td>
1724 </tr>
1725</table>
1726<table cellspacing=5 cellpadding=0 border=0>
1727 <tr>
1728 <td>
1729 &nbsp;
1730 </td>
1731 <td>
1732
1733<p>
1734
1735<p>
1736Reimplemented from <a class="el" href="classG4VBasicShell.html#b14">G4VBasicShell</a>.
1737<p>
1738Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1739 </tr>
1740</table>
1741<a class="anchor" name="d29" doxytag="G4UIGainServer::UpdateParamVal" ></a><p>
1742<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1743 <tr>
1744 <td class="mdRow">
1745 <table cellpadding="0" cellspacing="0" border="0">
1746 <tr>
1747 <td class="md" nowrap valign="top"> void G4UIGainServer::UpdateParamVal </td>
1748 <td class="md" valign="top">(&nbsp;</td>
1749 <td class="md" nowrap valign="top">void&nbsp;</td>
1750 <td class="mdname1" valign="top" nowrap> </td>
1751 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1752 <td class="md" nowrap><code> [private]</code></td>
1753 </tr>
1754
1755 </table>
1756 </td>
1757 </tr>
1758</table>
1759<table cellspacing=5 cellpadding=0 border=0>
1760 <tr>
1761 <td>
1762 &nbsp;
1763 </td>
1764 <td>
1765
1766<p>
1767
1768<p>
1769Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1770 </tr>
1771</table>
1772<a class="anchor" name="d28" doxytag="G4UIGainServer::UpdateState" ></a><p>
1773<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1774 <tr>
1775 <td class="mdRow">
1776 <table cellpadding="0" cellspacing="0" border="0">
1777 <tr>
1778 <td class="md" nowrap valign="top"> void G4UIGainServer::UpdateState </td>
1779 <td class="md" valign="top">(&nbsp;</td>
1780 <td class="md" nowrap valign="top">void&nbsp;</td>
1781 <td class="mdname1" valign="top" nowrap> </td>
1782 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1783 <td class="md" nowrap><code> [private]</code></td>
1784 </tr>
1785
1786 </table>
1787 </td>
1788 </tr>
1789</table>
1790<table cellspacing=5 cellpadding=0 border=0>
1791 <tr>
1792 <td>
1793 &nbsp;
1794 </td>
1795 <td>
1796
1797<p>
1798
1799<p>
1800Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1801 </tr>
1802</table>
1803<a class="anchor" name="d6" doxytag="G4UIGainServer::WaitingConnection" ></a><p>
1804<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1805 <tr>
1806 <td class="mdRow">
1807 <table cellpadding="0" cellspacing="0" border="0">
1808 <tr>
1809 <td class="md" nowrap valign="top"> void G4UIGainServer::WaitingConnection </td>
1810 <td class="md" valign="top">(&nbsp;</td>
1811 <td class="mdname1" valign="top" nowrap> </td>
1812 <td class="md" valign="top">&nbsp;)&nbsp;</td>
1813 <td class="md" nowrap><code> [private]</code></td>
1814 </tr>
1815
1816 </table>
1817 </td>
1818 </tr>
1819</table>
1820<table cellspacing=5 cellpadding=0 border=0>
1821 <tr>
1822 <td>
1823 &nbsp;
1824 </td>
1825 <td>
1826
1827<p>
1828
1829<p>
1830Definition at line <a class="el" href="G4UIGainServer_8cc-source.html#l00405">405</a> of file <a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a>.
1831<p>
1832References <a class="el" href="G4UIGAG_8hh.html#a8a4">added</a>, <a class="el" href="G4UIGAG_8hh.html#a8a6">addedAndDeleted</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00085">caddr</a>, <a class="el" href="classG4UIGainServer.html#d8">ChangeDirectory()</a>, <a class="el" href="classG4UIGainServer.html#d20">CodeGenJavaParams()</a>, <a class="el" href="classG4UIGainServer.html#d19">CodeGenJavaTree()</a>, <a class="el" href="classG4UIGainServer.html#d27">CommandUpdated()</a>, <a class="el" href="G4UIGAG_8hh.html#a8a5">deleted</a>, <a class="el" href="classG4UIGainServer.html#d12">FindDirPath()</a>, <a class="el" href="classG4UIGainServer.html#d14">GetFullPath()</a>, <a class="el" href="classG4UIGainServer.html#d0">GetNewTreeStructure()</a>, <a class="el" href="classG4UIGainServer.html#d1">GetNewTreeValues()</a>, <a class="el" href="G4UIGAG_8hh.html#a7a1">java_mode</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00086">len</a>, <a class="el" href="classG4UIGainServer.html#d9">ListDirectory()</a>, <a class="el" href="classG4UIGainServer.html#d11">ModifyPrefix()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00095">newTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00097">newTreeParams</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00099">newTreePCP</a>, <a class="el" href="G4UIGAG_8hh.html#a8a3">notChanged</a>, <a class="el" href="classG4UIGainServer.html#d25">NotifyCommandUpdate()</a>, <a class="el" href="classG4UIGainServer.html#d26">NotifyParameterUpdate()</a>, <a class="el" href="classG4UIGainServer.html#d24">NotifyStateChange()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00067">prefix</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00094">previousTreeCommands</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00096">previousTreeParams</a>, <a class="el" href="classG4UIGainServer.html#d17">SendAParamProperty()</a>, <a class="el" href="classG4UIGainServer.html#d15">SendCommandProperties()</a>, <a class="el" href="classG4UIGainServer.html#d23">SendDisableList()</a>, <a class="el" href="classG4UIGainServer.html#d16">SendParameterProperties()</a>, <a class="el" href="classG4UIGainServer.html#a6">SessionTerminate()</a>, <a class="el" href="classG4UIGainServer.html#d13">ShowCurrent()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>, <a class="el" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>, <a class="el" href="classG4UIGainServer.html#d10">TerminalHelp()</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>, <a class="el" href="G4UIGainServer_8hh-source.html#l00070">uiMode</a>, <a class="el" href="classG4UIGainServer.html#d29">UpdateParamVal()</a>, and <a class="el" href="classG4UIGainServer.html#d28">UpdateState()</a>.
1833<p>
1834Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>. </td>
1835 </tr>
1836</table>
1837
1838<p>
1839Here is the call graph for this function:<p><center><img src="classG4UIGainServer_d6_cgraph.png" border="0" usemap="#classG4UIGainServer_d6_cgraph_map" alt=""></center>
1840<map name="classG4UIGainServer_d6_cgraph_map">
1841<area href="classG4UIGainServer.html#d8" shape="rect" coords="324,8,550,34" alt="">
1842<area href="classG4UIGainServer.html#d20" shape="rect" coords="309,58,565,85" alt="">
1843<area href="classG4UIGainServer.html#d19" shape="rect" coords="318,109,556,136" alt="">
1844<area href="classG4UIGainServer.html#d27" shape="rect" coords="318,160,556,186" alt="">
1845<area href="classG4UIGainServer.html#d12" shape="rect" coords="338,210,536,237" alt="">
1846<area href="classG4UIGainServer.html#d14" shape="rect" coords="338,261,536,288" alt="">
1847<area href="classG4UIGainServer.html#d0" shape="rect" coords="309,312,565,338" alt="">
1848<area href="classG4UIGainServer.html#d1" shape="rect" coords="317,362,557,389" alt="">
1849<area href="classG4UIGainServer.html#d9" shape="rect" coords="336,413,538,440" alt="">
1850<area href="classG4UIGainServer.html#d11" shape="rect" coords="337,464,537,490" alt="">
1851<area href="classG4UIGainServer.html#d25" shape="rect" coords="305,514,569,541" alt="">
1852<area href="classG4UIGainServer.html#d26" shape="rect" coords="305,565,569,592" alt="">
1853<area href="classG4UIGainServer.html#d24" shape="rect" coords="318,616,556,642" alt="">
1854<area href="classG4UIGainServer.html#d17" shape="rect" coords="309,666,565,693" alt="">
1855<area href="classG4UIGainServer.html#d15" shape="rect" coords="297,717,577,744" alt="">
1856<area href="classG4UIGainServer.html#d23" shape="rect" coords="325,768,549,794" alt="">
1857<area href="classG4UIGainServer.html#d16" shape="rect" coords="297,818,577,845" alt="">
1858<area href="classG4UIGainServer.html#a6" shape="rect" coords="321,869,553,896" alt="">
1859<area href="classG4UIGainServer.html#d13" shape="rect" coords="334,920,540,946" alt="">
1860<area href="classG4UIGainServer.html#d10" shape="rect" coords="334,970,540,997" alt="">
1861<area href="classG4UIGainServer.html#d29" shape="rect" coords="324,1021,550,1048" alt="">
1862<area href="classG4UIGainServer.html#d28" shape="rect" coords="337,1072,537,1098" alt="">
1863</map>
1864<hr><h2>Member Data Documentation</h2>
1865<a class="anchor" name="r14" doxytag="G4UIGainServer::buf" ></a><p>
1866<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1867 <tr>
1868 <td class="mdRow">
1869 <table cellpadding="0" cellspacing="0" border="0">
1870 <tr>
1871 <td class="md" nowrap valign="top"> char <a class="el" href="classG4UIGainServer.html#r14">G4UIGainServer::buf</a>[1024]<code> [private]</code>
1872 </table>
1873 </td>
1874 </tr>
1875</table>
1876<table cellspacing=5 cellpadding=0 border=0>
1877 <tr>
1878 <td>
1879 &nbsp;
1880 </td>
1881 <td>
1882
1883<p>
1884
1885<p>
1886Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00088">88</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
1887<p>
1888Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>. </td>
1889 </tr>
1890</table>
1891<a class="anchor" name="r11" doxytag="G4UIGainServer::caddr" ></a><p>
1892<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1893 <tr>
1894 <td class="mdRow">
1895 <table cellpadding="0" cellspacing="0" border="0">
1896 <tr>
1897 <td class="md" nowrap valign="top"> struct sockaddr_in <a class="el" href="classG4UIGainServer.html#r11">G4UIGainServer::caddr</a><code> [private]</code>
1898 </table>
1899 </td>
1900 </tr>
1901</table>
1902<table cellspacing=5 cellpadding=0 border=0>
1903 <tr>
1904 <td>
1905 &nbsp;
1906 </td>
1907 <td>
1908
1909<p>
1910
1911<p>
1912Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00085">85</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
1913<p>
1914Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
1915 </tr>
1916</table>
1917<a class="anchor" name="r7" doxytag="G4UIGainServer::iCont" ></a><p>
1918<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1919 <tr>
1920 <td class="mdRow">
1921 <table cellpadding="0" cellspacing="0" border="0">
1922 <tr>
1923 <td class="md" nowrap valign="top"> G4bool <a class="el" href="classG4UIGainServer.html#r7">G4UIGainServer::iCont</a><code> [private]</code>
1924 </table>
1925 </td>
1926 </tr>
1927</table>
1928<table cellspacing=5 cellpadding=0 border=0>
1929 <tr>
1930 <td>
1931 &nbsp;
1932 </td>
1933 <td>
1934
1935<p>
1936
1937<p>
1938Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00079">79</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
1939<p>
1940Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>. </td>
1941 </tr>
1942</table>
1943<a class="anchor" name="r6" doxytag="G4UIGainServer::iExit" ></a><p>
1944<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1945 <tr>
1946 <td class="mdRow">
1947 <table cellpadding="0" cellspacing="0" border="0">
1948 <tr>
1949 <td class="md" nowrap valign="top"> G4bool <a class="el" href="classG4UIGainServer.html#r6">G4UIGainServer::iExit</a><code> [private]</code>
1950 </table>
1951 </td>
1952 </tr>
1953</table>
1954<table cellspacing=5 cellpadding=0 border=0>
1955 <tr>
1956 <td>
1957 &nbsp;
1958 </td>
1959 <td>
1960
1961<p>
1962
1963<p>
1964Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00078">78</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
1965<p>
1966Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>. </td>
1967 </tr>
1968</table>
1969<a class="anchor" name="r4" doxytag="G4UIGainServer::JVersion" ></a><p>
1970<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1971 <tr>
1972 <td class="mdRow">
1973 <table cellpadding="0" cellspacing="0" border="0">
1974 <tr>
1975 <td class="md" nowrap valign="top"> G4String <a class="el" href="classG4UIGainServer.html#r4">G4UIGainServer::JVersion</a><code> [private]</code>
1976 </table>
1977 </td>
1978 </tr>
1979</table>
1980<table cellspacing=5 cellpadding=0 border=0>
1981 <tr>
1982 <td>
1983 &nbsp;
1984 </td>
1985 <td>
1986
1987<p>
1988
1989<p>
1990Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00071">71</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
1991<p>
1992Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>. </td>
1993 </tr>
1994</table>
1995<a class="anchor" name="r12" doxytag="G4UIGainServer::len" ></a><p>
1996<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
1997 <tr>
1998 <td class="mdRow">
1999 <table cellpadding="0" cellspacing="0" border="0">
2000 <tr>
2001 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIGainServer.html#r12">G4UIGainServer::len</a><code> [private]</code>
2002 </table>
2003 </td>
2004 </tr>
2005</table>
2006<table cellspacing=5 cellpadding=0 border=0>
2007 <tr>
2008 <td>
2009 &nbsp;
2010 </td>
2011 <td>
2012
2013<p>
2014
2015<p>
2016Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00086">86</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2017<p>
2018Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2019 </tr>
2020</table>
2021<a class="anchor" name="r16" doxytag="G4UIGainServer::newTreeCommands" ></a><p>
2022<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2023 <tr>
2024 <td class="mdRow">
2025 <table cellpadding="0" cellspacing="0" border="0">
2026 <tr>
2027 <td class="md" nowrap valign="top"> std::vector&lt;G4String&gt; <a class="el" href="classG4UIGainServer.html#r16">G4UIGainServer::newTreeCommands</a><code> [private]</code>
2028 </table>
2029 </td>
2030 </tr>
2031</table>
2032<table cellspacing=5 cellpadding=0 border=0>
2033 <tr>
2034 <td>
2035 &nbsp;
2036 </td>
2037 <td>
2038
2039<p>
2040
2041<p>
2042Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00095">95</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2043<p>
2044Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2045 </tr>
2046</table>
2047<a class="anchor" name="r18" doxytag="G4UIGainServer::newTreeParams" ></a><p>
2048<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2049 <tr>
2050 <td class="mdRow">
2051 <table cellpadding="0" cellspacing="0" border="0">
2052 <tr>
2053 <td class="md" nowrap valign="top"> std::vector&lt;G4String&gt; <a class="el" href="classG4UIGainServer.html#r18">G4UIGainServer::newTreeParams</a><code> [private]</code>
2054 </table>
2055 </td>
2056 </tr>
2057</table>
2058<table cellspacing=5 cellpadding=0 border=0>
2059 <tr>
2060 <td>
2061 &nbsp;
2062 </td>
2063 <td>
2064
2065<p>
2066
2067<p>
2068Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00097">97</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2069<p>
2070Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2071 </tr>
2072</table>
2073<a class="anchor" name="r20" doxytag="G4UIGainServer::newTreePCP" ></a><p>
2074<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2075 <tr>
2076 <td class="mdRow">
2077 <table cellpadding="0" cellspacing="0" border="0">
2078 <tr>
2079 <td class="md" nowrap valign="top"> std::vector&lt;G4UIcommand*&gt; <a class="el" href="classG4UIGainServer.html#r20">G4UIGainServer::newTreePCP</a><code> [private]</code>
2080 </table>
2081 </td>
2082 </tr>
2083</table>
2084<table cellspacing=5 cellpadding=0 border=0>
2085 <tr>
2086 <td>
2087 &nbsp;
2088 </td>
2089 <td>
2090
2091<p>
2092
2093<p>
2094Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00099">99</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2095<p>
2096Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2097 </tr>
2098</table>
2099<a class="anchor" name="r9" doxytag="G4UIGainServer::port" ></a><p>
2100<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2101 <tr>
2102 <td class="mdRow">
2103 <table cellpadding="0" cellspacing="0" border="0">
2104 <tr>
2105 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIGainServer.html#r9">G4UIGainServer::port</a><code> [private]</code>
2106 </table>
2107 </td>
2108 </tr>
2109</table>
2110<table cellspacing=5 cellpadding=0 border=0>
2111 <tr>
2112 <td>
2113 &nbsp;
2114 </td>
2115 <td>
2116
2117<p>
2118
2119<p>
2120Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00083">83</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2121<p>
2122Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00370">SetUPServer()</a>. </td>
2123 </tr>
2124</table>
2125<a class="anchor" name="r0" doxytag="G4UIGainServer::prefix" ></a><p>
2126<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2127 <tr>
2128 <td class="mdRow">
2129 <table cellpadding="0" cellspacing="0" border="0">
2130 <tr>
2131 <td class="md" nowrap valign="top"> G4String <a class="el" href="classG4UIGainServer.html#r0">G4UIGainServer::prefix</a><code> [private]</code>
2132 </table>
2133 </td>
2134 </tr>
2135</table>
2136<table cellspacing=5 cellpadding=0 border=0>
2137 <tr>
2138 <td>
2139 &nbsp;
2140 </td>
2141 <td>
2142
2143<p>
2144
2145<p>
2146Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00067">67</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2147<p>
2148Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2149 </tr>
2150</table>
2151<a class="anchor" name="r15" doxytag="G4UIGainServer::previousTreeCommands" ></a><p>
2152<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2153 <tr>
2154 <td class="mdRow">
2155 <table cellpadding="0" cellspacing="0" border="0">
2156 <tr>
2157 <td class="md" nowrap valign="top"> std::vector&lt;G4String&gt; <a class="el" href="classG4UIGainServer.html#r15">G4UIGainServer::previousTreeCommands</a><code> [private]</code>
2158 </table>
2159 </td>
2160 </tr>
2161</table>
2162<table cellspacing=5 cellpadding=0 border=0>
2163 <tr>
2164 <td>
2165 &nbsp;
2166 </td>
2167 <td>
2168
2169<p>
2170
2171<p>
2172Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00094">94</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2173<p>
2174Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2175 </tr>
2176</table>
2177<a class="anchor" name="r17" doxytag="G4UIGainServer::previousTreeParams" ></a><p>
2178<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2179 <tr>
2180 <td class="mdRow">
2181 <table cellpadding="0" cellspacing="0" border="0">
2182 <tr>
2183 <td class="md" nowrap valign="top"> std::vector&lt;G4String&gt; <a class="el" href="classG4UIGainServer.html#r17">G4UIGainServer::previousTreeParams</a><code> [private]</code>
2184 </table>
2185 </td>
2186 </tr>
2187</table>
2188<table cellspacing=5 cellpadding=0 border=0>
2189 <tr>
2190 <td>
2191 &nbsp;
2192 </td>
2193 <td>
2194
2195<p>
2196
2197<p>
2198Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00096">96</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2199<p>
2200Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2201 </tr>
2202</table>
2203<a class="anchor" name="r19" doxytag="G4UIGainServer::previousTreePCP" ></a><p>
2204<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2205 <tr>
2206 <td class="mdRow">
2207 <table cellpadding="0" cellspacing="0" border="0">
2208 <tr>
2209 <td class="md" nowrap valign="top"> std::vector&lt;G4UIcommand*&gt; <a class="el" href="classG4UIGainServer.html#r19">G4UIGainServer::previousTreePCP</a><code> [private]</code>
2210 </table>
2211 </td>
2212 </tr>
2213</table>
2214<table cellspacing=5 cellpadding=0 border=0>
2215 <tr>
2216 <td>
2217 &nbsp;
2218 </td>
2219 <td>
2220
2221<p>
2222
2223<p>
2224Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00098">98</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2225<p>
2226Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>. </td>
2227 </tr>
2228</table>
2229<a class="anchor" name="r1" doxytag="G4UIGainServer::promptCharacter" ></a><p>
2230<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2231 <tr>
2232 <td class="mdRow">
2233 <table cellpadding="0" cellspacing="0" border="0">
2234 <tr>
2235 <td class="md" nowrap valign="top"> G4String <a class="el" href="classG4UIGainServer.html#r1">G4UIGainServer::promptCharacter</a><code> [private]</code>
2236 </table>
2237 </td>
2238 </tr>
2239</table>
2240<table cellspacing=5 cellpadding=0 border=0>
2241 <tr>
2242 <td>
2243 &nbsp;
2244 </td>
2245 <td>
2246
2247<p>
2248
2249<p>
2250Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00068">68</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2251<p>
2252Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>. </td>
2253 </tr>
2254</table>
2255<a class="anchor" name="r13" doxytag="G4UIGainServer::ret" ></a><p>
2256<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2257 <tr>
2258 <td class="mdRow">
2259 <table cellpadding="0" cellspacing="0" border="0">
2260 <tr>
2261 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIGainServer.html#r13">G4UIGainServer::ret</a><code> [private]</code>
2262 </table>
2263 </td>
2264 </tr>
2265</table>
2266<table cellspacing=5 cellpadding=0 border=0>
2267 <tr>
2268 <td>
2269 &nbsp;
2270 </td>
2271 <td>
2272
2273<p>
2274
2275<p>
2276Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00087">87</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>. </td>
2277 </tr>
2278</table>
2279<a class="anchor" name="r10" doxytag="G4UIGainServer::saddr" ></a><p>
2280<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2281 <tr>
2282 <td class="mdRow">
2283 <table cellpadding="0" cellspacing="0" border="0">
2284 <tr>
2285 <td class="md" nowrap valign="top"> struct sockaddr_in <a class="el" href="classG4UIGainServer.html#r10">G4UIGainServer::saddr</a><code> [private]</code>
2286 </table>
2287 </td>
2288 </tr>
2289</table>
2290<table cellspacing=5 cellpadding=0 border=0>
2291 <tr>
2292 <td>
2293 &nbsp;
2294 </td>
2295 <td>
2296
2297<p>
2298
2299<p>
2300Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00084">84</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2301<p>
2302Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00370">SetUPServer()</a>. </td>
2303 </tr>
2304</table>
2305<a class="anchor" name="r8" doxytag="G4UIGainServer::socketD" ></a><p>
2306<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2307 <tr>
2308 <td class="mdRow">
2309 <table cellpadding="0" cellspacing="0" border="0">
2310 <tr>
2311 <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIGainServer.html#r8">G4UIGainServer::socketD</a>[3]<code> [private]</code>
2312 </table>
2313 </td>
2314 </tr>
2315</table>
2316<table cellspacing=5 cellpadding=0 border=0>
2317 <tr>
2318 <td>
2319 &nbsp;
2320 </td>
2321 <td>
2322
2323<p>
2324
2325<p>
2326Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00082">82</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2327<p>
2328Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00114">PauseSessionStart()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00334">ReceiveG4cerr()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00315">ReceiveG4cout()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00370">SetUPServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2329 </tr>
2330</table>
2331<a class="anchor" name="r5" doxytag="G4UIGainServer::TVersion" ></a><p>
2332<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2333 <tr>
2334 <td class="mdRow">
2335 <table cellpadding="0" cellspacing="0" border="0">
2336 <tr>
2337 <td class="md" nowrap valign="top"> G4String <a class="el" href="classG4UIGainServer.html#r5">G4UIGainServer::TVersion</a><code> [private]</code>
2338 </table>
2339 </td>
2340 </tr>
2341</table>
2342<table cellspacing=5 cellpadding=0 border=0>
2343 <tr>
2344 <td>
2345 &nbsp;
2346 </td>
2347 <td>
2348
2349<p>
2350
2351<p>
2352Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00072">72</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2353<p>
2354Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>. </td>
2355 </tr>
2356</table>
2357<a class="anchor" name="r2" doxytag="G4UIGainServer::UI" ></a><p>
2358<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2359 <tr>
2360 <td class="mdRow">
2361 <table cellpadding="0" cellspacing="0" border="0">
2362 <tr>
2363 <td class="md" nowrap valign="top"> G4UImanager* <a class="el" href="classG4UIGainServer.html#r2">G4UIGainServer::UI</a><code> [private]</code>
2364 </table>
2365 </td>
2366 </tr>
2367</table>
2368<table cellspacing=5 cellpadding=0 border=0>
2369 <tr>
2370 <td>
2371 &nbsp;
2372 </td>
2373 <td>
2374
2375<p>
2376
2377<p>
2378Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00069">69</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2379<p>
2380Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00078">~G4UIGainServer()</a>. </td>
2381 </tr>
2382</table>
2383<a class="anchor" name="r3" doxytag="G4UIGainServer::uiMode" ></a><p>
2384<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
2385 <tr>
2386 <td class="mdRow">
2387 <table cellpadding="0" cellspacing="0" border="0">
2388 <tr>
2389 <td class="md" nowrap valign="top"> <a class="el" href="G4UIGainServer_8hh.html#a7">UImode</a> <a class="el" href="classG4UIGainServer.html#r3">G4UIGainServer::uiMode</a><code> [private]</code>
2390 </table>
2391 </td>
2392 </tr>
2393</table>
2394<table cellspacing=5 cellpadding=0 border=0>
2395 <tr>
2396 <td>
2397 &nbsp;
2398 </td>
2399 <td>
2400
2401<p>
2402
2403<p>
2404Definition at line <a class="el" href="G4UIGainServer_8hh-source.html#l00070">70</a> of file <a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>.
2405<p>
2406Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00132">ExecuteCommand()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>, <a class="el" href="G4UIGainServer_8cc-source.html#l00184">GetCommand()</a>, and <a class="el" href="G4UIGainServer_8cc-source.html#l00405">WaitingConnection()</a>. </td>
2407 </tr>
2408</table>
2409<hr>The documentation for this class was generated from the following files:<ul>
2410<li><a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a><li><a class="el" href="G4UIGainServer_8cc-source.html">G4UIGainServer.cc</a></ul>
2411<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:23 2007 by
2412<a href="http://www.doxygen.org/index.html">
2413<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
2414</a>1.3.4 </small></address>
2415</body>
2416</html>
Note: See TracBrowser for help on using the repository browser.