source: trunk/source/interfaces/html/classG4VInteractiveSession.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: 17.0 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>G4VInteractiveSession 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>G4VInteractiveSession Class Reference</h1><code>#include &lt;<a class="el" href="G4VInteractiveSession_8hh-source.html">G4VInteractiveSession.hh</a>&gt;</code>
9<p>
10Inheritance diagram for G4VInteractiveSession:<p><center><img src="classG4VInteractiveSession__inherit__graph.png" border="0" usemap="#G4VInteractiveSession__inherit__map" alt="Inheritance graph"></center>
11<map name="G4VInteractiveSession__inherit__map">
12<area href="classG4UIQt.html" shape="rect" coords="8,232,194,792" alt="">
13<area href="classG4UIWin32.html" shape="rect" coords="218,232,373,792" alt="">
14<area href="classG4UIXm.html" shape="rect" coords="397,288,592,736" alt="">
15</map>
16<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classG4VInteractiveSession-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
17<tr><td></td></tr>
18<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
19<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#a0">G4VInteractiveSession</a> ()</td></tr>
20
21<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#a1">~G4VInteractiveSession</a> ()</td></tr>
22
23<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#a2">AddMenu</a> (const  char *, const  char *)</td></tr>
24
25<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#a3">AddButton</a> (const  char *, const  char *, const  char *)</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="classG4VInteractiveSession.html#a4">AddInteractor</a> (G4String, <a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>)</td></tr>
28
29<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#a5">GetInteractor</a> (G4String)</td></tr>
30
31<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
32<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; G4String,<br>
33 <a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>, std::less&lt;<br>
34 G4String &gt; &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#y0">G4interactor_map</a></td></tr>
35
36<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
37<tr><td class="memItemLeft" nowrap align=right valign=top>G4UImessenger *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#r0">messenger</a></td></tr>
38
39<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4VInteractiveSession.html#y0">G4interactor_map</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classG4VInteractiveSession.html#r1">interactors</a></td></tr>
40
41</table>
42<hr><h2>Member Typedef Documentation</h2>
43<a class="anchor" name="y0" doxytag="G4VInteractiveSession::G4interactor_map" ></a><p>
44<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
45  <tr>
46    <td class="mdRow">
47      <table cellpadding="0" cellspacing="0" border="0">
48        <tr>
49          <td class="md" nowrap valign="top"> typedef std::map&lt;G4String,<a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>, std::less&lt;G4String&gt; &gt; <a class="el" href="classG4VInteractiveSession.html#y0">G4VInteractiveSession::G4interactor_map</a><code> [private]</code>
50      </table>
51    </td>
52  </tr>
53</table>
54<table cellspacing=5 cellpadding=0 border=0>
55  <tr>
56    <td>
57      &nbsp;
58    </td>
59    <td>
60
61<p>
62
63<p>
64Definition at line <a class="el" href="G4VInteractiveSession_8hh-source.html#l00058">58</a> of file <a class="el" href="G4VInteractiveSession_8hh-source.html">G4VInteractiveSession.hh</a>.    </td>
65  </tr>
66</table>
67<hr><h2>Constructor &amp; Destructor Documentation</h2>
68<a class="anchor" name="a0" doxytag="G4VInteractiveSession::G4VInteractiveSession" ></a><p>
69<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
70  <tr>
71    <td class="mdRow">
72      <table cellpadding="0" cellspacing="0" border="0">
73        <tr>
74          <td class="md" nowrap valign="top"> G4VInteractiveSession::G4VInteractiveSession </td>
75          <td class="md" valign="top">(&nbsp;</td>
76          <td class="mdname1" valign="top" nowrap>          </td>
77          <td class="md" valign="top">&nbsp;)&nbsp;</td>
78          <td class="md" nowrap></td>
79        </tr>
80
81      </table>
82    </td>
83  </tr>
84</table>
85<table cellspacing=5 cellpadding=0 border=0>
86  <tr>
87    <td>
88      &nbsp;
89    </td>
90    <td>
91
92<p>
93
94<p>
95Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00033">33</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
96<p>
97References <a class="el" href="G4VInteractiveSession_8hh-source.html#l00057">messenger</a>.
98<p>
99<div class="fragment"><pre>00034 {
10000035   <a class="code" href="classG4VInteractiveSession.html#r0">messenger</a> = <span class="keyword">new</span> <a class="code" href="classG4InteractorMessenger.html">G4InteractorMessenger</a>(<span class="keyword">this</span>);
10100036 }
102</pre></div>    </td>
103  </tr>
104</table>
105<a class="anchor" name="a1" doxytag="G4VInteractiveSession::~G4VInteractiveSession" ></a><p>
106<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
107  <tr>
108    <td class="mdRow">
109      <table cellpadding="0" cellspacing="0" border="0">
110        <tr>
111          <td class="md" nowrap valign="top"> G4VInteractiveSession::~<a class="el" href="classG4VInteractiveSession.html">G4VInteractiveSession</a> </td>
112          <td class="md" valign="top">(&nbsp;</td>
113          <td class="mdname1" valign="top" nowrap>          </td>
114          <td class="md" valign="top">&nbsp;)&nbsp;</td>
115          <td class="md" nowrap><code> [virtual]</code></td>
116        </tr>
117
118      </table>
119    </td>
120  </tr>
121</table>
122<table cellspacing=5 cellpadding=0 border=0>
123  <tr>
124    <td>
125      &nbsp;
126    </td>
127    <td>
128
129<p>
130
131<p>
132Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00039">39</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
133<p>
134References <a class="el" href="G4VInteractiveSession_8hh-source.html#l00057">messenger</a>.
135<p>
136<div class="fragment"><pre>00040 {
13700041   <span class="keyword">delete</span> <a class="code" href="classG4VInteractiveSession.html#r0">messenger</a>;
13800042 }
139</pre></div>    </td>
140  </tr>
141</table>
142<hr><h2>Member Function Documentation</h2>
143<a class="anchor" name="a3" doxytag="G4VInteractiveSession::AddButton" ></a><p>
144<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
145  <tr>
146    <td class="mdRow">
147      <table cellpadding="0" cellspacing="0" border="0">
148        <tr>
149          <td class="md" nowrap valign="top"> void G4VInteractiveSession::AddButton </td>
150          <td class="md" valign="top">(&nbsp;</td>
151          <td class="md" nowrap valign="top">const char *&nbsp;</td>
152          <td class="mdname" nowrap>, </td>
153        </tr>
154        <tr>
155          <td></td>
156          <td></td>
157          <td class="md" nowrap>const char *&nbsp;</td>
158          <td class="mdname" nowrap>, </td>
159        </tr>
160        <tr>
161          <td></td>
162          <td></td>
163          <td class="md" nowrap>const char *&nbsp;</td>
164          <td class="mdname" nowrap></td>
165        </tr>
166        <tr>
167          <td></td>
168          <td class="md">)&nbsp;</td>
169          <td class="md" colspan="2"><code> [virtual]</code></td>
170        </tr>
171
172      </table>
173    </td>
174  </tr>
175</table>
176<table cellspacing=5 cellpadding=0 border=0>
177  <tr>
178    <td>
179      &nbsp;
180    </td>
181    <td>
182
183<p>
184
185<p>
186Reimplemented in <a class="el" href="classG4UIQt.html#a3">G4UIQt</a>, <a class="el" href="classG4UIWin32.html#a3">G4UIWin32</a>, and <a class="el" href="classG4UIXm.html#a3">G4UIXm</a>.
187<p>
188Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00050">50</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
189<p>
190Referenced by <a class="el" href="G4InteractorMessenger_8cc-source.html#l00092">G4InteractorMessenger::SetNewValue()</a>.
191<p>
192<div class="fragment"><pre>00051 {
19300052 }
194</pre></div>    </td>
195  </tr>
196</table>
197<a class="anchor" name="a4" doxytag="G4VInteractiveSession::AddInteractor" ></a><p>
198<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
199  <tr>
200    <td class="mdRow">
201      <table cellpadding="0" cellspacing="0" border="0">
202        <tr>
203          <td class="md" nowrap valign="top"> void G4VInteractiveSession::AddInteractor </td>
204          <td class="md" valign="top">(&nbsp;</td>
205          <td class="md" nowrap valign="top">G4String&nbsp;</td>
206          <td class="mdname" nowrap>, </td>
207        </tr>
208        <tr>
209          <td></td>
210          <td></td>
211          <td class="md" nowrap><a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>&nbsp;</td>
212          <td class="mdname" nowrap></td>
213        </tr>
214        <tr>
215          <td></td>
216          <td class="md">)&nbsp;</td>
217          <td class="md" colspan="2"></td>
218        </tr>
219
220      </table>
221    </td>
222  </tr>
223</table>
224<table cellspacing=5 cellpadding=0 border=0>
225  <tr>
226    <td>
227      &nbsp;
228    </td>
229    <td>
230
231<p>
232
233<p>
234Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00055">55</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
235<p>
236References <a class="el" href="G4VInteractorManager_8hh-source.html#l00038">G4Interactor</a>, and <a class="el" href="G4VInteractiveSession_8hh-source.html#l00059">interactors</a>.
237<p>
238Referenced by <a class="el" href="G4UIXm_8cc-source.html#l00303">G4UIXm::AddMenu()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00389">G4UIWin32::AddMenu()</a>, and <a class="el" href="G4UIQt_8cc-source.html#l00323">G4UIQt::AddMenu()</a>.
239<p>
240<div class="fragment"><pre>00057 {
24100058   <a class="code" href="classG4VInteractiveSession.html#r1">interactors</a>[a_name] = a_interactor;
24200059 }
243</pre></div>    </td>
244  </tr>
245</table>
246<a class="anchor" name="a2" doxytag="G4VInteractiveSession::AddMenu" ></a><p>
247<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
248  <tr>
249    <td class="mdRow">
250      <table cellpadding="0" cellspacing="0" border="0">
251        <tr>
252          <td class="md" nowrap valign="top"> void G4VInteractiveSession::AddMenu </td>
253          <td class="md" valign="top">(&nbsp;</td>
254          <td class="md" nowrap valign="top">const char *&nbsp;</td>
255          <td class="mdname" nowrap>, </td>
256        </tr>
257        <tr>
258          <td></td>
259          <td></td>
260          <td class="md" nowrap>const char *&nbsp;</td>
261          <td class="mdname" nowrap></td>
262        </tr>
263        <tr>
264          <td></td>
265          <td class="md">)&nbsp;</td>
266          <td class="md" colspan="2"><code> [virtual]</code></td>
267        </tr>
268
269      </table>
270    </td>
271  </tr>
272</table>
273<table cellspacing=5 cellpadding=0 border=0>
274  <tr>
275    <td>
276      &nbsp;
277    </td>
278    <td>
279
280<p>
281
282<p>
283Reimplemented in <a class="el" href="classG4UIQt.html#a2">G4UIQt</a>, <a class="el" href="classG4UIWin32.html#a2">G4UIWin32</a>, and <a class="el" href="classG4UIXm.html#a2">G4UIXm</a>.
284<p>
285Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00045">45</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
286<p>
287Referenced by <a class="el" href="G4InteractorMessenger_8cc-source.html#l00092">G4InteractorMessenger::SetNewValue()</a>.
288<p>
289<div class="fragment"><pre>00046 {
29000047 }
291</pre></div>    </td>
292  </tr>
293</table>
294<a class="anchor" name="a5" doxytag="G4VInteractiveSession::GetInteractor" ></a><p>
295<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
296  <tr>
297    <td class="mdRow">
298      <table cellpadding="0" cellspacing="0" border="0">
299        <tr>
300          <td class="md" nowrap valign="top"> <a class="el" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a> G4VInteractiveSession::GetInteractor </td>
301          <td class="md" valign="top">(&nbsp;</td>
302          <td class="md" nowrap valign="top">G4String&nbsp;</td>
303          <td class="mdname1" valign="top" nowrap>          </td>
304          <td class="md" valign="top">&nbsp;)&nbsp;</td>
305          <td class="md" nowrap></td>
306        </tr>
307
308      </table>
309    </td>
310  </tr>
311</table>
312<table cellspacing=5 cellpadding=0 border=0>
313  <tr>
314    <td>
315      &nbsp;
316    </td>
317    <td>
318
319<p>
320
321<p>
322Definition at line <a class="el" href="G4VInteractiveSession_8cc-source.html#l00062">62</a> of file <a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a>.
323<p>
324References <a class="el" href="G4VInteractorManager_8hh-source.html#l00038">G4Interactor</a>, and <a class="el" href="G4VInteractiveSession_8hh-source.html#l00059">interactors</a>.
325<p>
326Referenced by <a class="el" href="G4UIXm_8cc-source.html#l00329">G4UIXm::AddButton()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00407">G4UIWin32::AddButton()</a>, and <a class="el" href="G4UIQt_8cc-source.html#l00340">G4UIQt::AddButton()</a>.
327<p>
328<div class="fragment"><pre>00063 {
32900064   G4interactor_map::iterator it;
33000065   <span class="keywordflow">if</span>((it=<a class="code" href="classG4VInteractiveSession.html#r1">interactors</a>.find(a_name))==<a class="code" href="classG4VInteractiveSession.html#r1">interactors</a>.end()) <span class="keywordflow">return</span> NULL;
33100066   <span class="keywordflow">return</span> (*it).second; 
33200067 }
333</pre></div>    </td>
334  </tr>
335</table>
336<hr><h2>Member Data Documentation</h2>
337<a class="anchor" name="r1" doxytag="G4VInteractiveSession::interactors" ></a><p>
338<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
339  <tr>
340    <td class="mdRow">
341      <table cellpadding="0" cellspacing="0" border="0">
342        <tr>
343          <td class="md" nowrap valign="top"> <a class="el" href="classG4VInteractiveSession.html#y0">G4interactor_map</a> <a class="el" href="classG4VInteractiveSession.html#r1">G4VInteractiveSession::interactors</a><code> [private]</code>
344      </table>
345    </td>
346  </tr>
347</table>
348<table cellspacing=5 cellpadding=0 border=0>
349  <tr>
350    <td>
351      &nbsp;
352    </td>
353    <td>
354
355<p>
356
357<p>
358Definition at line <a class="el" href="G4VInteractiveSession_8hh-source.html#l00059">59</a> of file <a class="el" href="G4VInteractiveSession_8hh-source.html">G4VInteractiveSession.hh</a>.
359<p>
360Referenced by <a class="el" href="G4VInteractiveSession_8cc-source.html#l00055">AddInteractor()</a>, and <a class="el" href="G4VInteractiveSession_8cc-source.html#l00062">GetInteractor()</a>.    </td>
361  </tr>
362</table>
363<a class="anchor" name="r0" doxytag="G4VInteractiveSession::messenger" ></a><p>
364<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
365  <tr>
366    <td class="mdRow">
367      <table cellpadding="0" cellspacing="0" border="0">
368        <tr>
369          <td class="md" nowrap valign="top"> G4UImessenger* <a class="el" href="classG4VInteractiveSession.html#r0">G4VInteractiveSession::messenger</a><code> [private]</code>
370      </table>
371    </td>
372  </tr>
373</table>
374<table cellspacing=5 cellpadding=0 border=0>
375  <tr>
376    <td>
377      &nbsp;
378    </td>
379    <td>
380
381<p>
382
383<p>
384Definition at line <a class="el" href="G4VInteractiveSession_8hh-source.html#l00057">57</a> of file <a class="el" href="G4VInteractiveSession_8hh-source.html">G4VInteractiveSession.hh</a>.
385<p>
386Referenced by <a class="el" href="G4VInteractiveSession_8cc-source.html#l00033">G4VInteractiveSession()</a>, and <a class="el" href="G4VInteractiveSession_8cc-source.html#l00039">~G4VInteractiveSession()</a>.    </td>
387  </tr>
388</table>
389<hr>The documentation for this class was generated from the following files:<ul>
390<li><a class="el" href="G4VInteractiveSession_8hh-source.html">G4VInteractiveSession.hh</a><li><a class="el" href="G4VInteractiveSession_8cc-source.html">G4VInteractiveSession.cc</a></ul>
391<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:08:00 2007 by
392<a href="http://www.doxygen.org/index.html">
393<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
394</a>1.3.4 </small></address>
395</body>
396</html>
Note: See TracBrowser for help on using the repository browser.