Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VisCommandListManagerSelect< Manager > Class Template Reference

#include <G4VisCommandsListManager.hh>

Inheritance diagram for G4VisCommandListManagerSelect< Manager >:
Collaboration diagram for G4VisCommandListManagerSelect< Manager >:

Public Member Functions

 G4VisCommandListManagerSelect (Manager *, const G4String &placement)
 
virtual ~G4VisCommandListManagerSelect ()
 
G4String GetCurrentValue (G4UIcommand *)
 
void SetNewValue (G4UIcommand *command, G4String newValue)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

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 *  manager,
const G4String placement 
)

Definition at line 134 of file G4VisCommandsListManager.hh.

135  :fpManager(manager)
136  ,fPlacement(placement)
137 {
138  G4String command = placement+"/select";
139  G4String guidance = "Select created object";
140 
141  fpCommand = new G4UIcmdWithAString(command, this);
142  fpCommand->SetGuidance(guidance);
143  fpCommand->SetParameterName("name", false);
144 }
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
Definition: G4UIcommand.hh:161

Here is the call graph for this function:

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

Definition at line 147 of file G4VisCommandsListManager.hh.

148 {
149  delete fpCommand;
150 }

Member Function Documentation

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

Reimplemented from G4UImessenger.

Definition at line 154 of file G4VisCommandsListManager.hh.

155 {
156  return "";
157 }
template<typename Manager >
void G4VisCommandListManagerSelect< Manager >::SetNewValue ( G4UIcommand command,
G4String  newValue 
)
virtual

Reimplemented from G4UImessenger.

Definition at line 160 of file G4VisCommandsListManager.hh.

161 {
162  assert (0 != fpManager);
163  fpManager->SetCurrent(name);
164 }
const XML_Char * name
Definition: expat.h:151

The documentation for this class was generated from the following file: