source: trunk/geant4/interfaces/html/G4VInteractorManager_8hh-source.html @ 574

Last change on this file since 574 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: 14.5 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>G4VInteractorManager.hh Source File</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>G4VInteractorManager.hh</h1><a href="G4VInteractorManager_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">//</span>
900002 <span class="comment">// ********************************************************************</span>
1000003 <span class="comment">// * License and Disclaimer                                           *</span>
1100004 <span class="comment">// *                                                                  *</span>
1200005 <span class="comment">// * The  Geant4 software  is  copyright of the Copyright Holders  of *</span>
1300006 <span class="comment">// * the Geant4 Collaboration.  It is provided  under  the terms  and *</span>
1400007 <span class="comment">// * conditions of the Geant4 Software License,  included in the file *</span>
1500008 <span class="comment">// * LICENSE and available at  http://cern.ch/geant4/license .  These *</span>
1600009 <span class="comment">// * include a list of copyright holders.                             *</span>
1700010 <span class="comment">// *                                                                  *</span>
1800011 <span class="comment">// * Neither the authors of this software system, nor their employing *</span>
1900012 <span class="comment">// * institutes,nor the agencies providing financial support for this *</span>
2000013 <span class="comment">// * work  make  any representation or  warranty, express or implied, *</span>
2100014 <span class="comment">// * regarding  this  software system or assume any liability for its *</span>
2200015 <span class="comment">// * use.  Please see the license in the file  LICENSE  and URL above *</span>
2300016 <span class="comment">// * for the full disclaimer and the limitation of liability.         *</span>
2400017 <span class="comment">// *                                                                  *</span>
2500018 <span class="comment">// * This  code  implementation is the result of  the  scientific and *</span>
2600019 <span class="comment">// * technical work of the GEANT4 collaboration.                      *</span>
2700020 <span class="comment">// * By using,  copying,  modifying or  distributing the software (or *</span>
2800021 <span class="comment">// * any work based  on the software)  you  agree  to acknowledge its *</span>
2900022 <span class="comment">// * use  in  resulting  scientific  publications,  and indicate your *</span>
3000023 <span class="comment">// * acceptance of all terms of the Geant4 Software license.          *</span>
3100024 <span class="comment">// ********************************************************************</span>
3200025 <span class="comment">//</span>
3300026 <span class="comment">//</span>
3400027 <span class="comment">// $Id: G4VInteractorManager.hh,v 1.9 2006/06/29 19:10:08 gunter Exp $</span>
3500028 <span class="comment">// GEANT4 tag $Name: geant4-08-01-patch-01 $</span>
3600029 <span class="comment">//</span>
3700030 <span class="comment">// G.Barrand</span>
3800031
3900032 <span class="preprocessor">#ifndef G4VINTERACTORMANAGER_HH</span>
4000033 <span class="preprocessor"></span><span class="preprocessor">#define G4VINTERACTORMANAGER_HH</span>
4100034 <span class="preprocessor"></span>
4200035 <span class="preprocessor">#include "globals.hh"</span>
4300036 <span class="preprocessor">#include &lt;vector&gt;</span>
4400037
45<a name="l00038"></a><a class="code" href="G4VInteractorManager_8hh.html#a0">00038</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span><a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>;
46<a name="l00039"></a><a class="code" href="G4VInteractorManager_8hh.html#a1">00039</a> <span class="keyword">typedef</span> G4bool (*<a class="code" href="G4VInteractorManager_8hh.html#a1">G4DispatchFunction</a>)(<span class="keywordtype">void</span>*);
47<a name="l00040"></a><a class="code" href="G4VInteractorManager_8hh.html#a2">00040</a> <span class="keyword">typedef</span> void   (*<a class="code" href="G4VInteractorManager_8hh.html#a2">G4SecondaryLoopAction</a>)();
4800041
4900042 <span class="comment">// Class description :</span>
5000043 <span class="comment">//</span>
5100044 <span class="comment">//  G4VInteractorManager : a base class to isolate common things</span>
5200045 <span class="comment">// to various GUI "toolkits" like WIndows, Xt.</span>
5300046 <span class="comment">//  The word "interactor" is for "piece of user interface" or</span>
5400047 <span class="comment">// "widget" (which means nothing). Then a GUI "toolkit" could be </span>
5500048 <span class="comment">// defined as a manager of interactors.</span>
5600049 <span class="comment">//</span>
5700050 <span class="comment">// Class description - end :</span>
5800051
59<a name="l00052"></a><a class="code" href="classG4VInteractorManager.html">00052</a> <span class="keyword">class </span><a class="code" href="classG4VInteractorManager.html">G4VInteractorManager</a> {
6000053 <span class="keyword">public</span>:
6100054                  <a class="code" href="classG4VInteractorManager.html#a0">G4VInteractorManager</a>            ();                     
6200055   <span class="keyword">virtual</span>       <a class="code" href="classG4VInteractorManager.html#a1">~G4VInteractorManager</a>            ();                     
6300056   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a2">SetArguments</a>                    (<span class="keywordtype">int</span>,<span class="keywordtype">char</span>**);
6400057   <span class="keywordtype">char</span>**         <a class="code" href="classG4VInteractorManager.html#a3">GetArguments</a>                    (<span class="keywordtype">int</span>*);
6500058   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a4">SetMainInteractor</a>               (<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>);
6600059   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>   <a class="code" href="classG4VInteractorManager.html#a5">GetMainInteractor</a>               ();
6700060   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a6">AddDispatcher</a>                   (<a class="code" href="G4VInteractorManager_8hh.html#a1">G4DispatchFunction</a>);
6800061   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a7">RemoveDispatcher</a>                (<a class="code" href="G4VInteractorManager_8hh.html#a1">G4DispatchFunction</a>);
6900062   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a8">AddSecondaryLoopPreAction</a>       (<a class="code" href="G4VInteractorManager_8hh.html#a2">G4SecondaryLoopAction</a>);
7000063   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a9">AddSecondaryLoopPostAction</a>      (<a class="code" href="G4VInteractorManager_8hh.html#a2">G4SecondaryLoopAction</a>);
7100064   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a10">AddShell</a>                        (<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>);
7200065   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a11">RemoveShell</a>                     (<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>);
7300066   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a12">EnableSecondaryLoop</a>             ();
7400067   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a13">DisableSecondaryLoop</a>            ();
7500068   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a14">SecondaryLoopPreActions</a>         ();
7600069   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a15">SecondaryLoopPostActions</a>        ();
7700070   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a16">RequireExitSecondaryLoop</a>        (<span class="keywordtype">int</span>);
7800071   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>                   (<span class="keywordtype">void</span>*);
7900072   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a18">SecondaryLoop</a>                   ();
8000073   <span class="keywordtype">int</span>            <a class="code" href="classG4VInteractorManager.html#a19">GetExitSecondaryLoopCode</a>        ();
8100074   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a20">PutStringInResourceDatabase</a>     (<span class="keywordtype">char</span>*);
8200075   <span class="keyword">virtual</span> G4bool <a class="code" href="classG4VInteractorManager.html#a21">Inited</a>                          () = 0;
8300076   <span class="keyword">virtual</span> <span class="keywordtype">void</span><a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>                        () = 0;
8400077   <span class="keyword">virtual</span> <span class="keywordtype">void</span>   <a class="code" href="classG4VInteractorManager.html#a23">FlushAndWaitExecution</a>           () = 0;
8500078   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a24">SetParentInteractor</a>             (<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>);
8600079   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>   <a class="code" href="classG4VInteractorManager.html#a25">GetParentInteractor</a>             ();
8700080   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a26">SetCreatedInteractor</a>            (<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>);
8800081   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>   <a class="code" href="classG4VInteractorManager.html#a27">GetCreatedInteractor</a>            ();
8900082   <span class="keywordtype">void</span>           <a class="code" href="classG4VInteractorManager.html#a28">SetCreationString</a>               (<span class="keywordtype">char</span>*);
9000083   <span class="keywordtype">char</span>*          <a class="code" href="classG4VInteractorManager.html#a29">GetCreationString</a>               ();
9100084 <span class="keyword">private</span>:
92<a name="l00085"></a><a class="code" href="classG4VInteractorManager.html#r0">00085</a>   <span class="keywordtype">int</span>                    <a class="code" href="classG4VInteractorManager.html#r0">argc</a>;
93<a name="l00086"></a><a class="code" href="classG4VInteractorManager.html#r1">00086</a>   <span class="keywordtype">char</span>**                 <a class="code" href="classG4VInteractorManager.html#r1">argv</a>;
94<a name="l00087"></a><a class="code" href="classG4VInteractorManager.html#r2">00087</a>   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>           <a class="code" href="classG4VInteractorManager.html#r2">mainInteractor</a>;
95<a name="l00088"></a><a class="code" href="classG4VInteractorManager.html#r3">00088</a>   std::vector&lt;G4DispatchFunction&gt; <a class="code" href="classG4VInteractorManager.html#r3">dispatchers</a>;
96<a name="l00089"></a><a class="code" href="classG4VInteractorManager.html#r4">00089</a>   std::vector&lt;G4SecondaryLoopAction&gt; <a class="code" href="classG4VInteractorManager.html#r4">preActions</a>;
97<a name="l00090"></a><a class="code" href="classG4VInteractorManager.html#r5">00090</a>   std::vector&lt;G4SecondaryLoopAction&gt; <a class="code" href="classG4VInteractorManager.html#r5">postActions</a>;
98<a name="l00091"></a><a class="code" href="classG4VInteractorManager.html#r6">00091</a>   std::vector&lt;G4Interactor&gt; <a class="code" href="classG4VInteractorManager.html#r6">shells</a>;
99<a name="l00092"></a><a class="code" href="classG4VInteractorManager.html#r7">00092</a>   G4bool                 <a class="code" href="classG4VInteractorManager.html#r7">secondaryLoopEnabled</a>;
100<a name="l00093"></a><a class="code" href="classG4VInteractorManager.html#r8">00093</a>   G4bool                 <a class="code" href="classG4VInteractorManager.html#r8">alreadyInSecondaryLoop</a>;
101<a name="l00094"></a><a class="code" href="classG4VInteractorManager.html#r9">00094</a>   <span class="keywordtype">int</span>                    <a class="code" href="classG4VInteractorManager.html#r9">exitSecondaryLoop</a>;
102<a name="l00095"></a><a class="code" href="classG4VInteractorManager.html#r10">00095</a>   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>           <a class="code" href="classG4VInteractorManager.html#r10">parentInteractor</a>;
103<a name="l00096"></a><a class="code" href="classG4VInteractorManager.html#r11">00096</a>   <a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>           <a class="code" href="classG4VInteractorManager.html#r11">createdInteractor</a>;
104<a name="l00097"></a><a class="code" href="classG4VInteractorManager.html#r12">00097</a>   <span class="keywordtype">char</span>*                  <a class="code" href="classG4VInteractorManager.html#r12">creationString</a>;
10500098 };
10600099
10700100 <span class="preprocessor">#define OGL_EXIT_CODE 1</span>
10800101 <span class="preprocessor"></span><span class="preprocessor">#define OIV_EXIT_CODE 2</span>
10900102 <span class="preprocessor"></span><span class="preprocessor">#define XO_EXIT_CODE  3</span>
11000103 <span class="preprocessor"></span>
11100104 <span class="preprocessor">#endif</span>
112</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:02 2007 by
113<a href="http://www.doxygen.org/index.html">
114<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
115</a>1.3.4 </small></address>
116</body>
117</html>
Note: See TracBrowser for help on using the repository browser.