Geant4
10.01.p02
|
#include <G4HnMessenger.hh>
Public Member Functions | |
G4HnMessenger (G4HnManager *manager) | |
virtual | ~G4HnMessenger () |
virtual void | SetNewValue (G4UIcommand *command, G4String value) |
Public Member Functions inherited from G4UImessenger | |
G4UImessenger () | |
G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) | |
virtual | ~G4UImessenger () |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator== (const G4UImessenger &messenger) const |
G4bool | CommandsShouldBeInMaster () const |
Private Member Functions | |
G4String | GetCmdDirectoryName () const |
G4String | GetHnDescription () const |
void | SetHnAsciiCmd () |
void | SetHnActivationCmd () |
void | SetHnActivationToAllCmd () |
Private Attributes | |
G4HnManager * | fManager |
Associated class. More... | |
G4UIcmdWithAnInteger * | fSetHnAsciiCmd |
G4UIcommand * | fSetHnActivationCmd |
G4UIcmdWithABool * | fSetHnActivationAllCmd |
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 | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
G4bool | commandsShouldBeInMaster |
Definition at line 44 of file G4HnMessenger.hh.
G4HnMessenger::G4HnMessenger | ( | G4HnManager * | manager | ) |
Definition at line 58 of file G4HnMessenger.cc.
References SetHnActivationCmd(), SetHnActivationToAllCmd(), and SetHnAsciiCmd().
|
virtual |
Definition at line 72 of file G4HnMessenger.cc.
References fSetHnActivationAllCmd, fSetHnActivationCmd, and fSetHnAsciiCmd.
|
private |
Definition at line 84 of file G4HnMessenger.cc.
References G4String::append(), fManager, G4HnManager::GetHnType(), name, and G4String::toLower().
Referenced by SetHnActivationCmd(), SetHnActivationToAllCmd(), and SetHnAsciiCmd().
|
private |
Definition at line 95 of file G4HnMessenger.cc.
References G4String::append(), fManager, and G4HnManager::GetHnType().
Referenced by SetHnActivationCmd(), SetHnActivationToAllCmd(), and SetHnAsciiCmd().
|
private |
Definition at line 121 of file G4HnMessenger.cc.
References G4String::append(), G4UIcommand::AvailableForStates(), fSetHnActivationCmd, G4State_Idle, G4State_PreInit, GetCmdDirectoryName(), GetHnDescription(), name, G4UIparameter::SetDefaultValue(), G4UIparameter::SetGuidance(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), and G4UIparameter::SetParameterRange().
Referenced by G4HnMessenger().
|
private |
Definition at line 146 of file G4HnMessenger.cc.
References G4String::append(), fSetHnActivationAllCmd, GetCmdDirectoryName(), GetHnDescription(), name, G4UIcommand::SetGuidance(), and G4UIcmdWithABool::SetParameterName().
Referenced by G4HnMessenger().
|
private |
Definition at line 104 of file G4HnMessenger.cc.
References G4String::append(), G4UIcommand::AvailableForStates(), fSetHnAsciiCmd, G4State_Idle, G4State_PreInit, GetCmdDirectoryName(), GetHnDescription(), name, G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), and G4UIcommand::SetRange().
Referenced by G4HnMessenger().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 165 of file G4HnMessenger.cc.
References G4UIcommand::ConvertToBool(), G4UIcommand::ConvertToInt(), UUtils::Exception(), fManager, fSetHnActivationAllCmd, fSetHnActivationCmd, fSetHnAsciiCmd, G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4UIcommand::GetParameterEntries(), G4HnManager::SetActivation(), G4HnManager::SetAscii(), and G4Analysis::Tokenize().
|
private |
Associated class.
Definition at line 60 of file G4HnMessenger.hh.
Referenced by GetCmdDirectoryName(), GetHnDescription(), and SetNewValue().
|
private |
Definition at line 64 of file G4HnMessenger.hh.
Referenced by SetHnActivationToAllCmd(), SetNewValue(), and ~G4HnMessenger().
|
private |
Definition at line 63 of file G4HnMessenger.hh.
Referenced by SetHnActivationCmd(), SetNewValue(), and ~G4HnMessenger().
|
private |
Definition at line 62 of file G4HnMessenger.hh.
Referenced by SetHnAsciiCmd(), SetNewValue(), and ~G4HnMessenger().