| [571] | 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 Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
|
|---|
| 8 | <h1>G4UIGainServer Class Reference</h1><code>#include <<a class="el" href="G4UIGainServer_8hh-source.html">G4UIGainServer.hh</a>></code>
|
|---|
| 9 | <p>
|
|---|
| 10 | Inheritance 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 * </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 </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 </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 </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> </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> </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 </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 </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 </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 </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 </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 </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 </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#d3">GetHelpChoice</a> (G4int &aInt)</td></tr>
|
|---|
| 47 |
|
|---|
| 48 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </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 </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 </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 </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 </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 </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 </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 </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 * </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 * </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> </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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 </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< G4String > </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< G4String > </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< G4String > </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< G4String > </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< G4UIcommand * > </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< G4UIcommand * > </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIGainServer.html#r20">newTreePCP</a></td></tr>
|
|---|
| 142 |
|
|---|
| 143 | </table>
|
|---|
| 144 | <hr><h2>Constructor & 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">( </td>
|
|---|
| 153 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 154 | <td class="md" valign="top"> ) </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 |
|
|---|
| 166 | </td>
|
|---|
| 167 | <td>
|
|---|
| 168 |
|
|---|
| 169 | <p>
|
|---|
| 170 |
|
|---|
| 171 | <p>
|
|---|
| 172 | Definition 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>
|
|---|
| 174 | References <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 {
|
|---|
| 177 | 00047 <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>;
|
|---|
| 178 | 00048 <a class="code" href="classG4UIGainServer.html#r0">prefix</a> = <span class="stringliteral">"/"</span>;
|
|---|
| 179 | 00049
|
|---|
| 180 | 00050 <a class="code" href="classG4UIGainServer.html#r9">port</a> = DEFAULT_PORT;
|
|---|
| 181 | 00051 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#d5">SetUPServer</a>() == <span class="keyword">false</span>){
|
|---|
| 182 | 00052 G4cout<<<span class="stringliteral">"can't get the port no. "</span><<<a class="code" href="classG4UIGainServer.html#r9">port</a><<<span class="stringliteral">" Now, try to get the next port "</span><<<a class="code" href="classG4UIGainServer.html#r9">port</a>+1<<G4endl;
|
|---|
| 183 | 00053 <a class="code" href="classG4UIGainServer.html#r9">port</a>++;
|
|---|
| 184 | 00054 }
|
|---|
| 185 | 00055
|
|---|
| 186 | 00056
|
|---|
| 187 | 00057 <a class="code" href="classG4UIGainServer.html#r2">UI</a>= G4UImanager::GetUIpointer();
|
|---|
| 188 | 00058 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-> SetSession(<span class="keyword">this</span>);
|
|---|
| 189 | 00059 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-> SetCoutDestination(<span class="keyword">this</span>);
|
|---|
| 190 | 00060
|
|---|
| 191 | 00061 G4StateManager* statM = G4StateManager::GetStateManager();
|
|---|
| 192 | 00062 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = statM->GetStateString(statM->GetCurrentState());
|
|---|
| 193 | 00063 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a0">terminal_mode</a>;
|
|---|
| 194 | 00064
|
|---|
| 195 | 00065 <a class="code" href="classG4UIGainServer.html#r6">iExit</a>= FALSE;
|
|---|
| 196 | 00066 <a class="code" href="classG4UIGainServer.html#r7">iCont</a>= FALSE;
|
|---|
| 197 | 00067
|
|---|
| 198 | 00068 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetTree();
|
|---|
| 199 | 00069 <a class="code" href="classG4UIGainServer.html#d0">GetNewTreeStructure</a>(tree,0);
|
|---|
| 200 | 00070 <a class="code" href="classG4UIGainServer.html#d1">GetNewTreeValues</a>(tree,0);
|
|---|
| 201 | 00071 <a class="code" href="classG4UIGainServer.html#r15">previousTreeCommands</a> = <a class="code" href="classG4UIGainServer.html#r16">newTreeCommands</a>;
|
|---|
| 202 | 00072 <a class="code" href="classG4UIGainServer.html#r17">previousTreeParams</a> = <a class="code" href="classG4UIGainServer.html#r18">newTreeParams</a>;
|
|---|
| 203 | 00073 <a class="code" href="classG4UIGainServer.html#r19">previousTreePCP</a> = <a class="code" href="classG4UIGainServer.html#r20">newTreePCP</a>;
|
|---|
| 204 | 00074
|
|---|
| 205 | 00075 }
|
|---|
| 206 | </pre></div> </td>
|
|---|
| 207 | </tr>
|
|---|
| 208 | </table>
|
|---|
| 209 |
|
|---|
| 210 | <p>
|
|---|
| 211 | Here 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">( </td>
|
|---|
| 225 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 226 | <td class="md" valign="top"> ) </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 |
|
|---|
| 238 | </td>
|
|---|
| 239 | <td>
|
|---|
| 240 |
|
|---|
| 241 | <p>
|
|---|
| 242 |
|
|---|
| 243 | <p>
|
|---|
| 244 | Definition 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>
|
|---|
| 246 | References <a class="el" href="G4UIGainServer_8hh-source.html#l00069">UI</a>.
|
|---|
| 247 | <p>
|
|---|
| 248 | <div class="fragment"><pre>00080 {
|
|---|
| 249 | 00081
|
|---|
| 250 | 00082 <span class="keywordflow">if</span>(G4UImanager::GetUIpointer()) {
|
|---|
| 251 | 00083 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-> SetSession(NULL);
|
|---|
| 252 | 00084 <a class="code" href="classG4UIGainServer.html#r2">UI</a>-> SetCoutDestination(NULL);
|
|---|
| 253 | 00085 }
|
|---|
| 254 | 00086
|
|---|
| 255 | 00087 <span class="keywordflow">if</span>(G4UImanager::GetUIpointer()!=0){
|
|---|
| 256 | 00088 <a class="code" href="classG4UIGainServer.html#r2">UI</a>->SetSession(NULL);
|
|---|
| 257 | 00089 <a class="code" href="classG4UIGainServer.html#r2">UI</a>->SetCoutDestination(NULL);
|
|---|
| 258 | 00090 }
|
|---|
| 259 | 00091 }
|
|---|
| 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">( </td>
|
|---|
| 272 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 273 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 274 | <td class="md" valign="top"> ) </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 |
|
|---|
| 286 | </td>
|
|---|
| 287 | <td>
|
|---|
| 288 |
|
|---|
| 289 | <p>
|
|---|
| 290 |
|
|---|
| 291 | <p>
|
|---|
| 292 | Referenced 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">( </td>
|
|---|
| 303 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 304 | <td class="md" valign="top"> ) </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 |
|
|---|
| 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">( </td>
|
|---|
| 331 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 332 | <td class="mdname" nowrap>, </td>
|
|---|
| 333 | </tr>
|
|---|
| 334 | <tr>
|
|---|
| 335 | <td></td>
|
|---|
| 336 | <td></td>
|
|---|
| 337 | <td class="md" nowrap>int </td>
|
|---|
| 338 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 339 | </tr>
|
|---|
| 340 | <tr>
|
|---|
| 341 | <td></td>
|
|---|
| 342 | <td class="md">) </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 |
|
|---|
| 354 | </td>
|
|---|
| 355 | <td>
|
|---|
| 356 |
|
|---|
| 357 | <p>
|
|---|
| 358 |
|
|---|
| 359 | <p>
|
|---|
| 360 | Referenced 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">( </td>
|
|---|
| 371 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 372 | <td class="mdname" nowrap>, </td>
|
|---|
| 373 | </tr>
|
|---|
| 374 | <tr>
|
|---|
| 375 | <td></td>
|
|---|
| 376 | <td></td>
|
|---|
| 377 | <td class="md" nowrap>int </td>
|
|---|
| 378 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 379 | </tr>
|
|---|
| 380 | <tr>
|
|---|
| 381 | <td></td>
|
|---|
| 382 | <td class="md">) </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 |
|
|---|
| 394 | </td>
|
|---|
| 395 | <td>
|
|---|
| 396 |
|
|---|
| 397 | <p>
|
|---|
| 398 |
|
|---|
| 399 | <p>
|
|---|
| 400 | Referenced 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">( </td>
|
|---|
| 411 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 412 | <td class="mdname" nowrap>, </td>
|
|---|
| 413 | </tr>
|
|---|
| 414 | <tr>
|
|---|
| 415 | <td></td>
|
|---|
| 416 | <td></td>
|
|---|
| 417 | <td class="md" nowrap>int </td>
|
|---|
| 418 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 419 | </tr>
|
|---|
| 420 | <tr>
|
|---|
| 421 | <td></td>
|
|---|
| 422 | <td class="md">) </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 |
|
|---|
| 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">( </td>
|
|---|
| 449 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 450 | <td class="mdname" nowrap>, </td>
|
|---|
| 451 | </tr>
|
|---|
| 452 | <tr>
|
|---|
| 453 | <td></td>
|
|---|
| 454 | <td></td>
|
|---|
| 455 | <td class="md" nowrap>int </td>
|
|---|
| 456 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 457 | </tr>
|
|---|
| 458 | <tr>
|
|---|
| 459 | <td></td>
|
|---|
| 460 | <td class="md">) </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 |
|
|---|
| 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">( </td>
|
|---|
| 487 | <td class="md" nowrap valign="top">void </td>
|
|---|
| 488 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 489 | <td class="md" valign="top"> ) </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 |
|
|---|
| 501 | </td>
|
|---|
| 502 | <td>
|
|---|
| 503 |
|
|---|
| 504 | <p>
|
|---|
| 505 |
|
|---|
| 506 | <p>
|
|---|
| 507 | Referenced 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">( </td>
|
|---|
| 518 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 519 | <td class="mdname1" valign="top" nowrap> <em>aCommand</em> </td>
|
|---|
| 520 | <td class="md" valign="top"> ) </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 |
|
|---|
| 532 | </td>
|
|---|
| 533 | <td>
|
|---|
| 534 |
|
|---|
| 535 | <p>
|
|---|
| 536 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 537 | <p>
|
|---|
| 538 | Reimplemented from <a class="el" href="classG4VBasicShell.html#b7">G4VBasicShell</a>.
|
|---|
| 539 | <p>
|
|---|
| 540 | Definition 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>
|
|---|
| 542 | References <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>
|
|---|
| 544 | Referenced 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 {
|
|---|
| 547 | 00135 <span class="keywordflow">if</span>(aCommand.length()<2) <span class="keywordflow">return</span>;
|
|---|
| 548 | 00136
|
|---|
| 549 | 00137 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetTree();
|
|---|
| 550 | 00138 <span class="keywordflow">if</span>(aCommand.length()<2) <span class="keywordflow">return</span>;
|
|---|
| 551 | 00139 G4int returnVal = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->ApplyCommand(aCommand);
|
|---|
| 552 | 00140 G4int paramIndex = returnVal % 100;
|
|---|
| 553 | 00141 <span class="comment">// 0 - 98 : paramIndex-th parameter is invalid</span>
|
|---|
| 554 | 00142 <span class="comment">// 99 : convination of parameters is invalid</span>
|
|---|
| 555 | 00143 G4int commandStatus = returnVal - paramIndex;
|
|---|
| 556 | 00144
|
|---|
| 557 | 00145 <a class="code" href="classG4UIGainServer.html#d28">UpdateState</a>();
|
|---|
| 558 | 00146
|
|---|
| 559 | 00147 <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>){
|
|---|
| 560 | 00148 <span class="keywordflow">switch</span>(commandStatus) {
|
|---|
| 561 | 00149 <span class="keywordflow">case</span> fCommandSucceeded:
|
|---|
| 562 | 00150 <a class="code" href="classG4UIGainServer.html#d0">GetNewTreeStructure</a>(tree,0);
|
|---|
| 563 | 00151 <a class="code" href="classG4UIGainServer.html#d1">GetNewTreeValues</a>(tree,0);
|
|---|
| 564 | 00152 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#d27">CommandUpdated</a>()){
|
|---|
| 565 | 00153 <a class="code" href="classG4UIGainServer.html#d25">NotifyCommandUpdate</a>();
|
|---|
| 566 | 00154 } <span class="keywordflow">else</span>{
|
|---|
| 567 | 00155 <a class="code" href="classG4UIGainServer.html#d29">UpdateParamVal</a>();
|
|---|
| 568 | 00156 }
|
|---|
| 569 | 00157 <a class="code" href="classG4UIGainServer.html#r15">previousTreeCommands</a> = <a class="code" href="classG4UIGainServer.html#r16">newTreeCommands</a>;
|
|---|
| 570 | 00158 <a class="code" href="classG4UIGainServer.html#r17">previousTreeParams</a> = <a class="code" href="classG4UIGainServer.html#r18">newTreeParams</a>;
|
|---|
| 571 | 00159 <a class="code" href="classG4UIGainServer.html#r19">previousTreePCP</a> = <a class="code" href="classG4UIGainServer.html#r20">newTreePCP</a>;
|
|---|
| 572 | 00160 <span class="keywordflow">break</span>;
|
|---|
| 573 | 00161 <span class="keywordflow">case</span> fCommandNotFound:
|
|---|
| 574 | 00162 G4cerr << <span class="stringliteral">"@@ErrResult \" <"</span> << <a class="code" href="classG4UIGainServer.html#r2">UI</a>->SolveAlias(aCommand) << <span class="stringliteral">"> not found.\""</span> << G4endl;
|
|---|
| 575 | 00163 <span class="keywordflow">break</span>;
|
|---|
| 576 | 00164 <span class="keywordflow">case</span> fIllegalApplicationState:
|
|---|
| 577 | 00165 G4cerr << <span class="stringliteral">"@@ErrResult \"illegal application state -- command refused.\""</span> << G4endl;
|
|---|
| 578 | 00166 <span class="keywordflow">break</span>;
|
|---|
| 579 | 00167 <span class="keywordflow">case</span> fParameterOutOfRange:
|
|---|
| 580 | 00168 G4cout << <span class="stringliteral">"@@ErrResult \"Parameter Out of Range.\""</span> << G4endl;
|
|---|
| 581 | 00169 <span class="keywordflow">break</span>;
|
|---|
| 582 | 00170 <span class="keywordflow">case</span> fParameterUnreadable:
|
|---|
| 583 | 00171 G4cout << <span class="stringliteral">"@@ErrResult \"Parameter is wrong type and/or is not omittable.\""</span><<G4endl;
|
|---|
| 584 | 00172 <span class="keywordflow">break</span>;
|
|---|
| 585 | 00173 <span class="keywordflow">case</span> fParameterOutOfCandidates:
|
|---|
| 586 | 00174 G4cerr << <span class="stringliteral">"@@ErrResult \"Parameter is out of candidate.\""</span> << G4endl;
|
|---|
| 587 | 00175 <span class="keywordflow">break</span>;
|
|---|
| 588 | 00176 <span class="keywordflow">case</span> fAliasNotFound:
|
|---|
| 589 | 00177 <span class="keywordflow">default</span>:
|
|---|
| 590 | 00178 G4cerr << <span class="stringliteral">"command refused ("</span> << commandStatus << <span class="stringliteral">")"</span> << G4endl;
|
|---|
| 591 | 00179 }
|
|---|
| 592 | 00180 }
|
|---|
| 593 | 00181 }
|
|---|
| 594 | </pre></div> </td>
|
|---|
| 595 | </tr>
|
|---|
| 596 | </table>
|
|---|
| 597 |
|
|---|
| 598 | <p>
|
|---|
| 599 | Here 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">( </td>
|
|---|
| 616 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 617 | <td class="md" valign="top"> ) </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 |
|
|---|
| 629 | </td>
|
|---|
| 630 | <td>
|
|---|
| 631 |
|
|---|
| 632 | <p>
|
|---|
| 633 |
|
|---|
| 634 | <p>
|
|---|
| 635 | Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>.
|
|---|
| 636 | <p>
|
|---|
| 637 | Definition 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 {
|
|---|
| 640 | 00365 <span class="keywordtype">char</span> temp[100];
|
|---|
| 641 | 00366 G4cin.getline(temp, 100);
|
|---|
| 642 | 00367 }
|
|---|
| 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">( </td>
|
|---|
| 654 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 655 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 656 | <td class="md" valign="top"> ) </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 |
|
|---|
| 668 | </td>
|
|---|
| 669 | <td>
|
|---|
| 670 |
|
|---|
| 671 | <p>
|
|---|
| 672 |
|
|---|
| 673 | <p>
|
|---|
| 674 | Referenced 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">( </td>
|
|---|
| 685 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 686 | <td class="md" valign="top"> ) </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 |
|
|---|
| 698 | </td>
|
|---|
| 699 | <td>
|
|---|
| 700 |
|
|---|
| 701 | <p>
|
|---|
| 702 |
|
|---|
| 703 | <p>
|
|---|
| 704 | Definition 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>
|
|---|
| 706 | References <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>
|
|---|
| 708 | Referenced 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 {
|
|---|
| 711 | 00187 G4String newCommand;
|
|---|
| 712 | 00188 G4String nullString;
|
|---|
| 713 | 00189
|
|---|
| 714 | 00190 <span class="keywordflow">while</span>( 1 )
|
|---|
| 715 | 00191 {
|
|---|
| 716 | 00192 G4UIcommandTree* tree = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetTree();
|
|---|
| 717 | 00193 <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> ){
|
|---|
| 718 | 00194 G4cout << <span class="stringliteral">"@@PROMPT \""</span> << <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> << <span class="stringliteral">"\""</span> << G4endl;
|
|---|
| 719 | 00195 }
|
|---|
| 720 | 00196 <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> ){
|
|---|
| 721 | 00197 G4cout << <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> << <span class="stringliteral">"> "</span> << G4endl;
|
|---|
| 722 | 00198 }<span class="keywordflow">else</span>{
|
|---|
| 723 | 00199 G4cout << <span class="stringliteral">"@@Ready"</span> << G4endl;
|
|---|
| 724 | 00200 }
|
|---|
| 725 | 00201
|
|---|
| 726 | 00202
|
|---|
| 727 | 00205 read(socketD[1],buf,1024);
|
|---|
| 728 | 00206 newCommand=<a class="code" href="classG4UIGainServer.html#r14">buf</a>;
|
|---|
| 729 | 00207 <span class="comment">//DEBUG cout<<"->"<<newCommand<<"<-"<<newCommand.length()<<G4endl;</span>
|
|---|
| 730 | 00208 <span class="comment">//newCommand.readLine( G4cin, FALSE );</span>
|
|---|
| 731 | 00211 <span class="comment"></span>
|
|---|
| 732 | 00212
|
|---|
| 733 | 00213
|
|---|
| 734 | 00214 <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>;}
|
|---|
| 735 | 00215
|
|---|
| 736 | 00216 newCommand = newCommand.strip(G4String::leading);
|
|---|
| 737 | 00217 <span class="keywordflow">if</span>( newCommand.length() < 1) { <span class="keywordflow">break</span>; }
|
|---|
| 738 | 00218
|
|---|
| 739 | 00219 <span class="keywordflow">while</span>( newCommand(newCommand.length()-1) == <span class="charliteral">'_'</span> )
|
|---|
| 740 | 00220 {
|
|---|
| 741 | 00221 G4String newLine;
|
|---|
| 742 | 00222 newCommand.remove(newCommand.length()-1);
|
|---|
| 743 | 00223 newLine.readLine( G4cin );
|
|---|
| 744 | 00224 <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>;}
|
|---|
| 745 | 00225 newCommand.append(newLine);
|
|---|
| 746 | 00226 }
|
|---|
| 747 | 00227
|
|---|
| 748 | 00228 G4String nC = newCommand.strip(G4String::leading);
|
|---|
| 749 | 00229 <span class="keywordflow">if</span>( nC.length() < 1) { <span class="keywordflow">break</span>; }
|
|---|
| 750 | 00230
|
|---|
| 751 | 00231 <span class="comment">// -------------------- nC.toUpper();</span>
|
|---|
| 752 | 00232 <span class="keywordflow">if</span>( nC == <span class="stringliteral">"@@GainmodeJAVA"</span> ) {
|
|---|
| 753 | 00233 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a1">java_mode</a>;
|
|---|
| 754 | 00234 G4cout << G4endl << <span class="stringliteral">"@@Version "</span> << <a class="code" href="classG4UIGainServer.html#r4">JVersion</a> << G4endl;
|
|---|
| 755 | 00235 <a class="code" href="classG4UIGainServer.html#d15">SendCommandProperties</a>(tree);
|
|---|
| 756 | 00236 <a class="code" href="classG4UIGainServer.html#d24">NotifyStateChange</a>();
|
|---|
| 757 | 00237 }
|
|---|
| 758 | 00238 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"@@GainmodeTcl"</span> ) {
|
|---|
| 759 | 00239 <a class="code" href="classG4UIGainServer.html#r3">uiMode</a> = <a class="code" href="G4UIGAG_8hh.html#a7a2">tcl_mode</a>;
|
|---|
| 760 | 00240 G4cout << G4endl << <span class="stringliteral">"@@Version "</span> << <a class="code" href="classG4UIGainServer.html#r5">TVersion</a> << G4endl;
|
|---|
| 761 | 00241 <a class="code" href="classG4UIGainServer.html#d15">SendCommandProperties</a>(tree);
|
|---|
| 762 | 00242 <a class="code" href="classG4UIGainServer.html#d24">NotifyStateChange</a>();
|
|---|
| 763 | 00243 }
|
|---|
| 764 | 00244 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'#'</span> )
|
|---|
| 765 | 00245 { G4cout << nC << G4endl; }
|
|---|
| 766 | 00246
|
|---|
| 767 | 00247 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"ls"</span> || nC(0,3) == <span class="stringliteral">"ls "</span> )
|
|---|
| 768 | 00248 { <a class="code" href="classG4UIGainServer.html#d9">ListDirectory</a>( nC ); }
|
|---|
| 769 | 00249 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"pwd"</span> )
|
|---|
| 770 | 00250 { G4cout << <span class="stringliteral">"Current Working Directory : "</span> << <a class="code" href="classG4UIGainServer.html#r0">prefix</a> << G4endl; }
|
|---|
| 771 | 00251 <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> )
|
|---|
| 772 | 00252 { <a class="code" href="classG4UIGainServer.html#d8">ChangeDirectory</a>( nC ); }
|
|---|
| 773 | 00253 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"help"</span> || nC(0,5) == <span class="stringliteral">"help "</span>)
|
|---|
| 774 | 00254 { <a class="code" href="classG4UIGainServer.html#d10">TerminalHelp</a>( nC ); }
|
|---|
| 775 | 00255 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'?'</span> )
|
|---|
| 776 | 00256 { <a class="code" href="classG4UIGainServer.html#d13">ShowCurrent</a>( nC ); }
|
|---|
| 777 | 00257 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0,4) == <span class="stringliteral">"hist"</span> || nC == <span class="stringliteral">"history"</span>)
|
|---|
| 778 | 00258 {
|
|---|
| 779 | 00259 G4int nh = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetNumberOfHistory();
|
|---|
| 780 | 00260 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i<nh;i++)
|
|---|
| 781 | 00261 { G4cout << i << <span class="stringliteral">": "</span> << <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetPreviousCommand(i) << G4endl; }
|
|---|
| 782 | 00262 }
|
|---|
| 783 | 00263 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0) == <span class="charliteral">'!'</span> )
|
|---|
| 784 | 00264 {
|
|---|
| 785 | 00265 G4String ss = nC(1,nC.length()-1);
|
|---|
| 786 | 00266 G4int vl;
|
|---|
| 787 | 00267 <span class="keyword">const</span> <span class="keywordtype">char</span>* tt = ss;
|
|---|
| 788 | 00268 std::istringstream is((<span class="keywordtype">char</span>*)tt);
|
|---|
| 789 | 00269 is >> vl;
|
|---|
| 790 | 00270 G4int nh = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetNumberOfHistory();
|
|---|
| 791 | 00271 <span class="keywordflow">if</span>(vl>=0 && vl<nh)
|
|---|
| 792 | 00272 {
|
|---|
| 793 | 00273 newCommand = <a class="code" href="classG4UIGainServer.html#r2">UI</a>->GetPreviousCommand(vl);
|
|---|
| 794 | 00274 G4cout << newCommand << G4endl;
|
|---|
| 795 | 00275 <span class="keywordflow">break</span>;
|
|---|
| 796 | 00276 }
|
|---|
| 797 | 00277 <span class="keywordflow">else</span>
|
|---|
| 798 | 00278 { G4cerr << <span class="stringliteral">"history "</span> << vl << <span class="stringliteral">" is not found."</span> << G4endl; }
|
|---|
| 799 | 00279 }
|
|---|
| 800 | 00280 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC(0,4) == <span class="stringliteral">"exit"</span> )
|
|---|
| 801 | 00281 {
|
|---|
| 802 | 00282 <span class="keywordflow">if</span>( <a class="code" href="classG4UIGainServer.html#r7">iCont</a> )
|
|---|
| 803 | 00283 {
|
|---|
| 804 | 00284 <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>){
|
|---|
| 805 | 00285 G4cerr << <span class="stringliteral">"You are now processing RUN."</span> << G4endl;
|
|---|
| 806 | 00286 G4cerr << <span class="stringliteral">"Please abrot it using \"/run/abort\" command first"</span> << G4endl;
|
|---|
| 807 | 00287 G4cerr << <span class="stringliteral">" and use \"continue\" command until the application"</span> << G4endl;
|
|---|
| 808 | 00288 G4cerr << <span class="stringliteral">" becomes to Idle."</span> << G4endl;
|
|---|
| 809 | 00289 }<span class="keywordflow">else</span>{
|
|---|
| 810 | 00290 G4cout << <span class="stringliteral">"@@ErrResult \"You are now processing RUN.\""</span> << G4endl;
|
|---|
| 811 | 00291 }
|
|---|
| 812 | 00292 }
|
|---|
| 813 | 00293 <span class="keywordflow">else</span>
|
|---|
| 814 | 00294 {
|
|---|
| 815 | 00295 close(socketD[1]);
|
|---|
| 816 | 00296 close(socketD[2]);
|
|---|
| 817 | 00297 <a class="code" href="classG4UIGainServer.html#r6">iExit</a> = <span class="keyword">false</span>;
|
|---|
| 818 | 00298 newCommand = nullString;
|
|---|
| 819 | 00299 <span class="keywordflow">break</span>;
|
|---|
| 820 | 00300 }
|
|---|
| 821 | 00301 }
|
|---|
| 822 | 00302 <span class="keywordflow">else</span> <span class="keywordflow">if</span>( nC == <span class="stringliteral">"cont"</span> || nC == <span class="stringliteral">"continue"</span> )
|
|---|
| 823 | 00303 {
|
|---|
| 824 | 00304 <a class="code" href="classG4UIGainServer.html#r7">iCont</a> = <span class="keyword">false</span>;
|
|---|
| 825 | 00305 newCommand = nullString;
|
|---|
| 826 | 00306 <span class="keywordflow">break</span>;
|
|---|
| 827 | 00307 }
|
|---|
| 828 | 00308 <span class="keywordflow">else</span>
|
|---|
| 829 | 00309 { <span class="keywordflow">break</span>; }
|
|---|
| 830 | 00310 }
|
|---|
| 831 | 00311 <span class="keywordflow">return</span> <a class="code" href="classG4UIGainServer.html#d14">GetFullPath</a>(newCommand);
|
|---|
| 832 | 00312 }
|
|---|
| 833 | </pre></div> </td>
|
|---|
| 834 | </tr>
|
|---|
| 835 | </table>
|
|---|
| 836 |
|
|---|
| 837 | <p>
|
|---|
| 838 | Here 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">( </td>
|
|---|
| 856 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 857 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 858 | <td class="md" valign="top"> ) </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 |
|
|---|
| 870 | </td>
|
|---|
| 871 | <td>
|
|---|
| 872 |
|
|---|
| 873 | <p>
|
|---|
| 874 |
|
|---|
| 875 | <p>
|
|---|
| 876 | Referenced 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">( </td>
|
|---|
| 887 | <td class="md" nowrap valign="top">G4int & </td>
|
|---|
| 888 | <td class="mdname1" valign="top" nowrap> <em>aInt</em> </td>
|
|---|
| 889 | <td class="md" valign="top"> ) </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 |
|
|---|
| 901 | </td>
|
|---|
| 902 | <td>
|
|---|
| 903 |
|
|---|
| 904 | <p>
|
|---|
| 905 |
|
|---|
| 906 | <p>
|
|---|
| 907 | Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>.
|
|---|
| 908 | <p>
|
|---|
| 909 | Definition 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 {
|
|---|
| 912 | 00352 G4cin >> aInt;
|
|---|
| 913 | 00353 <span class="keywordflow">if</span>(!G4cin.good()){
|
|---|
| 914 | 00354 G4cin.clear();
|
|---|
| 915 | 00355 G4cin.ignore(30,<span class="charliteral">'\n'</span>);
|
|---|
| 916 | 00356 <span class="keywordflow">return</span> FALSE;
|
|---|
| 917 | 00357 }
|
|---|
| 918 | 00358 <span class="keywordflow">return</span> TRUE;
|
|---|
| 919 | 00359 }
|
|---|
| 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">( </td>
|
|---|
| 931 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 932 | <td class="mdname" nowrap>, </td>
|
|---|
| 933 | </tr>
|
|---|
| 934 | <tr>
|
|---|
| 935 | <td></td>
|
|---|
| 936 | <td></td>
|
|---|
| 937 | <td class="md" nowrap>int </td>
|
|---|
| 938 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 939 | </tr>
|
|---|
| 940 | <tr>
|
|---|
| 941 | <td></td>
|
|---|
| 942 | <td class="md">) </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 |
|
|---|
| 954 | </td>
|
|---|
| 955 | <td>
|
|---|
| 956 |
|
|---|
| 957 | <p>
|
|---|
| 958 |
|
|---|
| 959 | <p>
|
|---|
| 960 | Referenced 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">( </td>
|
|---|
| 971 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 972 | <td class="mdname" nowrap>, </td>
|
|---|
| 973 | </tr>
|
|---|
| 974 | <tr>
|
|---|
| 975 | <td></td>
|
|---|
| 976 | <td></td>
|
|---|
| 977 | <td class="md" nowrap>int </td>
|
|---|
| 978 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 979 | </tr>
|
|---|
| 980 | <tr>
|
|---|
| 981 | <td></td>
|
|---|
| 982 | <td class="md">) </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 |
|
|---|
| 994 | </td>
|
|---|
| 995 | <td>
|
|---|
| 996 |
|
|---|
| 997 | <p>
|
|---|
| 998 |
|
|---|
| 999 | <p>
|
|---|
| 1000 | Referenced 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">( </td>
|
|---|
| 1011 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1012 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1013 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1025 | </td>
|
|---|
| 1026 | <td>
|
|---|
| 1027 |
|
|---|
| 1028 | <p>
|
|---|
| 1029 |
|
|---|
| 1030 | <p>
|
|---|
| 1031 | Reimplemented from <a class="el" href="classG4VBasicShell.html#b13">G4VBasicShell</a>.
|
|---|
| 1032 | <p>
|
|---|
| 1033 | Referenced 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">( </td>
|
|---|
| 1044 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1045 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1046 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1058 | </td>
|
|---|
| 1059 | <td>
|
|---|
| 1060 |
|
|---|
| 1061 | <p>
|
|---|
| 1062 |
|
|---|
| 1063 | <p>
|
|---|
| 1064 | Referenced 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">( </td>
|
|---|
| 1075 | <td class="md" nowrap valign="top">void </td>
|
|---|
| 1076 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1077 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1089 | </td>
|
|---|
| 1090 | <td>
|
|---|
| 1091 |
|
|---|
| 1092 | <p>
|
|---|
| 1093 |
|
|---|
| 1094 | <p>
|
|---|
| 1095 | Referenced 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">( </td>
|
|---|
| 1106 | <td class="md" nowrap valign="top">G4UIcommand * </td>
|
|---|
| 1107 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1108 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1120 | </td>
|
|---|
| 1121 | <td>
|
|---|
| 1122 |
|
|---|
| 1123 | <p>
|
|---|
| 1124 |
|
|---|
| 1125 | <p>
|
|---|
| 1126 | Referenced 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">( </td>
|
|---|
| 1137 | <td class="md" nowrap valign="top">void </td>
|
|---|
| 1138 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1139 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1151 | </td>
|
|---|
| 1152 | <td>
|
|---|
| 1153 |
|
|---|
| 1154 | <p>
|
|---|
| 1155 |
|
|---|
| 1156 | <p>
|
|---|
| 1157 | Referenced 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">( </td>
|
|---|
| 1168 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1169 | <td class="mdname1" valign="top" nowrap> <em>msg</em> </td>
|
|---|
| 1170 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1182 | </td>
|
|---|
| 1183 | <td>
|
|---|
| 1184 |
|
|---|
| 1185 | <p>
|
|---|
| 1186 |
|
|---|
| 1187 | <p>
|
|---|
| 1188 | Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>.
|
|---|
| 1189 | <p>
|
|---|
| 1190 | Definition 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>
|
|---|
| 1192 | References <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 {
|
|---|
| 1195 | 00117 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = msg;
|
|---|
| 1196 | 00118 G4cout<<<span class="stringliteral">"@@PROMPT \""</span><<<a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a><<<span class="stringliteral">"\""</span><<G4endl;
|
|---|
| 1197 | 00119
|
|---|
| 1198 | 00120 <a class="code" href="classG4UIGainServer.html#r7">iCont</a>= TRUE;
|
|---|
| 1199 | 00121
|
|---|
| 1200 | 00122 G4String newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
|
|---|
| 1201 | 00123 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#r7">iCont</a>){
|
|---|
| 1202 | 00124 <a class="code" href="classG4UIGainServer.html#d2">ExecuteCommand</a>(newCommand);
|
|---|
| 1203 | 00125 newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
|
|---|
| 1204 | 00126 strcpy(buf,<span class="stringliteral">"nowIdle"</span>);
|
|---|
| 1205 | 00127 write(socketD[1],buf,strlen(buf));
|
|---|
| 1206 | 00128 }
|
|---|
| 1207 | 00129 }
|
|---|
| 1208 | </pre></div> </td>
|
|---|
| 1209 | </tr>
|
|---|
| 1210 | </table>
|
|---|
| 1211 |
|
|---|
| 1212 | <p>
|
|---|
| 1213 | Here 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">( </td>
|
|---|
| 1239 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1240 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1241 | <td class="md" valign="top"> ) </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 |
|
|---|
| 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">( </td>
|
|---|
| 1268 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1269 | <td class="mdname1" valign="top" nowrap> <em>cerrString</em> </td>
|
|---|
| 1270 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1282 | </td>
|
|---|
| 1283 | <td>
|
|---|
| 1284 |
|
|---|
| 1285 | <p>
|
|---|
| 1286 |
|
|---|
| 1287 | <p>
|
|---|
| 1288 | Definition 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>
|
|---|
| 1290 | References <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
|
|---|
| 1291 | <p>
|
|---|
| 1292 | <div class="fragment"><pre>00336 {
|
|---|
| 1293 | 00337 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[2]>0){
|
|---|
| 1294 | 00338 write(socketD[2],cerrString,cerrString.length());
|
|---|
| 1295 | 00339 }
|
|---|
| 1296 | 00340 <span class="keywordflow">return</span> 0;
|
|---|
| 1297 | 00341
|
|---|
| 1298 | 00342
|
|---|
| 1299 | 00343
|
|---|
| 1300 | 00344 <span class="comment">//std::cerr << cerrString << std::flush;</span>
|
|---|
| 1301 | 00345 <span class="comment">//return 0;</span>
|
|---|
| 1302 | 00346 }
|
|---|
| 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">( </td>
|
|---|
| 1314 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1315 | <td class="mdname1" valign="top" nowrap> <em>coutString</em> </td>
|
|---|
| 1316 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1328 | </td>
|
|---|
| 1329 | <td>
|
|---|
| 1330 |
|
|---|
| 1331 | <p>
|
|---|
| 1332 |
|
|---|
| 1333 | <p>
|
|---|
| 1334 | Definition 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>
|
|---|
| 1336 | References <a class="el" href="G4UIGainServer_8hh-source.html#l00082">socketD</a>.
|
|---|
| 1337 | <p>
|
|---|
| 1338 | <div class="fragment"><pre>00317 {
|
|---|
| 1339 | 00318 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[1]>0){
|
|---|
| 1340 | 00319 write(socketD[1],coutString,coutString.length());
|
|---|
| 1341 | 00320 }
|
|---|
| 1342 | 00321 <span class="keywordflow">return</span> 0;
|
|---|
| 1343 | 00322
|
|---|
| 1344 | 00323
|
|---|
| 1345 | 00324
|
|---|
| 1346 | 00325
|
|---|
| 1347 | 00326
|
|---|
| 1348 | 00327
|
|---|
| 1349 | 00328
|
|---|
| 1350 | 00329 <span class="comment">//std::cout << coutString << std::flush;</span>
|
|---|
| 1351 | 00330 <span class="comment">//return 0;</span>
|
|---|
| 1352 | 00331 }
|
|---|
| 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">( </td>
|
|---|
| 1364 | <td class="md" nowrap valign="top">G4UIcommand * </td>
|
|---|
| 1365 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1366 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1378 | </td>
|
|---|
| 1379 | <td>
|
|---|
| 1380 |
|
|---|
| 1381 | <p>
|
|---|
| 1382 |
|
|---|
| 1383 | <p>
|
|---|
| 1384 | Referenced 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">( </td>
|
|---|
| 1395 | <td class="md" nowrap valign="top">G4UIcommand * </td>
|
|---|
| 1396 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1397 | <td class="md" valign="top"> ) </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 |
|
|---|
| 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">( </td>
|
|---|
| 1424 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 1425 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1426 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1438 | </td>
|
|---|
| 1439 | <td>
|
|---|
| 1440 |
|
|---|
| 1441 | <p>
|
|---|
| 1442 |
|
|---|
| 1443 | <p>
|
|---|
| 1444 | Referenced 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">( </td>
|
|---|
| 1455 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 1456 | <td class="mdname" nowrap>, </td>
|
|---|
| 1457 | </tr>
|
|---|
| 1458 | <tr>
|
|---|
| 1459 | <td></td>
|
|---|
| 1460 | <td></td>
|
|---|
| 1461 | <td class="md" nowrap>int </td>
|
|---|
| 1462 | <td class="mdname" nowrap> <em>recursiveLevel</em></td>
|
|---|
| 1463 | </tr>
|
|---|
| 1464 | <tr>
|
|---|
| 1465 | <td></td>
|
|---|
| 1466 | <td class="md">) </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 |
|
|---|
| 1478 | </td>
|
|---|
| 1479 | <td>
|
|---|
| 1480 |
|
|---|
| 1481 | <p>
|
|---|
| 1482 |
|
|---|
| 1483 | <p>
|
|---|
| 1484 | Referenced 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">( </td>
|
|---|
| 1495 | <td class="md" nowrap valign="top">G4UIcommandTree * </td>
|
|---|
| 1496 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1497 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1509 | </td>
|
|---|
| 1510 | <td>
|
|---|
| 1511 |
|
|---|
| 1512 | <p>
|
|---|
| 1513 |
|
|---|
| 1514 | <p>
|
|---|
| 1515 | Referenced 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">( </td>
|
|---|
| 1526 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1527 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1539 | </td>
|
|---|
| 1540 | <td>
|
|---|
| 1541 |
|
|---|
| 1542 | <p>
|
|---|
| 1543 |
|
|---|
| 1544 | <p>
|
|---|
| 1545 | Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>.
|
|---|
| 1546 | <p>
|
|---|
| 1547 | Definition 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>
|
|---|
| 1549 | References <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 {
|
|---|
| 1552 | 00098 G4String newCommand;
|
|---|
| 1553 | 00099
|
|---|
| 1554 | 00100 G4StateManager* statM = G4StateManager::GetStateManager();
|
|---|
| 1555 | 00101 <a class="code" href="classG4UIGainServer.html#r1">promptCharacter</a> = statM->GetStateString(statM->GetCurrentState());
|
|---|
| 1556 | 00102
|
|---|
| 1557 | 00103 <a class="code" href="classG4UIGainServer.html#r6">iExit</a>= TRUE;
|
|---|
| 1558 | 00104
|
|---|
| 1559 | 00105 <a class="code" href="classG4UIGainServer.html#d6">WaitingConnection</a>();
|
|---|
| 1560 | 00106 <span class="keywordflow">while</span>(<a class="code" href="classG4UIGainServer.html#r6">iExit</a>){
|
|---|
| 1561 | 00107 newCommand= <a class="code" href="classG4UIGainServer.html#a8">GetCommand</a>();
|
|---|
| 1562 | 00108 <a class="code" href="classG4UIGainServer.html#d2">ExecuteCommand</a>(newCommand);
|
|---|
| 1563 | 00109 }
|
|---|
| 1564 | 00110 <span class="keywordflow">return</span> NULL;
|
|---|
| 1565 | 00111 }
|
|---|
| 1566 | </pre></div> </td>
|
|---|
| 1567 | </tr>
|
|---|
| 1568 | </table>
|
|---|
| 1569 |
|
|---|
| 1570 | <p>
|
|---|
| 1571 | Here 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">( </td>
|
|---|
| 1585 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1586 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1598 | </td>
|
|---|
| 1599 | <td>
|
|---|
| 1600 |
|
|---|
| 1601 | <p>
|
|---|
| 1602 |
|
|---|
| 1603 | <p>
|
|---|
| 1604 | Referenced 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">( </td>
|
|---|
| 1615 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1616 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1628 | </td>
|
|---|
| 1629 | <td>
|
|---|
| 1630 |
|
|---|
| 1631 | <p>
|
|---|
| 1632 |
|
|---|
| 1633 | <p>
|
|---|
| 1634 | Definition 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>
|
|---|
| 1636 | References <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>
|
|---|
| 1638 | Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00044">G4UIGainServer()</a>.
|
|---|
| 1639 | <p>
|
|---|
| 1640 | <div class="fragment"><pre>00370 {
|
|---|
| 1641 | 00372
|
|---|
| 1642 | 00373 <a class="code" href="classG4UIGainServer.html#r8">socketD</a>[0] = socket(AF_INET,SOCK_STREAM,0);
|
|---|
| 1643 | 00374
|
|---|
| 1644 | 00375 <span class="keywordflow">if</span>(<a class="code" href="classG4UIGainServer.html#r8">socketD</a>[0]<0){
|
|---|
| 1645 | 00376 perror(<span class="stringliteral">"server:socket"</span>);
|
|---|
| 1646 | 00377 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
|
|---|
| 1647 | 00378 <span class="comment">//exit(1);</span>
|
|---|
| 1648 | 00379 }
|
|---|
| 1649 | 00380
|
|---|
| 1650 | 00381 memset( (<span class="keywordtype">char</span> *)&saddr,<span class="charliteral">'\0'</span>,<span class="keyword">sizeof</span>(saddr)) ;
|
|---|
| 1651 | 00382
|
|---|
| 1652 | 00383 saddr.sin_family = AF_INET;
|
|---|
| 1653 | 00384 saddr.sin_addr.s_addr = INADDR_ANY;
|
|---|
| 1654 | 00385 saddr.sin_port = htons(port);
|
|---|
| 1655 | 00386 unlink(SOCK_NAME);
|
|---|
| 1656 | 00387
|
|---|
| 1657 | 00388 <span class="keywordflow">if</span>(bind(socketD[0] , (<span class="keyword">struct</span> sockaddr *)&saddr , <span class="keyword">sizeof</span>(saddr))<0){
|
|---|
| 1658 | 00389 perror(<span class="stringliteral">"bind"</span>);
|
|---|
| 1659 | 00390 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
|
|---|
| 1660 | 00391 <span class="comment">//exit(1);</span>
|
|---|
| 1661 | 00392 }
|
|---|
| 1662 | 00393 <span class="keywordflow">else</span>{ G4cout<<<span class="stringliteral">"G4GainServer waiting at "</span><<<a class="code" href="classG4UIGainServer.html#r9">port</a><<G4endl; }
|
|---|
| 1663 | 00394
|
|---|
| 1664 | 00395 <span class="keywordflow">if</span>(listen(socketD[0],1)<0){
|
|---|
| 1665 | 00396 perror(<span class="stringliteral">"listen"</span>);
|
|---|
| 1666 | 00397 <span class="keywordflow">return</span> (<span class="keyword">false</span>);
|
|---|
| 1667 | 00398 <span class="comment">//exit(1);</span>
|
|---|
| 1668 | 00399 }
|
|---|
| 1669 | 00400
|
|---|
| 1670 | 00401 <span class="keywordflow">return</span> (<span class="keyword">true</span>);
|
|---|
| 1671 | 00402 }
|
|---|
| 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">( </td>
|
|---|
| 1683 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1684 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1685 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1697 | </td>
|
|---|
| 1698 | <td>
|
|---|
| 1699 |
|
|---|
| 1700 | <p>
|
|---|
| 1701 |
|
|---|
| 1702 | <p>
|
|---|
| 1703 | Reimplemented from <a class="el" href="classG4VBasicShell.html#b11">G4VBasicShell</a>.
|
|---|
| 1704 | <p>
|
|---|
| 1705 | Referenced 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">( </td>
|
|---|
| 1716 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 1717 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1718 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1730 | </td>
|
|---|
| 1731 | <td>
|
|---|
| 1732 |
|
|---|
| 1733 | <p>
|
|---|
| 1734 |
|
|---|
| 1735 | <p>
|
|---|
| 1736 | Reimplemented from <a class="el" href="classG4VBasicShell.html#b14">G4VBasicShell</a>.
|
|---|
| 1737 | <p>
|
|---|
| 1738 | Referenced 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">( </td>
|
|---|
| 1749 | <td class="md" nowrap valign="top">void </td>
|
|---|
| 1750 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1751 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1763 | </td>
|
|---|
| 1764 | <td>
|
|---|
| 1765 |
|
|---|
| 1766 | <p>
|
|---|
| 1767 |
|
|---|
| 1768 | <p>
|
|---|
| 1769 | Referenced 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">( </td>
|
|---|
| 1780 | <td class="md" nowrap valign="top">void </td>
|
|---|
| 1781 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1782 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1794 | </td>
|
|---|
| 1795 | <td>
|
|---|
| 1796 |
|
|---|
| 1797 | <p>
|
|---|
| 1798 |
|
|---|
| 1799 | <p>
|
|---|
| 1800 | Referenced 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">( </td>
|
|---|
| 1811 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 1812 | <td class="md" valign="top"> ) </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 |
|
|---|
| 1824 | </td>
|
|---|
| 1825 | <td>
|
|---|
| 1826 |
|
|---|
| 1827 | <p>
|
|---|
| 1828 |
|
|---|
| 1829 | <p>
|
|---|
| 1830 | Definition 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>
|
|---|
| 1832 | References <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>
|
|---|
| 1834 | Referenced by <a class="el" href="G4UIGainServer_8cc-source.html#l00095">SessionStart()</a>. </td>
|
|---|
| 1835 | </tr>
|
|---|
| 1836 | </table>
|
|---|
| 1837 |
|
|---|
| 1838 | <p>
|
|---|
| 1839 | Here 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 |
|
|---|
| 1880 | </td>
|
|---|
| 1881 | <td>
|
|---|
| 1882 |
|
|---|
| 1883 | <p>
|
|---|
| 1884 |
|
|---|
| 1885 | <p>
|
|---|
| 1886 | Definition 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>
|
|---|
| 1888 | Referenced 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 |
|
|---|
| 1906 | </td>
|
|---|
| 1907 | <td>
|
|---|
| 1908 |
|
|---|
| 1909 | <p>
|
|---|
| 1910 |
|
|---|
| 1911 | <p>
|
|---|
| 1912 | Definition 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>
|
|---|
| 1914 | Referenced 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 |
|
|---|
| 1932 | </td>
|
|---|
| 1933 | <td>
|
|---|
| 1934 |
|
|---|
| 1935 | <p>
|
|---|
| 1936 |
|
|---|
| 1937 | <p>
|
|---|
| 1938 | Definition 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>
|
|---|
| 1940 | Referenced 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 |
|
|---|
| 1958 | </td>
|
|---|
| 1959 | <td>
|
|---|
| 1960 |
|
|---|
| 1961 | <p>
|
|---|
| 1962 |
|
|---|
| 1963 | <p>
|
|---|
| 1964 | Definition 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>
|
|---|
| 1966 | Referenced 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 |
|
|---|
| 1984 | </td>
|
|---|
| 1985 | <td>
|
|---|
| 1986 |
|
|---|
| 1987 | <p>
|
|---|
| 1988 |
|
|---|
| 1989 | <p>
|
|---|
| 1990 | Definition 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>
|
|---|
| 1992 | Referenced 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 |
|
|---|
| 2010 | </td>
|
|---|
| 2011 | <td>
|
|---|
| 2012 |
|
|---|
| 2013 | <p>
|
|---|
| 2014 |
|
|---|
| 2015 | <p>
|
|---|
| 2016 | Definition 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>
|
|---|
| 2018 | Referenced 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<G4String> <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 |
|
|---|
| 2036 | </td>
|
|---|
| 2037 | <td>
|
|---|
| 2038 |
|
|---|
| 2039 | <p>
|
|---|
| 2040 |
|
|---|
| 2041 | <p>
|
|---|
| 2042 | Definition 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>
|
|---|
| 2044 | Referenced 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<G4String> <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 |
|
|---|
| 2062 | </td>
|
|---|
| 2063 | <td>
|
|---|
| 2064 |
|
|---|
| 2065 | <p>
|
|---|
| 2066 |
|
|---|
| 2067 | <p>
|
|---|
| 2068 | Definition 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>
|
|---|
| 2070 | Referenced 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<G4UIcommand*> <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 |
|
|---|
| 2088 | </td>
|
|---|
| 2089 | <td>
|
|---|
| 2090 |
|
|---|
| 2091 | <p>
|
|---|
| 2092 |
|
|---|
| 2093 | <p>
|
|---|
| 2094 | Definition 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>
|
|---|
| 2096 | Referenced 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 |
|
|---|
| 2114 | </td>
|
|---|
| 2115 | <td>
|
|---|
| 2116 |
|
|---|
| 2117 | <p>
|
|---|
| 2118 |
|
|---|
| 2119 | <p>
|
|---|
| 2120 | Definition 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>
|
|---|
| 2122 | Referenced 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 |
|
|---|
| 2140 | </td>
|
|---|
| 2141 | <td>
|
|---|
| 2142 |
|
|---|
| 2143 | <p>
|
|---|
| 2144 |
|
|---|
| 2145 | <p>
|
|---|
| 2146 | Definition 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>
|
|---|
| 2148 | Referenced 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<G4String> <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 |
|
|---|
| 2166 | </td>
|
|---|
| 2167 | <td>
|
|---|
| 2168 |
|
|---|
| 2169 | <p>
|
|---|
| 2170 |
|
|---|
| 2171 | <p>
|
|---|
| 2172 | Definition 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>
|
|---|
| 2174 | Referenced 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<G4String> <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 |
|
|---|
| 2192 | </td>
|
|---|
| 2193 | <td>
|
|---|
| 2194 |
|
|---|
| 2195 | <p>
|
|---|
| 2196 |
|
|---|
| 2197 | <p>
|
|---|
| 2198 | Definition 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>
|
|---|
| 2200 | Referenced 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<G4UIcommand*> <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 |
|
|---|
| 2218 | </td>
|
|---|
| 2219 | <td>
|
|---|
| 2220 |
|
|---|
| 2221 | <p>
|
|---|
| 2222 |
|
|---|
| 2223 | <p>
|
|---|
| 2224 | Definition 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>
|
|---|
| 2226 | Referenced 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 |
|
|---|
| 2244 | </td>
|
|---|
| 2245 | <td>
|
|---|
| 2246 |
|
|---|
| 2247 | <p>
|
|---|
| 2248 |
|
|---|
| 2249 | <p>
|
|---|
| 2250 | Definition 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>
|
|---|
| 2252 | Referenced 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 |
|
|---|
| 2270 | </td>
|
|---|
| 2271 | <td>
|
|---|
| 2272 |
|
|---|
| 2273 | <p>
|
|---|
| 2274 |
|
|---|
| 2275 | <p>
|
|---|
| 2276 | Definition 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 |
|
|---|
| 2294 | </td>
|
|---|
| 2295 | <td>
|
|---|
| 2296 |
|
|---|
| 2297 | <p>
|
|---|
| 2298 |
|
|---|
| 2299 | <p>
|
|---|
| 2300 | Definition 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>
|
|---|
| 2302 | Referenced 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 |
|
|---|
| 2320 | </td>
|
|---|
| 2321 | <td>
|
|---|
| 2322 |
|
|---|
| 2323 | <p>
|
|---|
| 2324 |
|
|---|
| 2325 | <p>
|
|---|
| 2326 | Definition 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>
|
|---|
| 2328 | Referenced 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 |
|
|---|
| 2346 | </td>
|
|---|
| 2347 | <td>
|
|---|
| 2348 |
|
|---|
| 2349 | <p>
|
|---|
| 2350 |
|
|---|
| 2351 | <p>
|
|---|
| 2352 | Definition 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>
|
|---|
| 2354 | Referenced 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 |
|
|---|
| 2372 | </td>
|
|---|
| 2373 | <td>
|
|---|
| 2374 |
|
|---|
| 2375 | <p>
|
|---|
| 2376 |
|
|---|
| 2377 | <p>
|
|---|
| 2378 | Definition 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>
|
|---|
| 2380 | Referenced 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 |
|
|---|
| 2398 | </td>
|
|---|
| 2399 | <td>
|
|---|
| 2400 |
|
|---|
| 2401 | <p>
|
|---|
| 2402 |
|
|---|
| 2403 | <p>
|
|---|
| 2404 | Definition 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>
|
|---|
| 2406 | Referenced 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>
|
|---|