G4VisCommandListManagerSelect< Manager > Class Template Reference

#include <G4VisCommandsListManager.hh>

Inheritance diagram for G4VisCommandListManagerSelect< Manager >:

G4UImessenger

Public Member Functions

 G4VisCommandListManagerSelect (Manager *, const G4String &placement)
virtual ~G4VisCommandListManagerSelect ()
G4String GetCurrentValue (G4UIcommand *)
void SetNewValue (G4UIcommand *command, G4String newValue)

Detailed Description

template<typename Manager>
class G4VisCommandListManagerSelect< Manager >

Definition at line 112 of file G4VisCommandsListManager.hh.


Constructor & Destructor Documentation

template<typename Manager>
G4VisCommandListManagerSelect< Manager >::G4VisCommandListManagerSelect ( Manager *  ,
const G4String placement 
)

Definition at line 134 of file G4VisCommandsListManager.hh.

References G4UIcommand::SetGuidance(), and G4UIcmdWithAString::SetParameterName().

00135   :fpManager(manager)
00136   ,fPlacement(placement)
00137 {  
00138   G4String command = placement+"/select";
00139   G4String guidance = "Select created object";
00140  
00141   fpCommand = new G4UIcmdWithAString(command, this);      
00142   fpCommand->SetGuidance(guidance);
00143   fpCommand->SetParameterName("name", false);       
00144 }

template<typename Manager>
G4VisCommandListManagerSelect< Manager >::~G4VisCommandListManagerSelect (  )  [virtual]

Definition at line 147 of file G4VisCommandsListManager.hh.

00148 {
00149   delete fpCommand;
00150 }


Member Function Documentation

template<typename Manager>
G4String G4VisCommandListManagerSelect< Manager >::GetCurrentValue ( G4UIcommand  )  [virtual]

Reimplemented from G4UImessenger.

Definition at line 154 of file G4VisCommandsListManager.hh.

00155 {
00156   return "";
00157 }

template<typename Manager>
void G4VisCommandListManagerSelect< Manager >::SetNewValue ( G4UIcommand command,
G4String  newValue 
) [virtual]

Reimplemented from G4UImessenger.

Definition at line 160 of file G4VisCommandsListManager.hh.

00161 {
00162   assert (0 != fpManager);
00163   fpManager->SetCurrent(name);
00164 }    


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:53:45 2013 for Geant4 by  doxygen 1.4.7