source: trunk/source/interfaces/html/classG4UIXaw.html @ 850

Last change on this file since 850 was 571, checked in by garnier, 17 years ago

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

  • Property svn:mime-type set to text/html
File size: 35.4 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>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&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8<h1>G4UIXaw Class Reference</h1><code>#include &lt;<a class="el" href="G4UIXaw_8hh-source.html">G4UIXaw.hh</a>&gt;</code>
9<p>
10Inheritance 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>&nbsp;</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>&nbsp;</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 *&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#d1">GetHelpChoice</a> (G4int &amp;)</td></tr>
39
40<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</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&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIXaw.html#r3">fHelpChoice</a></td></tr>
53
54</table>
55<hr><h2>Constructor &amp; 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">(&nbsp;</td>
64          <td class="md" nowrap valign="top">int&nbsp;</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 **&nbsp;</td>
71          <td class="mdname" nowrap> <em>argv</em></td>
72        </tr>
73        <tr>
74          <td></td>
75          <td class="md">)&nbsp;</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      &nbsp;
87    </td>
88    <td>
89
90<p>
91!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
92<p>
93Definition 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>
95References <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>)
9800061 ,<a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>(0)
9900062 <span class="comment">/***************************************************************************/</span>
10000064 {
10100065   G4UImanager* UI = G4UImanager::GetUIpointer();
10200066   <span class="keywordflow">if</span>(UI!=NULL) UI-&gt;SetSession(<span class="keyword">this</span>);
10300067
10400068   <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>);
10500069   Widget    top = (Widget)interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a5">GetMainInteractor</a>();
10600070
10700071   <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);
10800072
10900073   Arg       args[2];
11000074   XtSetArg  (args[0],XtNlabel,<span class="stringliteral">"G4 command"</span>);
11100075   XtSetArg  (args[1],XtNvalue,<span class="stringliteral">""</span>);             <span class="comment">// Needed to have a text Area.</span>
11200076   <a class="code" href="classG4UIXaw.html#r1">dialog</a>    = XtCreateManagedWidget (<span class="stringliteral">"dialog"</span>,dialogWidgetClass,shell,args,2);
11300077
11400078   XawDialogAddButton (dialog,<span class="stringliteral">"Ok"</span>,Callback,(XtPointer)<span class="keyword">this</span>);
11500079
11600080   XtRealizeWidget (shell);
11700081 }
118</pre></div>    </td>
119  </tr>
120</table>
121
122<p>
123Here 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">(&nbsp;</td>
140          <td class="mdname1" valign="top" nowrap>          </td>
141          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
153    </td>
154    <td>
155
156<p>
157!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
158<p>
159Definition 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>
161References <a class="el" href="G4UIXaw_8hh-source.html#l00069">shell</a>.
162<p>
163<div class="fragment"><pre>00087 {
16400088   XtDestroyWidget (shell);
16500089   G4UImanager* UI = G4UImanager::GetUIpointer();
16600090   <span class="keywordflow">if</span>(UI!=NULL) UI-&gt;SetSession(NULL);
16700091 }
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">(&nbsp;</td>
180          <td class="md" nowrap valign="top">Widget&nbsp;</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&nbsp;</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&nbsp;</td>
193          <td class="mdname" nowrap> <em>a_data</em></td>
194        </tr>
195        <tr>
196          <td></td>
197          <td class="md">)&nbsp;</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      &nbsp;
209    </td>
210    <td>
211
212<p>
213!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
214<p>
215Definition 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>
217References <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>
219Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00056">G4UIXaw()</a>.
220<p>
221<div class="fragment"><pre>00210 {
22200211   <a class="code" href="classG4UIXaw.html">G4UIXaw</a>*     This = (<a class="code" href="classG4UIXaw.html">G4UIXaw</a>*)a_tag;
22300212   Widget       <a class="code" href="classG4UIXaw.html#r1">dialog</a> = This-&gt;<a class="code" href="classG4UIXaw.html#a6">GetDialog</a>();
22400213   <span class="keywordtype">char</span>*        value = XawDialogGetValueString(dialog);
22500214   <span class="keywordflow">if</span>(value==NULL) <span class="keywordflow">return</span>;
22600215   G4String     command (value);
22700216
22800217   <span class="keywordflow">if</span>(This-&gt;<a class="code" href="classG4UIXaw.html#r2">fHelp</a>==<span class="keyword">true</span>) {
22900218     <a class="code" href="G4UIXaw_8cc.html#a2">exitHelp</a> = <span class="keyword">true</span>;
23000219     This-&gt;<a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <a class="code" href="G4UIXm_8cc.html#a6">ConvertStringToInt</a>(command.data(),This-&gt;<a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>);
23100220   } <span class="keywordflow">else</span> {
23200221     This-&gt;<a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause);
23300222   }
23400223
23500224   Arg          args[1];
23600225   XtSetArg     (args[0],XtNvalue,<span class="stringliteral">""</span>);
23700226   XtSetValues  (dialog,args,1);
23800227
23900228   a_widget     = NULL;
24000229   a_data       = NULL;
24100230 }
242</pre></div>    </td>
243  </tr>
244</table>
245
246<p>
247Here 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">(&nbsp;</td>
261          <td class="mdname1" valign="top" nowrap>          </td>
262          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
274    </td>
275    <td>
276
277<p>
278!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
279<p>
280Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>.
281<p>
282Definition 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 {
28500199 }
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">(&nbsp;</td>
297          <td class="mdname1" valign="top" nowrap>          </td>
298          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
310    </td>
311    <td>
312
313<p>
314!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
315<p>
316Definition 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>
318References <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>.
319<p>
320Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00203">Callback()</a>.
321<p>
322<div class="fragment"><pre>00166 {
32300167   <span class="keywordflow">return</span> <a class="code" href="classG4UIXaw.html#r1">dialog</a>;
32400168 }
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">(&nbsp;</td>
336          <td class="md" nowrap valign="top">G4int &amp;&nbsp;</td>
337          <td class="mdname1" valign="top" nowrap> <em>aInt</em>          </td>
338          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
350    </td>
351    <td>
352
353<p>
354!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
355<p>
356Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>.
357<p>
358Definition 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>
360References <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 {
36300176   <a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <span class="keyword">true</span>;
36400177   <span class="comment">//</span>
36500178   <a class="code" href="classG4Xt.html">G4Xt</a>* interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
36600179   <a class="code" href="classG4UIXaw.html#a3">Prompt</a>(<span class="stringliteral">"Help"</span>);
36700180   <a class="code" href="G4UIXaw_8cc.html#a2">exitHelp</a> = <span class="keyword">false</span>;
36800181   <span class="keywordtype">void</span>* event;
36900182   <span class="keywordflow">while</span>((event = interactorManager-&gt;<a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
37000183     interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
37100184     <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>;
37200185   }
37300186   <a class="code" href="classG4UIXaw.html#a3">Prompt</a>(<span class="stringliteral">"session"</span>);
37400187   <span class="comment">//</span>
37500188   <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>;
37600189   aInt = <a class="code" href="classG4UIXaw.html#r3">fHelpChoice</a>;
37700190   <a class="code" href="classG4UIXaw.html#r2">fHelp</a> = <span class="keyword">false</span>;
37800191   <span class="keywordflow">return</span> <span class="keyword">true</span>;
37900192 }
380</pre></div>    </td>
381  </tr>
382</table>
383
384<p>
385Here 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">(&nbsp;</td>
400          <td class="md" nowrap valign="top">G4String&nbsp;</td>
401          <td class="mdname1" valign="top" nowrap> <em>a_state</em>          </td>
402          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
414    </td>
415    <td>
416
417<p>
418!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
419<p>
420Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>.
421<p>
422Definition 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>
424References <a class="el" href="G4UIXaw_8cc-source.html#l00145">SecondaryLoop()</a>.
425<p>
426<div class="fragment"><pre>00134 {
42700135   <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"G4_pause&gt; "</span>) {
42800136     <a class="code" href="classG4UIXaw.html#d0">SecondaryLoop</a> (<span class="stringliteral">"Pause, type continue to exit this state"</span>);
42900137   }
43000138
43100139   <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"EndOfEvent"</span>) {
43200140     <span class="comment">// Picking with feed back in event data Done here !!!</span>
43300141     <a class="code" href="classG4UIXaw.html#d0">SecondaryLoop</a> (<span class="stringliteral">"End of event, type continue to exit this state"</span>);
43400142   }
43500143 }
436</pre></div>    </td>
437  </tr>
438</table>
439
440<p>
441Here 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">(&nbsp;</td>
457          <td class="md" nowrap valign="top">G4String&nbsp;</td>
458          <td class="mdname1" valign="top" nowrap> <em>aPrompt</em>          </td>
459          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
471    </td>
472    <td>
473
474<p>
475!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
476<p>
477Definition 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>
479References <a class="el" href="G4UIXaw_8hh-source.html#l00069">dialog</a>.
480<p>
481Referenced 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 {
48400117   Arg          args[1];
48500118   XtSetArg     (args[0],XtNlabel,aPrompt.data());
48600119   XtSetValues  (dialog,args,1);
48700120 }
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">(&nbsp;</td>
499          <td class="md" nowrap valign="top">G4String&nbsp;</td>
500          <td class="mdname1" valign="top" nowrap> <em>a_prompt</em>          </td>
501          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
513    </td>
514    <td>
515
516<p>
517!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
518<p>
519Definition 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>
521References <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>
523Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00129">PauseSessionStart()</a>.
524<p>
525<div class="fragment"><pre>00150 {
52600151   <a class="code" href="classG4Xt.html">G4Xt</a>*         interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
52700152   <a class="code" href="classG4UIXaw.html#a3">Prompt</a>        (a_prompt);
52800153   <a class="code" href="G4UIXaw_8cc.html#a1">exitPause</a>     = <span class="keyword">false</span>;
52900154   <span class="keywordtype">void</span>*         event;
53000155   <span class="keywordflow">while</span>((event = interactorManager-&gt;<a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
53100156     interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
53200157     <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>;
53300158   }
53400159   <a class="code" href="classG4UIXaw.html#a3">Prompt</a>       (<span class="stringliteral">"session"</span>);
53500160 }
536</pre></div>    </td>
537  </tr>
538</table>
539
540<p>
541Here 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">(&nbsp;</td>
556          <td class="mdname1" valign="top" nowrap>          </td>
557          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
569    </td>
570    <td>
571
572<p>
573!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
574<p>
575Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>.
576<p>
577Definition 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>
579References <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 {
58200098   <a class="code" href="classG4Xt.html">G4Xt</a>*        interactorManager = <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> ();
58300099   <a class="code" href="classG4UIXaw.html#a3">Prompt</a>       (<span class="stringliteral">"session"</span>);
58400100   <a class="code" href="G4UIXaw_8cc.html#a0">exitSession</a>  = <span class="keyword">false</span>;
58500101   interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a13">DisableSecondaryLoop</a> ();
58600102   <span class="keywordtype">void</span>*        event;
58700103   <span class="keywordflow">while</span>((event = interactorManager-&gt;<a class="code" href="classG4Xt.html#a2">GetEvent</a>())!=NULL) {
58800104     interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event);
58900105     <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>;
59000106   }
59100107   interactorManager-&gt;<a class="code" href="classG4VInteractorManager.html#a12">EnableSecondaryLoop</a> ();
59200108   <span class="keywordflow">return</span>       <span class="keyword">this</span>;
59300109 }
594</pre></div>    </td>
595  </tr>
596</table>
597
598<p>
599Here 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">(&nbsp;</td>
616          <td class="mdname1" valign="top" nowrap>          </td>
617          <td class="md" valign="top">&nbsp;)&nbsp;</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      &nbsp;
629    </td>
630    <td>
631
632<p>
633!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
634<p>
635Definition 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 {
63800127 }
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      &nbsp;
658    </td>
659    <td>
660
661<p>
662
663<p>
664Definition 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>
666Referenced 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      &nbsp;
684    </td>
685    <td>
686
687<p>
688
689<p>
690Definition 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>
692Referenced 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      &nbsp;
710    </td>
711    <td>
712
713<p>
714
715<p>
716Definition 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>
718Referenced 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      &nbsp;
736    </td>
737    <td>
738
739<p>
740
741<p>
742Definition 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>
744Referenced 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>
Note: See TracBrowser for help on using the repository browser.