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