source: trunk/source/interfaces/html/classG4Xt.html @ 828

Last change on this file since 828 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: 23.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>G4Xt 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>G4Xt Class Reference</h1><code>#include &lt;<a class="el" href="G4Xt_8hh-source.html">G4Xt.hh</a>&gt;</code>
9<p>
10Inheritance diagram for G4Xt:<p><center><img src="classG4Xt__inherit__graph.png" border="0" usemap="#G4Xt__inherit__map" alt="Inheritance graph"></center>
11<map name="G4Xt__inherit__map">
12<area href="classG4VInteractorManager.html" shape="rect" coords="7,8,229,744" alt="">
13</map>
14<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for G4Xt:<p><center><img src="classG4Xt__coll__graph.png" border="0" usemap="#G4Xt__coll__map" alt="Collaboration graph"></center>
15<map name="G4Xt__coll__map">
16<area href="classG4VInteractorManager.html" shape="rect" coords="8,8,229,744" alt="">
17</map>
18<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classG4Xt-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>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#a0">PutStringInResourceDatabase</a> (char *)</td></tr>
22
23<tr><td class="memItemLeft" nowrap align=right valign=top>G4bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#a1">Inited</a> ()</td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#a2">GetEvent</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="classG4Xt.html#a3">FlushAndWaitExecution</a> ()</td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#a4">~G4Xt</a> ()</td></tr>
30
31<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
32<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4Xt.html">G4Xt</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#e0">getInstance</a> ()</td></tr>
33
34<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4Xt.html">G4Xt</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#e1">getInstance</a> (int, char **, char *)</td></tr>
35
36<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
37<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#d0">G4Xt</a> (int, char **, char *)</td></tr>
38
39<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
40<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4Xt.html">G4Xt</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4Xt.html#v0">instance</a> = NULL</td></tr>
41
42</table>
43<hr><h2>Constructor &amp; Destructor Documentation</h2>
44<a class="anchor" name="a4" doxytag="G4Xt::~G4Xt" ></a><p>
45<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
46  <tr>
47    <td class="mdRow">
48      <table cellpadding="0" cellspacing="0" border="0">
49        <tr>
50          <td class="md" nowrap valign="top"> G4Xt::~<a class="el" href="classG4Xt.html">G4Xt</a> </td>
51          <td class="md" valign="top">(&nbsp;</td>
52          <td class="mdname1" valign="top" nowrap>          </td>
53          <td class="md" valign="top">&nbsp;)&nbsp;</td>
54          <td class="md" nowrap><code> [virtual]</code></td>
55        </tr>
56
57      </table>
58    </td>
59  </tr>
60</table>
61<table cellspacing=5 cellpadding=0 border=0>
62  <tr>
63    <td>
64      &nbsp;
65    </td>
66    <td>
67
68<p>
69!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
70<p>
71Definition at line <a class="el" href="G4Xt_8cc-source.html#l00134">134</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
72<p>
73References <a class="el" href="G4Xt_8cc-source.html#l00051">instance</a>.
74<p>
75<div class="fragment"><pre>00138 {
7600139   <span class="keywordflow">if</span>(<span class="keyword">this</span>==<a class="code" href="classG4Xt.html#v0">instance</a>) {
7700140     <a class="code" href="classG4Xt.html#v0">instance</a> = NULL;
7800141   }
7900142 }
80</pre></div>    </td>
81  </tr>
82</table>
83<a class="anchor" name="d0" doxytag="G4Xt::G4Xt" ></a><p>
84<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
85  <tr>
86    <td class="mdRow">
87      <table cellpadding="0" cellspacing="0" border="0">
88        <tr>
89          <td class="md" nowrap valign="top"> G4Xt::G4Xt </td>
90          <td class="md" valign="top">(&nbsp;</td>
91          <td class="md" nowrap valign="top">int&nbsp;</td>
92          <td class="mdname" nowrap> <em>a_argn</em>, </td>
93        </tr>
94        <tr>
95          <td></td>
96          <td></td>
97          <td class="md" nowrap>char **&nbsp;</td>
98          <td class="mdname" nowrap> <em>a_args</em>, </td>
99        </tr>
100        <tr>
101          <td></td>
102          <td></td>
103          <td class="md" nowrap>char *&nbsp;</td>
104          <td class="mdname" nowrap> <em>a_class</em></td>
105        </tr>
106        <tr>
107          <td></td>
108          <td class="md">)&nbsp;</td>
109          <td class="md" colspan="2"><code> [private]</code></td>
110        </tr>
111
112      </table>
113    </td>
114  </tr>
115</table>
116<table cellspacing=5 cellpadding=0 border=0>
117  <tr>
118    <td>
119      &nbsp;
120    </td>
121    <td>
122
123<p>
124!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
125<p>
126Definition at line <a class="el" href="G4Xt_8cc-source.html#l00081">81</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
127<p>
128References <a class="el" href="G4VInteractorManager_8cc-source.html#l00152">G4VInteractorManager::AddDispatcher()</a>, <a class="el" href="G4Xt_8cc-source.html#l00056">appContext</a>, <a class="el" href="G4Xt_8cc-source.html#l00054">argn</a>, <a class="el" href="G4Xt_8cc-source.html#l00055">args</a>, <a class="el" href="G4VInteractorManager_8hh-source.html#l00039">G4DispatchFunction</a>, <a class="el" href="classG4VInteractorManager.html#a2">G4VInteractorManager::SetArguments()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00119">G4VInteractorManager::SetMainInteractor()</a>, <a class="el" href="G4Xt_8cc-source.html#l00057">topWidget</a>, and <a class="el" href="G4Xt_8cc-source.html#l00053">XtInited</a>.
129<p>
130Referenced by <a class="el" href="G4Xt_8cc-source.html#l00067">getInstance()</a>.
131<p>
132<div class="fragment"><pre>00088 {
13300089   <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a0">XtInited</a>==FALSE) {  <span class="comment">//Xt should be Inited once !</span>
13400090     <span class="keywordflow">if</span>(a_argn!=0) {  <span class="comment">//Save args.</span>
13500091       <a class="code" href="G4Xt_8cc.html#a2">args</a> = (<span class="keywordtype">char</span>**)malloc(a_argn * <span class="keyword">sizeof</span>(<span class="keywordtype">char</span>*));
13600092       <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a2">args</a>!=NULL) {
13700093         <a class="code" href="G4Xt_8cc.html#a1">argn</a> = a_argn;
13800094         <span class="keywordflow">for</span>(<span class="keywordtype">int</span> argi=0;argi&lt;a_argn;argi++) {
13900095           <a class="code" href="G4Xt_8cc.html#a2">args</a>[argi] = (<span class="keywordtype">char</span>*)NewString (a_args[argi]);
14000096         }
14100097       }
14200098     }
14300099 <span class="preprocessor">#if XtSpecificationRelease == 4</span>
14400100 <span class="preprocessor"></span>    Cardinal     narg;
14500101     narg         = (Cardinal)a_argn;
14600102 <span class="preprocessor">#else</span>
14700103 <span class="preprocessor"></span>    <span class="keywordtype">int</span>          narg;
14800104     narg         = a_argn;
14900105 <span class="preprocessor">#endif</span>
15000106 <span class="preprocessor"></span>    Arg          xargs[1];
15100107     XtSetArg     (xargs[0],XtNgeometry,<span class="stringliteral">"100x100"</span>);
15200108     <a class="code" href="G4Xt_8cc.html#a4">topWidget</a>    = XtAppInitialize (&amp;appContext,a_class,
15300109                                     NULL,(Cardinal)0,
15400110                                     &amp;narg,a_args,NULL,
15500111                                     xargs,1);
15600112     <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a4">topWidget</a>==NULL) {
15700113       G4cout        &lt;&lt; <span class="stringliteral">"G4Xt : Unable to init Xt."</span> &lt;&lt; G4endl;
15800114     }
15900115     <span class="comment">// Restore a_args. XtAppInitialize corrupts the given ones !!!</span>
16000116     <span class="keywordflow">if</span>( (a_argn!=0) &amp;&amp; (<a class="code" href="G4Xt_8cc.html#a2">args</a>!=NULL)) {
16100117       <span class="keywordflow">for</span>(<span class="keywordtype">int</span> argi=0;argi&lt;a_argn;argi++) {
16200118         <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a2">args</a>[argi]!=NULL)
16300119           strcpy(a_args[argi],args[argi]);
16400120         <span class="keywordflow">else</span>
16500121           a_args[argi] = NULL;
16600122       }
16700123     }
16800124     <span class="comment">// If topWidget not realized, pbs with Inventor shells.</span>
16900125     XtSetMappedWhenManaged (topWidget,False);
17000126     XtRealizeWidget (topWidget);
17100127     <a class="code" href="G4Xt_8cc.html#a0">XtInited</a> = TRUE;
17200128   }
17300129   <a class="code" href="classG4VInteractorManager.html#a2">SetArguments</a>      (argn,args);
17400130   <a class="code" href="classG4VInteractorManager.html#a4">SetMainInteractor</a> (topWidget);
17500131   <a class="code" href="classG4VInteractorManager.html#a6">AddDispatcher</a>     ((<a class="code" href="G4VInteractorManager_8hh.html#a1">G4DispatchFunction</a>)XtDispatchEvent);
17600132 }
177</pre></div>    </td>
178  </tr>
179</table>
180
181<p>
182Here is the call graph for this function:<p><center><img src="classG4Xt_d0_cgraph.png" border="0" usemap="#classG4Xt_d0_cgraph_map" alt=""></center>
183<map name="classG4Xt_d0_cgraph_map">
184<area href="classG4VInteractorManager.html#a6" shape="rect" coords="156,8,409,34" alt="">
185<area href="classG4VInteractorManager.html#a2" shape="rect" coords="158,58,406,85" alt="">
186<area href="classG4VInteractorManager.html#a4" shape="rect" coords="148,109,417,136" alt="">
187</map>
188<hr><h2>Member Function Documentation</h2>
189<a class="anchor" name="a3" doxytag="G4Xt::FlushAndWaitExecution" ></a><p>
190<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
191  <tr>
192    <td class="mdRow">
193      <table cellpadding="0" cellspacing="0" border="0">
194        <tr>
195          <td class="md" nowrap valign="top"> void G4Xt::FlushAndWaitExecution </td>
196          <td class="md" valign="top">(&nbsp;</td>
197          <td class="mdname1" valign="top" nowrap>          </td>
198          <td class="md" valign="top">&nbsp;)&nbsp;</td>
199          <td class="md" nowrap><code> [virtual]</code></td>
200        </tr>
201
202      </table>
203    </td>
204  </tr>
205</table>
206<table cellspacing=5 cellpadding=0 border=0>
207  <tr>
208    <td>
209      &nbsp;
210    </td>
211    <td>
212
213<p>
214!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
215<p>
216Implements <a class="el" href="classG4VInteractorManager.html#a23">G4VInteractorManager</a>.
217<p>
218Definition at line <a class="el" href="G4Xt_8cc-source.html#l00183">183</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
219<p>
220References <a class="el" href="G4Xt_8cc-source.html#l00057">topWidget</a>.
221<p>
222<div class="fragment"><pre>00187 {
22300188   <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a4">topWidget</a>==NULL) <span class="keywordflow">return</span>;
22400189   XSync(XtDisplay(topWidget),False);
22500190 }
226</pre></div>    </td>
227  </tr>
228</table>
229<a class="anchor" name="a2" doxytag="G4Xt::GetEvent" ></a><p>
230<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
231  <tr>
232    <td class="mdRow">
233      <table cellpadding="0" cellspacing="0" border="0">
234        <tr>
235          <td class="md" nowrap valign="top"> void * G4Xt::GetEvent </td>
236          <td class="md" valign="top">(&nbsp;</td>
237          <td class="mdname1" valign="top" nowrap>          </td>
238          <td class="md" valign="top">&nbsp;)&nbsp;</td>
239          <td class="md" nowrap><code> [virtual]</code></td>
240        </tr>
241
242      </table>
243    </td>
244  </tr>
245</table>
246<table cellspacing=5 cellpadding=0 border=0>
247  <tr>
248    <td>
249      &nbsp;
250    </td>
251    <td>
252
253<p>
254!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
255<p>
256Implements <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager</a>.
257<p>
258Definition at line <a class="el" href="G4Xt_8cc-source.html#l00152">152</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
259<p>
260References <a class="el" href="G4Xt_8cc-source.html#l00056">appContext</a>, and <a class="el" href="G4Xt_8cc-source.html#l00057">topWidget</a>.
261<p>
262Referenced by <a class="el" href="G4UIXm_8cc-source.html#l00272">G4UIXm::GetHelpChoice()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00170">G4UIXaw::GetHelpChoice()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00235">G4UIXm::SecondaryLoop()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00145">G4UIXaw::SecondaryLoop()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00179">G4UIXm::SessionStart()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00093">G4UIXaw::SessionStart()</a>.
263<p>
264<div class="fragment"><pre>00156 {
26500157   <span class="keyword">static</span> XEvent  event;
26600158   <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a3">appContext</a>==NULL) <span class="keywordflow">return</span> NULL;
26700159   <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a4">topWidget</a>==NULL) <span class="keywordflow">return</span> NULL;
26800160   XtAppNextEvent (appContext, &amp;event);
26900161   <span class="keywordflow">return</span>         &amp;event;
27000162 }
271</pre></div>    </td>
272  </tr>
273</table>
274<a class="anchor" name="e1" doxytag="G4Xt::getInstance" ></a><p>
275<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
276  <tr>
277    <td class="mdRow">
278      <table cellpadding="0" cellspacing="0" border="0">
279        <tr>
280          <td class="md" nowrap valign="top"> <a class="el" href="classG4Xt.html">G4Xt</a> * G4Xt::getInstance </td>
281          <td class="md" valign="top">(&nbsp;</td>
282          <td class="md" nowrap valign="top">int&nbsp;</td>
283          <td class="mdname" nowrap> <em>a_argn</em>, </td>
284        </tr>
285        <tr>
286          <td></td>
287          <td></td>
288          <td class="md" nowrap>char **&nbsp;</td>
289          <td class="mdname" nowrap> <em>a_args</em>, </td>
290        </tr>
291        <tr>
292          <td></td>
293          <td></td>
294          <td class="md" nowrap>char *&nbsp;</td>
295          <td class="mdname" nowrap> <em>a_class</em></td>
296        </tr>
297        <tr>
298          <td></td>
299          <td class="md">)&nbsp;</td>
300          <td class="md" colspan="2"><code> [static]</code></td>
301        </tr>
302
303      </table>
304    </td>
305  </tr>
306</table>
307<table cellspacing=5 cellpadding=0 border=0>
308  <tr>
309    <td>
310      &nbsp;
311    </td>
312    <td>
313
314<p>
315!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
316<p>
317Definition at line <a class="el" href="G4Xt_8cc-source.html#l00067">67</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
318<p>
319References <a class="el" href="G4Xt_8cc-source.html#l00081">G4Xt()</a>, and <a class="el" href="G4Xt_8cc-source.html#l00051">instance</a>.
320<p>
321<div class="fragment"><pre>00074 {
32200075   <span class="keywordflow">if</span> (<a class="code" href="classG4Xt.html#v0">instance</a>==NULL) {
32300076     <a class="code" href="classG4Xt.html#v0">instance</a> = <span class="keyword">new</span> <a class="code" href="classG4Xt.html#d0">G4Xt</a>(a_argn,a_args,a_class);
32400077   }
32500078   <span class="keywordflow">return</span> <a class="code" href="classG4Xt.html#v0">instance</a>;
32600079 }
327</pre></div>    </td>
328  </tr>
329</table>
330
331<p>
332Here is the call graph for this function:<p><center><img src="classG4Xt_e1_cgraph.png" border="0" usemap="#classG4Xt_e1_cgraph_map" alt=""></center>
333<map name="classG4Xt_e1_cgraph_map">
334<area href="classG4Xt.html#d0" shape="rect" coords="185,58,273,85" alt="">
335<area href="classG4VInteractorManager.html#a6" shape="rect" coords="332,8,585,34" alt="">
336<area href="classG4VInteractorManager.html#a2" shape="rect" coords="334,58,582,85" alt="">
337<area href="classG4VInteractorManager.html#a4" shape="rect" coords="324,109,593,136" alt="">
338</map>
339<a class="anchor" name="e0" doxytag="G4Xt::getInstance" ></a><p>
340<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
341  <tr>
342    <td class="mdRow">
343      <table cellpadding="0" cellspacing="0" border="0">
344        <tr>
345          <td class="md" nowrap valign="top"> <a class="el" href="classG4Xt.html">G4Xt</a> * G4Xt::getInstance </td>
346          <td class="md" valign="top">(&nbsp;</td>
347          <td class="mdname1" valign="top" nowrap>          </td>
348          <td class="md" valign="top">&nbsp;)&nbsp;</td>
349          <td class="md" nowrap><code> [static]</code></td>
350        </tr>
351
352      </table>
353    </td>
354  </tr>
355</table>
356<table cellspacing=5 cellpadding=0 border=0>
357  <tr>
358    <td>
359      &nbsp;
360    </td>
361    <td>
362
363<p>
364!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
365<p>
366Definition at line <a class="el" href="G4Xt_8cc-source.html#l00059">59</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
367<p>
368Referenced by <a class="el" href="G4UIXaw_8cc-source.html#l00056">G4UIXaw::G4UIXaw()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00074">G4UIXm::G4UIXm()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00272">G4UIXm::GetHelpChoice()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00170">G4UIXaw::GetHelpChoice()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00235">G4UIXm::SecondaryLoop()</a>, <a class="el" href="G4UIXaw_8cc-source.html#l00145">G4UIXaw::SecondaryLoop()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00179">G4UIXm::SessionStart()</a>, and <a class="el" href="G4UIXaw_8cc-source.html#l00093">G4UIXaw::SessionStart()</a>.
369<p>
370<div class="fragment"><pre>00063 {
37100064   <span class="keywordflow">return</span> <a class="code" href="classG4Xt.html#e0">G4Xt::getInstance</a> (0,NULL,(<span class="keywordtype">char</span>*)<span class="stringliteral">"Geant4"</span>);
37200065 }
373</pre></div>    </td>
374  </tr>
375</table>
376<a class="anchor" name="a1" doxytag="G4Xt::Inited" ></a><p>
377<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
378  <tr>
379    <td class="mdRow">
380      <table cellpadding="0" cellspacing="0" border="0">
381        <tr>
382          <td class="md" nowrap valign="top"> G4bool G4Xt::Inited </td>
383          <td class="md" valign="top">(&nbsp;</td>
384          <td class="mdname1" valign="top" nowrap>          </td>
385          <td class="md" valign="top">&nbsp;)&nbsp;</td>
386          <td class="md" nowrap><code> [virtual]</code></td>
387        </tr>
388
389      </table>
390    </td>
391  </tr>
392</table>
393<table cellspacing=5 cellpadding=0 border=0>
394  <tr>
395    <td>
396      &nbsp;
397    </td>
398    <td>
399
400<p>
401!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
402<p>
403Implements <a class="el" href="classG4VInteractorManager.html#a21">G4VInteractorManager</a>.
404<p>
405Definition at line <a class="el" href="G4Xt_8cc-source.html#l00144">144</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
406<p>
407References <a class="el" href="G4Xt_8cc-source.html#l00053">XtInited</a>.
408<p>
409<div class="fragment"><pre>00148 {
41000149   <span class="keywordflow">return</span> <a class="code" href="G4Xt_8cc.html#a0">XtInited</a>;
41100150 }
412</pre></div>    </td>
413  </tr>
414</table>
415<a class="anchor" name="a0" doxytag="G4Xt::PutStringInResourceDatabase" ></a><p>
416<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
417  <tr>
418    <td class="mdRow">
419      <table cellpadding="0" cellspacing="0" border="0">
420        <tr>
421          <td class="md" nowrap valign="top"> void G4Xt::PutStringInResourceDatabase </td>
422          <td class="md" valign="top">(&nbsp;</td>
423          <td class="md" nowrap valign="top">char *&nbsp;</td>
424          <td class="mdname1" valign="top" nowrap> <em>a_string</em>          </td>
425          <td class="md" valign="top">&nbsp;)&nbsp;</td>
426          <td class="md" nowrap></td>
427        </tr>
428
429      </table>
430    </td>
431  </tr>
432</table>
433<table cellspacing=5 cellpadding=0 border=0>
434  <tr>
435    <td>
436      &nbsp;
437    </td>
438    <td>
439
440<p>
441!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
442<p>
443Reimplemented from <a class="el" href="classG4VInteractorManager.html#a20">G4VInteractorManager</a>.
444<p>
445Definition at line <a class="el" href="G4Xt_8cc-source.html#l00164">164</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
446<p>
447References <a class="el" href="G4Xt_8cc-source.html#l00057">topWidget</a>.
448<p>
449<div class="fragment"><pre>00169 {
45000170   <span class="keywordflow">if</span>(<a class="code" href="G4Xt_8cc.html#a4">topWidget</a>==NULL)  <span class="keywordflow">return</span>;
45100171   <span class="keywordflow">if</span>(a_string==NULL)   <span class="keywordflow">return</span>;
45200172   Display*             dpy   = XtDisplay(topWidget);
45300173   XrmDatabase          dbres = XrmGetStringDatabase (a_string);
45400174   <span class="keywordflow">if</span>(dbres==NULL)      <span class="keywordflow">return</span>;
45500175   XrmDatabase          database = XrmGetDatabase (dpy);
45600176   <span class="keywordflow">if</span>(database!=NULL)  {
45700177     XrmMergeDatabases  (dbres,&amp;database);
45800178   } <span class="keywordflow">else</span> {
45900179     XrmSetDatabase     (dpy,dbres);
46000180   }
46100181 }
462</pre></div>    </td>
463  </tr>
464</table>
465<hr><h2>Member Data Documentation</h2>
466<a class="anchor" name="v0" doxytag="G4Xt::instance" ></a><p>
467<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
468  <tr>
469    <td class="mdRow">
470      <table cellpadding="0" cellspacing="0" border="0">
471        <tr>
472          <td class="md" nowrap valign="top"> <a class="el" href="classG4Xt.html">G4Xt</a> * <a class="el" href="classG4Xt.html#v0">G4Xt::instance</a> = NULL<code> [static, private]</code>
473      </table>
474    </td>
475  </tr>
476</table>
477<table cellspacing=5 cellpadding=0 border=0>
478  <tr>
479    <td>
480      &nbsp;
481    </td>
482    <td>
483
484<p>
485
486<p>
487Definition at line <a class="el" href="G4Xt_8cc-source.html#l00051">51</a> of file <a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a>.
488<p>
489Referenced by <a class="el" href="G4Xt_8cc-source.html#l00067">getInstance()</a>, and <a class="el" href="G4Xt_8cc-source.html#l00134">~G4Xt()</a>.    </td>
490  </tr>
491</table>
492<hr>The documentation for this class was generated from the following files:<ul>
493<li><a class="el" href="G4Xt_8hh-source.html">G4Xt.hh</a><li><a class="el" href="G4Xt_8cc-source.html">G4Xt.cc</a></ul>
494<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:08:08 2007 by
495<a href="http://www.doxygen.org/index.html">
496<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
497</a>1.3.4 </small></address>
498</body>
499</html>
Note: See TracBrowser for help on using the repository browser.