]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliModulesCompositionMessenger.h
Added a test tag for the test suite
[u/mrichter/AliRoot.git] / AliGeant4 / AliModulesCompositionMessenger.h
CommitLineData
676fb573 1// $Id$
2// Category: geometry
3//
7005154f 4// Author: I. Hrivnacova
5//
6// Class AliModulesCompositionMessenger
7// ------------------------------------
676fb573 8// Messenger class that defines commands for AliModulesComposition.
9
10#ifndef ALI_MODULES_COMPOSITION_MESSENGER_H
11#define ALI_MODULES_COMPOSITION_MESSENGER_H
12
13#include <G4UImessenger.hh>
14#include <globals.hh>
15
16class AliModulesComposition;
17
18class G4UIcommand;
19class G4UIdirectory;
20class G4UIcmdWithAString;
21class G4UIcmdWithoutParameter;
22class G4UIcmdWithABool;
23class G4UIcmdWithADoubleAndUnit;
24
25class AliModulesCompositionMessenger: public G4UImessenger
26{
27 public:
28 AliModulesCompositionMessenger(AliModulesComposition* modulesComposition);
29 // --> protected
30 // AliModulesCompositionMessenger();
31 // AliModulesCompositionMessenger(
32 // const AliModulesCompositionMessenger& right);
33 virtual ~AliModulesCompositionMessenger();
34
35 // methods
36 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
37 void SetCandidates();
38
39 protected:
40 AliModulesCompositionMessenger();
41 AliModulesCompositionMessenger(
42 const AliModulesCompositionMessenger& right);
43
44 // operators
45 AliModulesCompositionMessenger& operator=(
46 const AliModulesCompositionMessenger &right);
47
48 private:
49 AliModulesComposition* fModulesComposition; //associated class
50 G4UIdirectory* fDirectory; //command directory
51
52 // commands data members
53 G4UIcmdWithAString* fSwitchOnCmd; //command: switchOn
54 G4UIcmdWithAString* fSwitchOffCmd; //command: switchOn
55 G4UIcmdWithoutParameter* fListCmd; //command: list
56 G4UIcmdWithoutParameter* fListAvailableCmd; //command: listAvailable
57 G4UIcmdWithADoubleAndUnit* fFieldValueCmd; //command: fieldValue
676fb573 58 G4UIcmdWithABool* fSetReadGeometryCmd; //command: readGeometry
59 G4UIcmdWithABool* fSetWriteGeometryCmd; //command: writeGeometry
9225847a 60 G4UIcmdWithoutParameter* fPrintMaterialsCmd; //command: printMatrials
61 G4UIcmdWithoutParameter* fGenerateXMLCmd; //command: generateXML
676fb573 62};
63
64#endif //ALI_MODULES_COMPOSITION_MESSENGER_H
65