35 #ifndef G4VISCOMMANDLISTMANAGER_HH
36 #define G4VISCOMMANDLISTMANAGER_HH
39 #include "G4String.hh"
43 template <
typename Manager>
69 template <
typename Manager>
72 ,fPlacement(placement)
77 fpCommand->
SetGuidance(
"List objects registered with list manager");
81 template <
typename Manager>
87 template <
typename Manager>
94 template <
typename Manager>
101 template <
typename Manager>
104 G4cout<<
"Listing models available in "<<Placement()<<
G4endl;
106 assert (0 != fpManager);
107 fpManager->Print(
G4cout, name);
111 template <
typename Manager>
133 template <
typename Manager>
136 ,fPlacement(placement)
138 G4String command = placement+
"/select";
139 G4String guidance =
"Select created object";
146 template <
typename Manager>
152 template <
typename Manager>
159 template <
typename Manager>
162 assert (0 != fpManager);
163 fpManager->SetCurrent(name);
167 template <
typename Manager>
187 template <
typename Manager>
190 ,fPlacement(placement)
192 G4String command = fPlacement+
"/mode";
200 template <
typename Manager>
206 template <
typename Manager>
213 template <
typename Manager>
216 assert (0 != fpManager);
217 fpManager->SetMode(name);
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
G4VisCommandManagerMode(Manager *, const G4String &placement)
virtual ~G4VisCommandListManagerList()
virtual ~G4VisCommandListManagerSelect()
G4String GetCurrentValue(G4UIcommand *)
G4GLOB_DLL std::ostream G4cout
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetGuidance(const char *aGuidance)
G4String Placement() const
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *)
G4VisCommandListManagerSelect(Manager *, const G4String &placement)
G4String GetCurrentValue(G4UIcommand *)
void SetCandidates(const char *candidateList)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandListManagerList(Manager *, const G4String &placement)
virtual ~G4VisCommandManagerMode()