source: trunk/geant4/interfaces/html/d0/da9/G4VInteractiveSession_8hh-source.html @ 785

Last change on this file since 785 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: 9.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=UTF-8">
3<title>G4VInteractiveSession.hh Source File</title>
4<link href="../../doxygen.css" rel="stylesheet" type="text/css">
5<link href="../../tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.2 -->
8<div class="tabs">
9  <ul>
10    <li><a href="../../index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="../../annotated.html"><span>Classes</span></a></li>
12    <li class="current"><a href="../../files.html"><span>Files</span></a></li>
13  </ul>
14</div>
15<div class="tabs">
16  <ul>
17    <li><a href="../../files.html"><span>File&nbsp;List</span></a></li>
18    <li><a href="../../globals.html"><span>File&nbsp;Members</span></a></li>
19  </ul>
20</div>
21<h1>G4VInteractiveSession.hh</h1><a href="../../d0/da4/G4VInteractiveSession_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
22<a name="l00002"></a>00002 <span class="comment">// ********************************************************************</span>
23<a name="l00003"></a>00003 <span class="comment">// * License and Disclaimer                                           *</span>
24<a name="l00004"></a>00004 <span class="comment">// *                                                                  *</span>
25<a name="l00005"></a>00005 <span class="comment">// * The  Geant4 software  is  copyright of the Copyright Holders  of *</span>
26<a name="l00006"></a>00006 <span class="comment">// * the Geant4 Collaboration.  It is provided  under  the terms  and *</span>
27<a name="l00007"></a>00007 <span class="comment">// * conditions of the Geant4 Software License,  included in the file *</span>
28<a name="l00008"></a>00008 <span class="comment">// * LICENSE and available at  http://cern.ch/geant4/license .  These *</span>
29<a name="l00009"></a>00009 <span class="comment">// * include a list of copyright holders.                             *</span>
30<a name="l00010"></a>00010 <span class="comment">// *                                                                  *</span>
31<a name="l00011"></a>00011 <span class="comment">// * Neither the authors of this software system, nor their employing *</span>
32<a name="l00012"></a>00012 <span class="comment">// * institutes,nor the agencies providing financial support for this *</span>
33<a name="l00013"></a>00013 <span class="comment">// * work  make  any representation or  warranty, express or implied, *</span>
34<a name="l00014"></a>00014 <span class="comment">// * regarding  this  software system or assume any liability for its *</span>
35<a name="l00015"></a>00015 <span class="comment">// * use.  Please see the license in the file  LICENSE  and URL above *</span>
36<a name="l00016"></a>00016 <span class="comment">// * for the full disclaimer and the limitation of liability.         *</span>
37<a name="l00017"></a>00017 <span class="comment">// *                                                                  *</span>
38<a name="l00018"></a>00018 <span class="comment">// * This  code  implementation is the result of  the  scientific and *</span>
39<a name="l00019"></a>00019 <span class="comment">// * technical work of the GEANT4 collaboration.                      *</span>
40<a name="l00020"></a>00020 <span class="comment">// * By using,  copying,  modifying or  distributing the software (or *</span>
41<a name="l00021"></a>00021 <span class="comment">// * any work based  on the software)  you  agree  to acknowledge its *</span>
42<a name="l00022"></a>00022 <span class="comment">// * use  in  resulting  scientific  publications,  and indicate your *</span>
43<a name="l00023"></a>00023 <span class="comment">// * acceptance of all terms of the Geant4 Software license.          *</span>
44<a name="l00024"></a>00024 <span class="comment">// ********************************************************************</span>
45<a name="l00025"></a>00025 <span class="comment">//</span>
46<a name="l00026"></a>00026 <span class="comment">//</span>
47<a name="l00027"></a>00027
48<a name="l00028"></a>00028 <span class="preprocessor">#ifndef G4VInteractiveSession_H</span>
49<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define G4VInteractiveSession_H 1</span>
50<a name="l00030"></a>00030 <span class="preprocessor"></span>
51<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;map&gt;</span>
52<a name="l00032"></a>00032
53<a name="l00033"></a>00033 <span class="preprocessor">#include "<a class="code" href="../../d0/db5/G4VInteractorManager_8hh.html">G4VInteractorManager.hh</a>"</span>
54<a name="l00034"></a>00034
55<a name="l00035"></a>00035 <span class="keyword">class </span>G4UImessenger;
56<a name="l00036"></a>00036
57<a name="l00037"></a>00037 <span class="comment">// Class description :</span>
58<a name="l00038"></a>00038 <span class="comment">//</span>
59<a name="l00039"></a>00039 <span class="comment">// G4VInteractiveSession is a base class to isolate common things</span>
60<a name="l00040"></a>00040 <span class="comment">// to various graphical "basic" G4UI sessions ; AddMenu, AddButton,</span>
61<a name="l00041"></a>00041 <span class="comment">// a dictionnary for widgets.</span>
62<a name="l00042"></a>00042 <span class="comment">// The word "interactor" is for "piece of user interface" or "widget".</span>
63<a name="l00043"></a>00043
64<a name="l00044"></a><a class="code" href="../../d2/d71/classG4VInteractiveSession.html">00044</a> <span class="keyword">class </span><a class="code" href="../../d2/d71/classG4VInteractiveSession.html">G4VInteractiveSession</a>
65<a name="l00045"></a>00045 {
66<a name="l00046"></a>00046   <span class="keyword">public</span><span class="comment">//with description</span>
67<a name="l00047"></a>00047
68<a name="l00048"></a>00048     <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#316d03f5b6185a6bd2a13b1c192017f2">G4VInteractiveSession</a>();
69<a name="l00049"></a>00049     <span class="keyword">virtual</span> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#e176ab6c4ef9f10976c41830bf6f699c">~G4VInteractiveSession</a>();
70<a name="l00050"></a>00050     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#d0d2f5208c0f028abd4c1ce8632fb060">AddMenu</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>*,<span class="keyword">const</span> <span class="keywordtype">char</span>*);
71<a name="l00051"></a>00051     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#fec2d86051f30810577bff717d11a9ba">AddButton</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>*,<span class="keyword">const</span> <span class="keywordtype">char</span>*,<span class="keyword">const</span> <span class="keywordtype">char</span>*);
72<a name="l00052"></a>00052     <span class="keywordtype">void</span> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#7d8e39c22a5b6ec9a063630af4112665">AddInteractor</a>(G4String,<a class="code" href="../../d0/db5/G4VInteractorManager_8hh.html#fa60e042bb88fb73a209c47c17490f94">G4Interactor</a>);
73<a name="l00053"></a>00053     <a class="code" href="../../d0/db5/G4VInteractorManager_8hh.html#fa60e042bb88fb73a209c47c17490f94">G4Interactor</a> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#c7156d6e855e65b3fb63da31c5769305">GetInteractor</a>(G4String);
74<a name="l00054"></a>00054
75<a name="l00055"></a>00055   <span class="keyword">private</span>:
76<a name="l00056"></a>00056
77<a name="l00057"></a><a class="code" href="../../d2/d71/classG4VInteractiveSession.html#778c3c93f6e5117c49a56c696527e408">00057</a>   G4UImessenger* <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#778c3c93f6e5117c49a56c696527e408">messenger</a>;
78<a name="l00058"></a><a class="code" href="../../d2/d71/classG4VInteractiveSession.html#cc7c88bd52666675e063e9a912a543fe">00058</a>   <span class="keyword">typedef</span> std::map&lt;G4String,G4Interactor, std::less&lt;G4String&gt; &gt; <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#cc7c88bd52666675e063e9a912a543fe">G4interactor_map</a>;
79<a name="l00059"></a><a class="code" href="../../d2/d71/classG4VInteractiveSession.html#666eac98c1d4d334daebd8e3c0e4acd4">00059</a>   <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#cc7c88bd52666675e063e9a912a543fe">G4interactor_map</a> <a class="code" href="../../d2/d71/classG4VInteractiveSession.html#666eac98c1d4d334daebd8e3c0e4acd4">interactors</a>;
80<a name="l00060"></a>00060 };
81<a name="l00061"></a>00061
82<a name="l00062"></a>00062 <span class="preprocessor">#endif</span>
83<a name="l00063"></a>00063 <span class="preprocessor"></span>
84</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 22 10:26:04 2007 by&nbsp;
85<a href="http://www.doxygen.org/index.html">
86<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
87</body>
88</html>
Note: See TracBrowser for help on using the repository browser.