| 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>G4UIXaw 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>G4UIXaw Class Reference</h1><code>#include <<a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>></code>
|
|---|
| 9 | <p>
|
|---|
| 10 | Inheritance diagram for G4UIXaw:<p><center><img src="classG4UIXaw__inherit__graph.png" border="0" usemap="#G4UIXaw__inherit__map" alt="Inheritance graph"></center>
|
|---|
| 11 | <map name="G4UIXaw__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 G4UIXaw:<p><center><img src="classG4UIXaw__coll__graph.png" border="0" usemap="#G4UIXaw__coll__map" alt="Collaboration graph"></center>
|
|---|
| 15 | <map name="G4UIXaw__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="classG4UIXaw-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> </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a0">G4UIXaw</a> (int, char **)</td></tr>
|
|---|
| 22 |
|
|---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a1">~G4UIXaw</a> ()</td></tr>
|
|---|
| 24 |
|
|---|
| 25 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4UIsession * </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a2">SessionStart</a> ()</td></tr>
|
|---|
| 26 |
|
|---|
| 27 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a3">Prompt</a> (G4String)</td></tr>
|
|---|
| 28 |
|
|---|
| 29 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a4">SessionTerminate</a> ()</td></tr>
|
|---|
| 30 |
|
|---|
| 31 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a5">PauseSessionStart</a> (G4String)</td></tr>
|
|---|
| 32 |
|
|---|
| 33 | <tr><td class="memItemLeft" nowrap align=right valign=top>Widget </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#a6">GetDialog</a> ()</td></tr>
|
|---|
| 34 |
|
|---|
| 35 | <tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
|
|---|
| 36 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#d0">SecondaryLoop</a> (G4String)</td></tr>
|
|---|
| 37 |
|
|---|
| 38 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#d1">GetHelpChoice</a> (G4int &)</td></tr>
|
|---|
| 39 |
|
|---|
| 40 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#d2">ExitHelp</a> ()</td></tr>
|
|---|
| 41 |
|
|---|
| 42 | <tr><td colspan=2><br><h2>Static Private Member Functions</h2></td></tr>
|
|---|
| 43 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#h0">Callback</a> (Widget, XtPointer, XtPointer)</td></tr>
|
|---|
| 44 |
|
|---|
| 45 | <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
|
|---|
| 46 | <tr><td class="memItemLeft" nowrap align=right valign=top>Widget </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#r0">shell</a></td></tr>
|
|---|
| 47 |
|
|---|
| 48 | <tr><td class="memItemLeft" nowrap align=right valign=top>Widget </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#r1">dialog</a></td></tr>
|
|---|
| 49 |
|
|---|
| 50 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#r2">fHelp</a></td></tr>
|
|---|
| 51 |
|
|---|
| 52 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#r3">fHelpChoice</a></td></tr>
|
|---|
| 53 |
|
|---|
| 54 | </table>
|
|---|
| 55 | <hr><h2>Constructor & Destructor Documentation</h2>
|
|---|
| 56 | <a class="anchor" name="a0" doxytag="G4UIXaw::G4UIXaw" ></a><p>
|
|---|
| 57 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 58 | <tr>
|
|---|
| 59 | <td class="mdRow">
|
|---|
| 60 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 61 | <tr>
|
|---|
| 62 | <td class="md" nowrap valign="top"> G4UIXaw::G4UIXaw </td>
|
|---|
| 63 | <td class="md" valign="top">( </td>
|
|---|
| 64 | <td class="md" nowrap valign="top">int </td>
|
|---|
| 65 | <td class="mdname" nowrap> <em>argc</em>, </td>
|
|---|
| 66 | </tr>
|
|---|
| 67 | <tr>
|
|---|
| 68 | <td></td>
|
|---|
| 69 | <td></td>
|
|---|
| 70 | <td class="md" nowrap>char ** </td>
|
|---|
| 71 | <td class="mdname" nowrap> <em>argv</em></td>
|
|---|
| 72 | </tr>
|
|---|
| 73 | <tr>
|
|---|
| 74 | <td></td>
|
|---|
| 75 | <td class="md">) </td>
|
|---|
| 76 | <td class="md" colspan="2"></td>
|
|---|
| 77 | </tr>
|
|---|
| 78 |
|
|---|
| 79 | </table>
|
|---|
| 80 | </td>
|
|---|
| 81 | </tr>
|
|---|
| 82 | </table>
|
|---|
| 83 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 84 | <tr>
|
|---|
| 85 | <td>
|
|---|
| 86 |
|
|---|
| 87 | </td>
|
|---|
| 88 | <td>
|
|---|
| 89 |
|
|---|
| 90 | <p>
|
|---|
| 91 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 92 | <p>
|
|---|
| 93 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00056">56</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 94 | <p>
|
|---|
| 95 | References <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>, <a class="el" href="G4Xt_8cc-source.html#l00059">G4Xt::getInstance()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00128">G4VInteractorManager::GetMainInteractor()</a>, and <a class="el" href="G4UIXaw_8hh-source.html#l00069">shell</a>.
|
|---|
| 96 | <p>
|
|---|
| 97 | <div class="fragment"><pre>00060 :<a class="code" href="classG4UIXaw.html#r2">fHelp</a>(<span class="keyword">false</span>)
|
|---|
| 98 | 00061 ,<a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>(0)
|
|---|
| 99 | 00062 <span class="comment">/***************************************************************************/</span>
|
|---|
| 100 | 00064 {
|
|---|
| 101 | 00065 G4UImanager* UI = G4UImanager::GetUIpointer();
|
|---|
| 102 | 00066 <span class="keywordflow">if</span>(UI!=NULL) UI->SetSession(<span class="keyword">this</span>);
|
|---|
| 103 | 00067
|
|---|
| 104 | 00068 <a class="code" href="classG4Xt.html">G4Xt</a>* interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> (argc,argv,(<span class="keywordtype">char</span>*)<span class="stringliteral">"Xaw"</span>);
|
|---|
| 105 | 00069 Widget top = (Widget)interactorManager-><a class="code" href="classG4VInteractorManager.html#a5">GetMainInteractor</a>();
|
|---|
| 106 | 00070
|
|---|
| 107 | 00071 <a class="code" href="classG4UIXaw.html#r0">shell</a> = XtAppCreateShell (<span class="stringliteral">"G4UIXaw"</span>,<span class="stringliteral">"G4UIXaw"</span>,topLevelShellWidgetClass,XtDisplay(top),NULL,0);
|
|---|
| 108 | 00072
|
|---|
| 109 | 00073 Arg args[2];
|
|---|
| 110 | 00074 XtSetArg (args[0],XtNlabel,<span class="stringliteral">"G4 command"</span>);
|
|---|
| 111 | 00075 XtSetArg (args[1],XtNvalue,<span class="stringliteral">""</span>); <span class="comment">// Needed to have a text Area.</span>
|
|---|
| 112 | 00076 <a class="code" href="classG4UIXaw.html#r1">dialog</a> = XtCreateManagedWidget (<span class="stringliteral">"dialog"</span>,dialogWidgetClass,shell,args,2);
|
|---|
| 113 | 00077
|
|---|
| 114 | 00078 XawDialogAddButton (dialog,<span class="stringliteral">"Ok"</span>,Callback,(XtPointer)<span class="keyword">this</span>);
|
|---|
| 115 | 00079
|
|---|
| 116 | 00080 XtRealizeWidget (shell);
|
|---|
| 117 | 00081 }
|
|---|
| 118 | </pre></div> </td>
|
|---|
| 119 | </tr>
|
|---|
| 120 | </table>
|
|---|
| 121 |
|
|---|
| 122 | <p>
|
|---|
| 123 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_a0_cgraph.png" border="0" usemap="#classG4UIXaw_a0_cgraph_map" alt=""></center>
|
|---|
| 124 | <map name="classG4UIXaw_a0_cgraph_map">
|
|---|
| 125 | <area href="classG4UIXaw.html#h0" shape="rect" coords="266,58,402,85" alt="">
|
|---|
| 126 | <area href="classG4Xt.html#e0" shape="rect" coords="270,109,398,136" alt="">
|
|---|
| 127 | <area href="classG4VInteractorManager.html#a5" shape="rect" coords="198,160,470,186" alt="">
|
|---|
| 128 | <area href="classG4VBasicShell.html#b10" shape="rect" coords="520,8,762,34" alt="">
|
|---|
| 129 | <area href="G4UIXm_8cc.html#a6" shape="rect" coords="574,58,708,85" alt="">
|
|---|
| 130 | <area href="classG4UIXaw.html#a6" shape="rect" coords="569,109,713,136" alt="">
|
|---|
| 131 | </map>
|
|---|
| 132 | <a class="anchor" name="a1" doxytag="G4UIXaw::~G4UIXaw" ></a><p>
|
|---|
| 133 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 134 | <tr>
|
|---|
| 135 | <td class="mdRow">
|
|---|
| 136 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 137 | <tr>
|
|---|
| 138 | <td class="md" nowrap valign="top"> G4UIXaw::~<a class="el" href="classG4UIXaw.html">G4UIXaw</a> </td>
|
|---|
| 139 | <td class="md" valign="top">( </td>
|
|---|
| 140 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 141 | <td class="md" valign="top"> ) </td>
|
|---|
| 142 | <td class="md" nowrap></td>
|
|---|
| 143 | </tr>
|
|---|
| 144 |
|
|---|
| 145 | </table>
|
|---|
| 146 | </td>
|
|---|
| 147 | </tr>
|
|---|
| 148 | </table>
|
|---|
| 149 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 150 | <tr>
|
|---|
| 151 | <td>
|
|---|
| 152 |
|
|---|
| 153 | </td>
|
|---|
| 154 | <td>
|
|---|
| 155 |
|
|---|
| 156 | <p>
|
|---|
| 157 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 158 | <p>
|
|---|
| 159 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00083">83</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 160 | <p>
|
|---|
| 161 | References <a class="el" href="G4UIXaw_8hh-source.html#l00069">shell</a>.
|
|---|
| 162 | <p>
|
|---|
| 163 | <div class="fragment"><pre>00087 {
|
|---|
| 164 | 00088 XtDestroyWidget (shell);
|
|---|
| 165 | 00089 G4UImanager* UI = G4UImanager::GetUIpointer();
|
|---|
| 166 | 00090 <span class="keywordflow">if</span>(UI!=NULL) UI->SetSession(NULL);
|
|---|
| 167 | 00091 }
|
|---|
| 168 | </pre></div> </td>
|
|---|
| 169 | </tr>
|
|---|
| 170 | </table>
|
|---|
| 171 | <hr><h2>Member Function Documentation</h2>
|
|---|
| 172 | <a class="anchor" name="h0" doxytag="G4UIXaw::Callback" ></a><p>
|
|---|
| 173 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 174 | <tr>
|
|---|
| 175 | <td class="mdRow">
|
|---|
| 176 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 177 | <tr>
|
|---|
| 178 | <td class="md" nowrap valign="top"> void G4UIXaw::Callback </td>
|
|---|
| 179 | <td class="md" valign="top">( </td>
|
|---|
| 180 | <td class="md" nowrap valign="top">Widget </td>
|
|---|
| 181 | <td class="mdname" nowrap> <em>a_widget</em>, </td>
|
|---|
| 182 | </tr>
|
|---|
| 183 | <tr>
|
|---|
| 184 | <td></td>
|
|---|
| 185 | <td></td>
|
|---|
| 186 | <td class="md" nowrap>XtPointer </td>
|
|---|
| 187 | <td class="mdname" nowrap> <em>a_tag</em>, </td>
|
|---|
| 188 | </tr>
|
|---|
| 189 | <tr>
|
|---|
| 190 | <td></td>
|
|---|
| 191 | <td></td>
|
|---|
| 192 | <td class="md" nowrap>XtPointer </td>
|
|---|
| 193 | <td class="mdname" nowrap> <em>a_data</em></td>
|
|---|
| 194 | </tr>
|
|---|
| 195 | <tr>
|
|---|
| 196 | <td></td>
|
|---|
| 197 | <td class="md">) </td>
|
|---|
| 198 | <td class="md" colspan="2"><code> [static, private]</code></td>
|
|---|
| 199 | </tr>
|
|---|
| 200 |
|
|---|
| 201 | </table>
|
|---|
| 202 | </td>
|
|---|
| 203 | </tr>
|
|---|
| 204 | </table>
|
|---|
| 205 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 206 | <tr>
|
|---|
| 207 | <td>
|
|---|
| 208 |
|
|---|
| 209 | </td>
|
|---|
| 210 | <td>
|
|---|
| 211 |
|
|---|
| 212 | <p>
|
|---|
| 213 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 214 | <p>
|
|---|
| 215 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00203">203</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 216 | <p>
|
|---|
| 217 | References <a class="el" href="G4VBasicShell_8cc-source.html#l00286">G4VBasicShell::ApplyShellCommand()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00483">ConvertStringToInt()</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00054">exitHelp</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00053">exitPause</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00052">exitSession</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00070">fHelp</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00071">fHelpChoice</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00162">GetDialog()</a>.
|
|---|
| 218 | <p>
|
|---|
| 219 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00056">G4UIXaw()</a>.
|
|---|
| 220 | <p>
|
|---|
| 221 | <div class="fragment"><pre>00210 {
|
|---|
| 222 | 00211 <a class="code" href="classG4UIXaw.html">G4UIXaw</a>* This = (<a class="code" href="classG4UIXaw.html">G4UIXaw</a>*)a_tag;
|
|---|
| 223 | 00212 Widget <a class="code" href="classG4UIXaw.html#r1">dialog</a> = This-><a class="code" href="classG4UIXaw.html#a6">GetDialog</a>();
|
|---|
| 224 | 00213 <span class="keywordtype">char</span>* value = XawDialogGetValueString(dialog);
|
|---|
| 225 | 00214 <span class="keywordflow">if</span>(value==NULL) <span class="keywordflow">return</span>;
|
|---|
| 226 | 00215 G4String command (value);
|
|---|
| 227 | 00216
|
|---|
| 228 | 00217 <span class="keywordflow">if</span>(This-><a class="code" href="classG4UIXaw.html#r2">fHelp</a>==<span class="keyword">true</span>) {
|
|---|
| 229 | 00218 <a class="code" href="G4UIXaw_8cc.html#a2">exitHelp</a> = <span class="keyword">true</span>;
|
|---|
| 230 | 00219 This-><a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <a class="code" href="G4UIXm_8cc.html#a6">ConvertStringToInt</a>(command.data(),This-><a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>);
|
|---|
| 231 | 00220 } <span class="keywordflow">else</span> {
|
|---|
| 232 | 00221 This-><a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause);
|
|---|
| 233 | 00222 }
|
|---|
| 234 | 00223
|
|---|
| 235 | 00224 Arg args[1];
|
|---|
| 236 | 00225 XtSetArg (args[0],XtNvalue,<span class="stringliteral">""</span>);
|
|---|
| 237 | 00226 XtSetValues (dialog,args,1);
|
|---|
| 238 | 00227
|
|---|
| 239 | 00228 a_widget = NULL;
|
|---|
| 240 | 00229 a_data = NULL;
|
|---|
| 241 | 00230 }
|
|---|
| 242 | </pre></div> </td>
|
|---|
| 243 | </tr>
|
|---|
| 244 | </table>
|
|---|
| 245 |
|
|---|
| 246 | <p>
|
|---|
| 247 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_h0_cgraph.png" border="0" usemap="#classG4UIXaw_h0_cgraph_map" alt=""></center>
|
|---|
| 248 | <map name="classG4UIXaw_h0_cgraph_map">
|
|---|
| 249 | <area href="classG4VBasicShell.html#b10" shape="rect" coords="194,8,437,34" alt="">
|
|---|
| 250 | <area href="G4UIXm_8cc.html#a6" shape="rect" coords="249,58,382,85" alt="">
|
|---|
| 251 | <area href="classG4UIXaw.html#a6" shape="rect" coords="243,109,387,136" alt="">
|
|---|
| 252 | </map>
|
|---|
| 253 | <a class="anchor" name="d2" doxytag="G4UIXaw::ExitHelp" ></a><p>
|
|---|
| 254 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 255 | <tr>
|
|---|
| 256 | <td class="mdRow">
|
|---|
| 257 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 258 | <tr>
|
|---|
| 259 | <td class="md" nowrap valign="top"> void G4UIXaw::ExitHelp </td>
|
|---|
| 260 | <td class="md" valign="top">( </td>
|
|---|
| 261 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 262 | <td class="md" valign="top"> ) </td>
|
|---|
| 263 | <td class="md" nowrap><code> [private, virtual]</code></td>
|
|---|
| 264 | </tr>
|
|---|
| 265 |
|
|---|
| 266 | </table>
|
|---|
| 267 | </td>
|
|---|
| 268 | </tr>
|
|---|
| 269 | </table>
|
|---|
| 270 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 271 | <tr>
|
|---|
| 272 | <td>
|
|---|
| 273 |
|
|---|
| 274 | </td>
|
|---|
| 275 | <td>
|
|---|
| 276 |
|
|---|
| 277 | <p>
|
|---|
| 278 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 279 | <p>
|
|---|
| 280 | Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>.
|
|---|
| 281 | <p>
|
|---|
| 282 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00194">194</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 283 | <p>
|
|---|
| 284 | <div class="fragment"><pre>00198 {
|
|---|
| 285 | 00199 }
|
|---|
| 286 | </pre></div> </td>
|
|---|
| 287 | </tr>
|
|---|
| 288 | </table>
|
|---|
| 289 | <a class="anchor" name="a6" doxytag="G4UIXaw::GetDialog" ></a><p>
|
|---|
| 290 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 291 | <tr>
|
|---|
| 292 | <td class="mdRow">
|
|---|
| 293 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 294 | <tr>
|
|---|
| 295 | <td class="md" nowrap valign="top"> Widget G4UIXaw::GetDialog </td>
|
|---|
| 296 | <td class="md" valign="top">( </td>
|
|---|
| 297 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 298 | <td class="md" valign="top"> ) </td>
|
|---|
| 299 | <td class="md" nowrap></td>
|
|---|
| 300 | </tr>
|
|---|
| 301 |
|
|---|
| 302 | </table>
|
|---|
| 303 | </td>
|
|---|
| 304 | </tr>
|
|---|
| 305 | </table>
|
|---|
| 306 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 307 | <tr>
|
|---|
| 308 | <td>
|
|---|
| 309 |
|
|---|
| 310 | </td>
|
|---|
| 311 | <td>
|
|---|
| 312 |
|
|---|
| 313 | <p>
|
|---|
| 314 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 315 | <p>
|
|---|
| 316 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00162">162</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 317 | <p>
|
|---|
| 318 | References <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>.
|
|---|
| 319 | <p>
|
|---|
| 320 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>.
|
|---|
| 321 | <p>
|
|---|
| 322 | <div class="fragment"><pre>00166 {
|
|---|
| 323 | 00167 <span class="keywordflow">return</span> <a class="code" href="classG4UIXaw.html#r1">dialog</a>;
|
|---|
| 324 | 00168 }
|
|---|
| 325 | </pre></div> </td>
|
|---|
| 326 | </tr>
|
|---|
| 327 | </table>
|
|---|
| 328 | <a class="anchor" name="d1" doxytag="G4UIXaw::GetHelpChoice" ></a><p>
|
|---|
| 329 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 330 | <tr>
|
|---|
| 331 | <td class="mdRow">
|
|---|
| 332 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 333 | <tr>
|
|---|
| 334 | <td class="md" nowrap valign="top"> G4bool G4UIXaw::GetHelpChoice </td>
|
|---|
| 335 | <td class="md" valign="top">( </td>
|
|---|
| 336 | <td class="md" nowrap valign="top">G4int & </td>
|
|---|
| 337 | <td class="mdname1" valign="top" nowrap> <em>aInt</em> </td>
|
|---|
| 338 | <td class="md" valign="top"> ) </td>
|
|---|
| 339 | <td class="md" nowrap><code> [private, virtual]</code></td>
|
|---|
| 340 | </tr>
|
|---|
| 341 |
|
|---|
| 342 | </table>
|
|---|
| 343 | </td>
|
|---|
| 344 | </tr>
|
|---|
| 345 | </table>
|
|---|
| 346 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 347 | <tr>
|
|---|
| 348 | <td>
|
|---|
| 349 |
|
|---|
| 350 | </td>
|
|---|
| 351 | <td>
|
|---|
| 352 |
|
|---|
| 353 | <p>
|
|---|
| 354 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 355 | <p>
|
|---|
| 356 | Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>.
|
|---|
| 357 | <p>
|
|---|
| 358 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00170">170</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 359 | <p>
|
|---|
| 360 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00054">exitHelp</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00070">fHelp</a>, <a class="el" href="G4UIXaw_8hh-source.html#l00071">fHelpChoice</a>, <a class="el" href="G4Xt_8cc-source.html#l00152">G4Xt::GetEvent()</a>, <a class="el" href="G4Xt_8cc-source.html#l00059">G4Xt::getInstance()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00111">Prompt()</a>.
|
|---|
| 361 | <p>
|
|---|
| 362 | <div class="fragment"><pre>00175 {
|
|---|
| 363 | 00176 <a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <span class="keyword">true</span>;
|
|---|
| 364 | 00177 <span class="comment">//</span>
|
|---|
| 365 | 00178 <a class="code" href="classG4Xt.html">G4Xt</a>* interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
|
|---|
| 366 | 00179 <a class="code" href="classG4UIXaw.html#a3">Prompt</a>(<span class="stringliteral">"Help"</span>);
|
|---|
| 367 | 00180 <a class="code" href="G4UIXaw_8cc.html#a2">exitHelp</a> = <span class="keyword">false</span>;
|
|---|
| 368 | 00181 <span class="keywordtype">void</span>* event;
|
|---|
| 369 | 00182 <span class="keywordflow">while</span>((event = interactorManager-><a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
|
|---|
| 370 | 00183 interactorManager-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
|
|---|
| 371 | 00184 <span class="keywordflow">if</span>(<a class="code" href="G4UIXaw_8cc.html#a2">exitHelp</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
|
|---|
| 372 | 00185 }
|
|---|
| 373 | 00186 <a class="code" href="classG4UIXaw.html#a3">Prompt</a>(<span class="stringliteral">"session"</span>);
|
|---|
| 374 | 00187 <span class="comment">//</span>
|
|---|
| 375 | 00188 <span class="keywordflow">if</span>(<a class="code" href="classG4UIXaw.html#r2">fHelp</a>==<span class="keyword">false</span>) <span class="keywordflow">return</span> <span class="keyword">false</span>;
|
|---|
| 376 | 00189 aInt = <a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>;
|
|---|
| 377 | 00190 <a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <span class="keyword">false</span>;
|
|---|
| 378 | 00191 <span class="keywordflow">return</span> <span class="keyword">true</span>;
|
|---|
| 379 | 00192 }
|
|---|
| 380 | </pre></div> </td>
|
|---|
| 381 | </tr>
|
|---|
| 382 | </table>
|
|---|
| 383 |
|
|---|
| 384 | <p>
|
|---|
| 385 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_d1_cgraph.png" border="0" usemap="#classG4UIXaw_d1_cgraph_map" alt=""></center>
|
|---|
| 386 | <map name="classG4UIXaw_d1_cgraph_map">
|
|---|
| 387 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="233,8,483,34" alt="">
|
|---|
| 388 | <area href="classG4Xt.html#a2" shape="rect" coords="301,58,415,85" alt="">
|
|---|
| 389 | <area href="classG4Xt.html#e0" shape="rect" coords="294,109,422,136" alt="">
|
|---|
| 390 | <area href="classG4UIXaw.html#a3" shape="rect" coords="294,160,422,186" alt="">
|
|---|
| 391 | </map>
|
|---|
| 392 | <a class="anchor" name="a5" doxytag="G4UIXaw::PauseSessionStart" ></a><p>
|
|---|
| 393 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 394 | <tr>
|
|---|
| 395 | <td class="mdRow">
|
|---|
| 396 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 397 | <tr>
|
|---|
| 398 | <td class="md" nowrap valign="top"> void G4UIXaw::PauseSessionStart </td>
|
|---|
| 399 | <td class="md" valign="top">( </td>
|
|---|
| 400 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 401 | <td class="mdname1" valign="top" nowrap> <em>a_state</em> </td>
|
|---|
| 402 | <td class="md" valign="top"> ) </td>
|
|---|
| 403 | <td class="md" nowrap><code> [virtual]</code></td>
|
|---|
| 404 | </tr>
|
|---|
| 405 |
|
|---|
| 406 | </table>
|
|---|
| 407 | </td>
|
|---|
| 408 | </tr>
|
|---|
| 409 | </table>
|
|---|
| 410 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 411 | <tr>
|
|---|
| 412 | <td>
|
|---|
| 413 |
|
|---|
| 414 | </td>
|
|---|
| 415 | <td>
|
|---|
| 416 |
|
|---|
| 417 | <p>
|
|---|
| 418 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 419 | <p>
|
|---|
| 420 | Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>.
|
|---|
| 421 | <p>
|
|---|
| 422 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00129">129</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 423 | <p>
|
|---|
| 424 | References <a class="el" href="G4UIXaw_8cc-source.html#l00145">SecondaryLoop()</a>.
|
|---|
| 425 | <p>
|
|---|
| 426 | <div class="fragment"><pre>00134 {
|
|---|
| 427 | 00135 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"G4_pause> "</span>) {
|
|---|
| 428 | 00136 <a class="code" href="classG4UIXaw.html#d0">SecondaryLoop</a> (<span class="stringliteral">"Pause, type continue to exit this state"</span>);
|
|---|
| 429 | 00137 }
|
|---|
| 430 | 00138
|
|---|
| 431 | 00139 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"EndOfEvent"</span>) {
|
|---|
| 432 | 00140 <span class="comment">// Picking with feed back in event data Done here !!!</span>
|
|---|
| 433 | 00141 <a class="code" href="classG4UIXaw.html#d0">SecondaryLoop</a> (<span class="stringliteral">"End of event, type continue to exit this state"</span>);
|
|---|
| 434 | 00142 }
|
|---|
| 435 | 00143 }
|
|---|
| 436 | </pre></div> </td>
|
|---|
| 437 | </tr>
|
|---|
| 438 | </table>
|
|---|
| 439 |
|
|---|
| 440 | <p>
|
|---|
| 441 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_a5_cgraph.png" border="0" usemap="#classG4UIXaw_a5_cgraph_map" alt=""></center>
|
|---|
| 442 | <map name="classG4UIXaw_a5_cgraph_map">
|
|---|
| 443 | <area href="classG4UIXaw.html#d0" shape="rect" coords="256,84,434,110" alt="">
|
|---|
| 444 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="484,8,734,34" alt="">
|
|---|
| 445 | <area href="classG4Xt.html#a2" shape="rect" coords="552,58,666,85" alt="">
|
|---|
| 446 | <area href="classG4Xt.html#e0" shape="rect" coords="545,109,673,136" alt="">
|
|---|
| 447 | <area href="classG4UIXaw.html#a3" shape="rect" coords="545,160,673,186" alt="">
|
|---|
| 448 | </map>
|
|---|
| 449 | <a class="anchor" name="a3" doxytag="G4UIXaw::Prompt" ></a><p>
|
|---|
| 450 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 451 | <tr>
|
|---|
| 452 | <td class="mdRow">
|
|---|
| 453 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 454 | <tr>
|
|---|
| 455 | <td class="md" nowrap valign="top"> void G4UIXaw::Prompt </td>
|
|---|
| 456 | <td class="md" valign="top">( </td>
|
|---|
| 457 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 458 | <td class="mdname1" valign="top" nowrap> <em>aPrompt</em> </td>
|
|---|
| 459 | <td class="md" valign="top"> ) </td>
|
|---|
| 460 | <td class="md" nowrap></td>
|
|---|
| 461 | </tr>
|
|---|
| 462 |
|
|---|
| 463 | </table>
|
|---|
| 464 | </td>
|
|---|
| 465 | </tr>
|
|---|
| 466 | </table>
|
|---|
| 467 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 468 | <tr>
|
|---|
| 469 | <td>
|
|---|
| 470 |
|
|---|
| 471 | </td>
|
|---|
| 472 | <td>
|
|---|
| 473 |
|
|---|
| 474 | <p>
|
|---|
| 475 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 476 | <p>
|
|---|
| 477 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00111">111</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 478 | <p>
|
|---|
| 479 | References <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>.
|
|---|
| 480 | <p>
|
|---|
| 481 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00170">GetHelpChoice()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00145">SecondaryLoop()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00093">SessionStart()</a>.
|
|---|
| 482 | <p>
|
|---|
| 483 | <div class="fragment"><pre>00116 {
|
|---|
| 484 | 00117 Arg args[1];
|
|---|
| 485 | 00118 XtSetArg (args[0],XtNlabel,aPrompt.data());
|
|---|
| 486 | 00119 XtSetValues (dialog,args,1);
|
|---|
| 487 | 00120 }
|
|---|
| 488 | </pre></div> </td>
|
|---|
| 489 | </tr>
|
|---|
| 490 | </table>
|
|---|
| 491 | <a class="anchor" name="d0" doxytag="G4UIXaw::SecondaryLoop" ></a><p>
|
|---|
| 492 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 493 | <tr>
|
|---|
| 494 | <td class="mdRow">
|
|---|
| 495 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 496 | <tr>
|
|---|
| 497 | <td class="md" nowrap valign="top"> void G4UIXaw::SecondaryLoop </td>
|
|---|
| 498 | <td class="md" valign="top">( </td>
|
|---|
| 499 | <td class="md" nowrap valign="top">G4String </td>
|
|---|
| 500 | <td class="mdname1" valign="top" nowrap> <em>a_prompt</em> </td>
|
|---|
| 501 | <td class="md" valign="top"> ) </td>
|
|---|
| 502 | <td class="md" nowrap><code> [private]</code></td>
|
|---|
| 503 | </tr>
|
|---|
| 504 |
|
|---|
| 505 | </table>
|
|---|
| 506 | </td>
|
|---|
| 507 | </tr>
|
|---|
| 508 | </table>
|
|---|
| 509 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 510 | <tr>
|
|---|
| 511 | <td>
|
|---|
| 512 |
|
|---|
| 513 | </td>
|
|---|
| 514 | <td>
|
|---|
| 515 |
|
|---|
| 516 | <p>
|
|---|
| 517 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 518 | <p>
|
|---|
| 519 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00145">145</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 520 | <p>
|
|---|
| 521 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00053">exitPause</a>, <a class="el" href="G4Xt_8cc-source.html#l00152">G4Xt::GetEvent()</a>, <a class="el" href="G4Xt_8cc-source.html#l00059">G4Xt::getInstance()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00111">Prompt()</a>.
|
|---|
| 522 | <p>
|
|---|
| 523 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00129">PauseSessionStart()</a>.
|
|---|
| 524 | <p>
|
|---|
| 525 | <div class="fragment"><pre>00150 {
|
|---|
| 526 | 00151 <a class="code" href="classG4Xt.html">G4Xt</a>* interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
|
|---|
| 527 | 00152 <a class="code" href="classG4UIXaw.html#a3">Prompt</a> (a_prompt);
|
|---|
| 528 | 00153 <a class="code" href="G4UIXaw_8cc.html#a1">exitPause</a> = <span class="keyword">false</span>;
|
|---|
| 529 | 00154 <span class="keywordtype">void</span>* event;
|
|---|
| 530 | 00155 <span class="keywordflow">while</span>((event = interactorManager-><a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
|
|---|
| 531 | 00156 interactorManager-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
|
|---|
| 532 | 00157 <span class="keywordflow">if</span>(<a class="code" href="G4UIXaw_8cc.html#a1">exitPause</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
|
|---|
| 533 | 00158 }
|
|---|
| 534 | 00159 <a class="code" href="classG4UIXaw.html#a3">Prompt</a> (<span class="stringliteral">"session"</span>);
|
|---|
| 535 | 00160 }
|
|---|
| 536 | </pre></div> </td>
|
|---|
| 537 | </tr>
|
|---|
| 538 | </table>
|
|---|
| 539 |
|
|---|
| 540 | <p>
|
|---|
| 541 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_d0_cgraph.png" border="0" usemap="#classG4UIXaw_d0_cgraph_map" alt=""></center>
|
|---|
| 542 | <map name="classG4UIXaw_d0_cgraph_map">
|
|---|
| 543 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="236,8,486,34" alt="">
|
|---|
| 544 | <area href="classG4Xt.html#a2" shape="rect" coords="304,58,418,85" alt="">
|
|---|
| 545 | <area href="classG4Xt.html#e0" shape="rect" coords="297,109,425,136" alt="">
|
|---|
| 546 | <area href="classG4UIXaw.html#a3" shape="rect" coords="297,160,425,186" alt="">
|
|---|
| 547 | </map>
|
|---|
| 548 | <a class="anchor" name="a2" doxytag="G4UIXaw::SessionStart" ></a><p>
|
|---|
| 549 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 550 | <tr>
|
|---|
| 551 | <td class="mdRow">
|
|---|
| 552 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 553 | <tr>
|
|---|
| 554 | <td class="md" nowrap valign="top"> G4UIsession * G4UIXaw::SessionStart </td>
|
|---|
| 555 | <td class="md" valign="top">( </td>
|
|---|
| 556 | <td class="mdname1" valign="top" nowrap> </td>
|
|---|
| 557 | <td class="md" valign="top"> ) </td>
|
|---|
| 558 | <td class="md" nowrap><code> [virtual]</code></td>
|
|---|
| 559 | </tr>
|
|---|
| 560 |
|
|---|
| 561 | </table>
|
|---|
| 562 | </td>
|
|---|
| 563 | </tr>
|
|---|
| 564 | </table>
|
|---|
| 565 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 566 | <tr>
|
|---|
| 567 | <td>
|
|---|
| 568 |
|
|---|
| 569 | </td>
|
|---|
| 570 | <td>
|
|---|
| 571 |
|
|---|
| 572 | <p>
|
|---|
| 573 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|---|
| 574 | <p>
|
|---|
| 575 | Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>.
|
|---|
| 576 | <p>
|
|---|
| 577 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00093">93</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 578 | <p>
|
|---|
| 579 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00144">G4VInteractorManager::DisableSecondaryLoop()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00136">G4VInteractorManager::EnableSecondaryLoop()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00052">exitSession</a>, <a class="el" href="G4Xt_8cc-source.html#l00152">G4Xt::GetEvent()</a>, <a class="el" href="G4Xt_8cc-source.html#l00059">G4Xt::getInstance()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00111">Prompt()</a>.
|
|---|
| 580 | <p>
|
|---|
| 581 | <div class="fragment"><pre>00097 {
|
|---|
| 582 | 00098 <a class="code" href="classG4Xt.html">G4Xt</a>* interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
|
|---|
| 583 | 00099 <a class="code" href="classG4UIXaw.html#a3">Prompt</a> (<span class="stringliteral">"session"</span>);
|
|---|
| 584 | 00100 <a class="code" href="G4UIXaw_8cc.html#a0">exitSession</a> = <span class="keyword">false</span>;
|
|---|
| 585 | 00101 interactorManager-><a class="code" href="classG4VInteractorManager.html#a13">DisableSecondaryLoop</a> ();
|
|---|
| 586 | 00102 <span class="keywordtype">void</span>* event;
|
|---|
| 587 | 00103 <span class="keywordflow">while</span>((event = interactorManager-><a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
|
|---|
| 588 | 00104 interactorManager-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
|
|---|
| 589 | 00105 <span class="keywordflow">if</span>(<a class="code" href="G4UIXaw_8cc.html#a0">exitSession</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>;
|
|---|
| 590 | 00106 }
|
|---|
| 591 | 00107 interactorManager-><a class="code" href="classG4VInteractorManager.html#a12">EnableSecondaryLoop</a> ();
|
|---|
| 592 | 00108 <span class="keywordflow">return</span> <span class="keyword">this</span>;
|
|---|
| 593 | 00109 }
|
|---|
| 594 | </pre></div> </td>
|
|---|
| 595 | </tr>
|
|---|
| 596 | </table>
|
|---|
| 597 |
|
|---|
| 598 | <p>
|
|---|
| 599 | Here is the call graph for this function:<p><center><img src="classG4UIXaw_a2_cgraph.png" border="0" usemap="#classG4UIXaw_a2_cgraph_map" alt=""></center>
|
|---|
| 600 | <map name="classG4UIXaw_a2_cgraph_map">
|
|---|
| 601 | <area href="classG4VInteractorManager.html#a13" shape="rect" coords="220,8,521,34" alt="">
|
|---|
| 602 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="245,58,496,85" alt="">
|
|---|
| 603 | <area href="classG4VInteractorManager.html#a12" shape="rect" coords="221,109,520,136" alt="">
|
|---|
| 604 | <area href="classG4Xt.html#a2" shape="rect" coords="313,160,428,186" alt="">
|
|---|
| 605 | <area href="classG4Xt.html#e0" shape="rect" coords="306,210,434,237" alt="">
|
|---|
| 606 | <area href="classG4UIXaw.html#a3" shape="rect" coords="306,261,434,288" alt="">
|
|---|
| 607 | </map>
|
|---|
| 608 | <a class="anchor" name="a4" doxytag="G4UIXaw::SessionTerminate" ></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 G4UIXaw::SessionTerminate </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></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 | Definition at line <a class="el" href="G4UIXaw_8cc-source.html#l00122">122</a> of file <a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a>.
|
|---|
| 636 | <p>
|
|---|
| 637 | <div class="fragment"><pre>00126 {
|
|---|
| 638 | 00127 }
|
|---|
| 639 | </pre></div> </td>
|
|---|
| 640 | </tr>
|
|---|
| 641 | </table>
|
|---|
| 642 | <hr><h2>Member Data Documentation</h2>
|
|---|
| 643 | <a class="anchor" name="r1" doxytag="G4UIXaw::dialog" ></a><p>
|
|---|
| 644 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 645 | <tr>
|
|---|
| 646 | <td class="mdRow">
|
|---|
| 647 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 648 | <tr>
|
|---|
| 649 | <td class="md" nowrap valign="top"> Widget <a class="el" href="classG4UIXaw.html#r1">G4UIXaw::dialog</a><code> [private]</code>
|
|---|
| 650 | </table>
|
|---|
| 651 | </td>
|
|---|
| 652 | </tr>
|
|---|
| 653 | </table>
|
|---|
| 654 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 655 | <tr>
|
|---|
| 656 | <td>
|
|---|
| 657 |
|
|---|
| 658 | </td>
|
|---|
| 659 | <td>
|
|---|
| 660 |
|
|---|
| 661 | <p>
|
|---|
| 662 |
|
|---|
| 663 | <p>
|
|---|
| 664 | Definition at line <a class="el" href="G4UIXaw_8hh-source.html#l00069">69</a> of file <a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>.
|
|---|
| 665 | <p>
|
|---|
| 666 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00056">G4UIXaw()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00162">GetDialog()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00111">Prompt()</a>. </td>
|
|---|
| 667 | </tr>
|
|---|
| 668 | </table>
|
|---|
| 669 | <a class="anchor" name="r2" doxytag="G4UIXaw::fHelp" ></a><p>
|
|---|
| 670 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 671 | <tr>
|
|---|
| 672 | <td class="mdRow">
|
|---|
| 673 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 674 | <tr>
|
|---|
| 675 | <td class="md" nowrap valign="top"> G4bool <a class="el" href="classG4UIXaw.html#r2">G4UIXaw::fHelp</a><code> [private]</code>
|
|---|
| 676 | </table>
|
|---|
| 677 | </td>
|
|---|
| 678 | </tr>
|
|---|
| 679 | </table>
|
|---|
| 680 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 681 | <tr>
|
|---|
| 682 | <td>
|
|---|
| 683 |
|
|---|
| 684 | </td>
|
|---|
| 685 | <td>
|
|---|
| 686 |
|
|---|
| 687 | <p>
|
|---|
| 688 |
|
|---|
| 689 | <p>
|
|---|
| 690 | Definition at line <a class="el" href="G4UIXaw_8hh-source.html#l00070">70</a> of file <a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>.
|
|---|
| 691 | <p>
|
|---|
| 692 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00170">GetHelpChoice()</a>. </td>
|
|---|
| 693 | </tr>
|
|---|
| 694 | </table>
|
|---|
| 695 | <a class="anchor" name="r3" doxytag="G4UIXaw::fHelpChoice" ></a><p>
|
|---|
| 696 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 697 | <tr>
|
|---|
| 698 | <td class="mdRow">
|
|---|
| 699 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 700 | <tr>
|
|---|
| 701 | <td class="md" nowrap valign="top"> G4int <a class="el" href="classG4UIXaw.html#r3">G4UIXaw::fHelpChoice</a><code> [private]</code>
|
|---|
| 702 | </table>
|
|---|
| 703 | </td>
|
|---|
| 704 | </tr>
|
|---|
| 705 | </table>
|
|---|
| 706 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 707 | <tr>
|
|---|
| 708 | <td>
|
|---|
| 709 |
|
|---|
| 710 | </td>
|
|---|
| 711 | <td>
|
|---|
| 712 |
|
|---|
| 713 | <p>
|
|---|
| 714 |
|
|---|
| 715 | <p>
|
|---|
| 716 | Definition at line <a class="el" href="G4UIXaw_8hh-source.html#l00071">71</a> of file <a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>.
|
|---|
| 717 | <p>
|
|---|
| 718 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00170">GetHelpChoice()</a>. </td>
|
|---|
| 719 | </tr>
|
|---|
| 720 | </table>
|
|---|
| 721 | <a class="anchor" name="r0" doxytag="G4UIXaw::shell" ></a><p>
|
|---|
| 722 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|---|
| 723 | <tr>
|
|---|
| 724 | <td class="mdRow">
|
|---|
| 725 | <table cellpadding="0" cellspacing="0" border="0">
|
|---|
| 726 | <tr>
|
|---|
| 727 | <td class="md" nowrap valign="top"> Widget <a class="el" href="classG4UIXaw.html#r0">G4UIXaw::shell</a><code> [private]</code>
|
|---|
| 728 | </table>
|
|---|
| 729 | </td>
|
|---|
| 730 | </tr>
|
|---|
| 731 | </table>
|
|---|
| 732 | <table cellspacing=5 cellpadding=0 border=0>
|
|---|
| 733 | <tr>
|
|---|
| 734 | <td>
|
|---|
| 735 |
|
|---|
| 736 | </td>
|
|---|
| 737 | <td>
|
|---|
| 738 |
|
|---|
| 739 | <p>
|
|---|
| 740 |
|
|---|
| 741 | <p>
|
|---|
| 742 | Definition at line <a class="el" href="G4UIXaw_8hh-source.html#l00069">69</a> of file <a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>.
|
|---|
| 743 | <p>
|
|---|
| 744 | Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00056">G4UIXaw()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00083">~G4UIXaw()</a>. </td>
|
|---|
| 745 | </tr>
|
|---|
| 746 | </table>
|
|---|
| 747 | <hr>The documentation for this class was generated from the following files:<ul>
|
|---|
| 748 | <li><a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a><li><a class="el" href="G4UIXaw_8cc-source.html">G4UIXaw.cc</a></ul>
|
|---|
| 749 | <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:47 2007 by
|
|---|
| 750 | <a href="http://www.doxygen.org/index.html">
|
|---|
| 751 | <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
|
|---|
| 752 | </a>1.3.4 </small></address>
|
|---|
| 753 | </body>
|
|---|
| 754 | </html>
|
|---|