#include <G4VisCommandsListManager.hh>
Inheritance diagram for G4VisCommandListManagerList< Manager >:
Public Member Functions | |
G4VisCommandListManagerList (Manager *, const G4String &placement) | |
virtual | ~G4VisCommandListManagerList () |
G4String | GetCurrentValue (G4UIcommand *) |
void | SetNewValue (G4UIcommand *command, G4String newValue) |
G4String | Placement () const |
Definition at line 44 of file G4VisCommandsListManager.hh.
G4VisCommandListManagerList< Manager >::G4VisCommandListManagerList | ( | Manager * | , | |
const G4String & | placement | |||
) |
Definition at line 70 of file G4VisCommandsListManager.hh.
References G4VisCommandListManagerList< Manager >::Placement(), G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().
00071 :fpManager(manager) 00072 ,fPlacement(placement) 00073 { 00074 G4String command = Placement()+"/list"; 00075 00076 fpCommand = new G4UIcmdWithAString(command, this); 00077 fpCommand->SetGuidance("List objects registered with list manager"); 00078 fpCommand->SetParameterName("name", true); 00079 }
G4VisCommandListManagerList< Manager >::~G4VisCommandListManagerList | ( | ) | [virtual] |
G4String G4VisCommandListManagerList< Manager >::GetCurrentValue | ( | G4UIcommand * | ) | [virtual] |
G4String G4VisCommandListManagerList< Manager >::Placement | ( | ) | const |
Definition at line 89 of file G4VisCommandsListManager.hh.
Referenced by G4VisCommandListManagerList< Manager >::G4VisCommandListManagerList(), and G4VisCommandListManagerList< Manager >::SetNewValue().
void G4VisCommandListManagerList< Manager >::SetNewValue | ( | G4UIcommand * | command, | |
G4String | newValue | |||
) | [virtual] |
Reimplemented from G4UImessenger.
Definition at line 102 of file G4VisCommandsListManager.hh.
References G4cout, G4endl, and G4VisCommandListManagerList< Manager >::Placement().
00103 { 00104 G4cout<<"Listing models available in "<<Placement()<<G4endl; 00105 00106 assert (0 != fpManager); 00107 fpManager->Print(G4cout, name); 00108 }