Smaller changes
[u/mrichter/AliRoot.git] / AliGeant4 / AliDetSwitchVectorMessenger.h
CommitLineData
2f310734 1// $Id$
2// Category: geometry
3//
4// Author: I. Hrivnacova
5//
6// Class AliDetSwitchVectorMessenger
7// ------------------------------------
8// Messenger class that defines commands for AliDetSwitchVector.
9
10#ifndef ALI_DET_SWITCH_VECTOR_MESSENGER_H
11#define ALI_DET_SWITCH_VECTOR_MESSENGER_H
12
13#include <G4UImessenger.hh>
14#include <globals.hh>
15
16class AliDetSwitchVector;
17
18class G4UIcommand;
19class G4UIdirectory;
20class G4UIcmdWithAString;
21class G4UIcmdWithoutParameter;
22
23class AliDetSwitchVectorMessenger: public G4UImessenger
24{
25 public:
26 AliDetSwitchVectorMessenger(AliDetSwitchVector* detSwitchVector);
27 // --> protected
28 // AliDetSwitchVectorMessenger();
29 // AliDetSwitchVectorMessenger(const AliDetSwitchVectorMessenger& right);
30 virtual ~AliDetSwitchVectorMessenger();
31
32 // methods
33 virtual void SetNewValue(G4UIcommand* command, G4String newValues);
caaa644c 34 void Update();
2f310734 35
36 protected:
37 AliDetSwitchVectorMessenger();
38 AliDetSwitchVectorMessenger(const AliDetSwitchVectorMessenger& right);
39
40 // operators
41 AliDetSwitchVectorMessenger&
42 operator=(const AliDetSwitchVectorMessenger &right);
43
44 private:
caaa644c 45 // methods
46 void SetGuidance();
47 void SetCandidates();
48
2f310734 49 AliDetSwitchVector* fDetSwitchVector; //associated class
50
51 // commands data members
52 G4UIcmdWithAString* fSwitchOnCmd; //command: switchOn
53 G4UIcmdWithAString* fSwitchOffCmd; //command: switchOn
54 G4UIcmdWithoutParameter* fListCmd; //command: list
55 G4UIcmdWithoutParameter* fListAvailableCmd;//command: listAvailable
56};
57
58#endif //ALI_DET_SWITCH_VECTOR_MESSENGER_H
59