]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant4/AliDetSwitchVectorMessenger.h
Added EDEFINE with the flags from Geant4
[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);
34 void SetCandidates();
35
36 protected:
37 AliDetSwitchVectorMessenger();
38 AliDetSwitchVectorMessenger(const AliDetSwitchVectorMessenger& right);
39
40 // operators
41 AliDetSwitchVectorMessenger&
42 operator=(const AliDetSwitchVectorMessenger &right);
43
44 private:
45 AliDetSwitchVector* fDetSwitchVector; //associated class
46
47 // commands data members
48 G4UIcmdWithAString* fSwitchOnCmd; //command: switchOn
49 G4UIcmdWithAString* fSwitchOffCmd; //command: switchOn
50 G4UIcmdWithoutParameter* fListCmd; //command: list
51 G4UIcmdWithoutParameter* fListAvailableCmd;//command: listAvailable
52};
53
54#endif //ALI_DET_SWITCH_VECTOR_MESSENGER_H
55