Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / AliGeant4 / AliLVTreeMessenger.h
1 // $Id$
2 // Category: geometry
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class AliLVTreeMessenger
7 // ------------------------------------
8 // Messenger class that defines commands for AliLVTree.
9
10 #ifndef ALI_LV_TREE_MESSENGER_H
11 #define ALI_LV_TREE_MESSENGER_H
12
13 #include <G4UImessenger.hh>
14 #include <globals.hh>
15
16 class AliLVTree;
17
18 class G4UIdirectory;
19 class G4UIcmdWithABool;
20 class G4UIcmdWithAString;
21 class G4UIcmdWithoutParameter;
22 class G4LogicalVolume;
23
24 class AliLVTreeMessenger: public G4UImessenger
25 {
26   public:
27     AliLVTreeMessenger(AliLVTree* lvTree);
28     // --> protected   
29     // AliLVTreeMessenger();
30     // AliLVTreeMessenger(const AliLVTreeMessenger& right);
31     virtual ~AliLVTreeMessenger();
32
33     // methods
34     virtual void SetNewValue(G4UIcommand* command, G4String newValues);
35
36   protected:
37     AliLVTreeMessenger();
38     AliLVTreeMessenger(const AliLVTreeMessenger& right);
39
40     // operators
41     AliLVTreeMessenger& operator=(const AliLVTreeMessenger &right);
42              
43   private:
44     // data members
45     AliLVTree*                fLVTree;               //associated class
46     G4LogicalVolume*          fCurrentVolume;        //current logical volume
47     G4UIdirectory*            fDirectory;            //command directory
48     G4UIcmdWithAString*       fSetCurrentLVCmd;      //command: setVolume
49     G4UIcmdWithoutParameter*  fListCmd;              //command: list
50     G4UIcmdWithoutParameter*  fListLongCmd;          //command: listLong
51     G4UIcmdWithAString*       fListDaughtersCmd;     //command: listDaughters
52     G4UIcmdWithAString*       fListLongDaughtersCmd; //command: listLongDaughters  
53
54 #ifdef G4VIS_USE
55     G4UIcmdWithABool*         fSetLVTreeVisibilityCmd; //command: setLVTreeVisibility   
56     G4UIcmdWithABool*         fSetVolVisibilityCmd;    //command: setVolVisibility
57     G4UIcmdWithAString*       fSetLVTreeColourCmd;     //command: setLVTreeColour  
58     G4UIcmdWithAString*       fSetVolColourCmd;        //command: setVolColour
59 #endif //G4VIS_USE
60 };
61
62 #endif //ALI_LV_TREE_MESSENGER_H
63