Geant4
10.00.p01
|
#include <G4GenericMessenger.hh>
Public Types | |
enum | UnitSpec { UnitCategory, UnitDefault } |
Public Member Functions | |
Command (G4UIcommand *cmd, const std::type_info &ti) | |
Command () | |
Command & | SetStates (G4ApplicationState s0) |
Command & | SetStates (G4ApplicationState s0, G4ApplicationState s1) |
Command & | SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2) |
Command & | SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3) |
Command & | SetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4) |
Command & | SetRange (const G4String &range) |
Command & | SetGuidance (const G4String &s) |
Command & | SetUnit (const G4String &, UnitSpec=UnitDefault) |
Command & | SetUnitCategory (const G4String &u) |
Command & | SetDefaultUnit (const G4String &u) |
Command & | SetParameterName (const G4String &, G4bool, G4bool=false) |
Command & | SetDefaultValue (const G4String &) |
Command & | SetCandidates (const G4String &) |
Public Attributes | |
G4UIcommand * | command |
const std::type_info * | type |
Definition at line 59 of file G4GenericMessenger.hh.
Enumerator | |
---|---|
UnitCategory | |
UnitDefault |
Definition at line 60 of file G4GenericMessenger.hh.
|
inline |
Definition at line 61 of file G4GenericMessenger.hh.
|
inline |
Definition at line 62 of file G4GenericMessenger.hh.
G4GenericMessenger::Command & G4GenericMessenger::Command::SetCandidates | ( | const G4String & | candList | ) |
Definition at line 243 of file G4GenericMessenger.cc.
References G4UIparameter::SetParameterCandidates().
Definition at line 73 of file G4GenericMessenger.hh.
References SetUnit(), and UnitDefault.
G4GenericMessenger::Command & G4GenericMessenger::Command::SetDefaultValue | ( | const G4String & | defVal | ) |
Definition at line 249 of file G4GenericMessenger.cc.
References G4UIparameter::SetDefaultValue().
Referenced by B5MagneticField::DefineCommands(), B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().
Definition at line 70 of file G4GenericMessenger.hh.
References G4UIcommand::SetGuidance().
Referenced by B5PrimaryGeneratorAction::DefineCommands().
G4GenericMessenger::Command & G4GenericMessenger::Command::SetParameterName | ( | const G4String & | name, |
G4bool | omittable, | ||
G4bool | currentAsDefault = false |
||
) |
Definition at line 235 of file G4GenericMessenger.cc.
References G4UIparameter::SetCurrentAsDefault(), G4UIparameter::SetOmittable(), and G4UIparameter::SetParameterName().
Referenced by B5MagneticField::DefineCommands(), B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().
Definition at line 69 of file G4GenericMessenger.hh.
References G4UIcommand::SetRange().
Referenced by B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().
|
inline |
Definition at line 64 of file G4GenericMessenger.hh.
References G4UIcommand::AvailableForStates().
|
inline |
Definition at line 65 of file G4GenericMessenger.hh.
References G4UIcommand::AvailableForStates().
|
inline |
Definition at line 66 of file G4GenericMessenger.hh.
References G4UIcommand::AvailableForStates().
|
inline |
Definition at line 67 of file G4GenericMessenger.hh.
References G4UIcommand::AvailableForStates().
|
inline |
Definition at line 68 of file G4GenericMessenger.hh.
References G4UIcommand::AvailableForStates().
G4GenericMessenger::Command & G4GenericMessenger::Command::SetUnit | ( | const G4String & | unit, |
UnitSpec | spec = UnitDefault |
||
) |
Definition at line 182 of file G4GenericMessenger.cc.
References command, FatalException, G4cerr, G4endl, G4Exception(), G4UIcommand::GetCommandPath(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommand::GetMessenger(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterName(), G4UIcommand::GetRange(), G4UIparameter::IsOmittable(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcommand::SetGuidance(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcommand::SetRange(), G4UIcmdWithADoubleAndUnit::SetUnitCategory(), G4UIcmdWith3VectorAndUnit::SetUnitCategory(), type, UnitCategory, and UnitDefault.
Referenced by SetDefaultUnit(), and SetUnitCategory().
Definition at line 72 of file G4GenericMessenger.hh.
References SetUnit(), and UnitCategory.
G4UIcommand* G4GenericMessenger::Command::command |
Definition at line 78 of file G4GenericMessenger.hh.
Referenced by SetUnit().
const std::type_info* G4GenericMessenger::Command::type |
Definition at line 79 of file G4GenericMessenger.hh.
Referenced by SetUnit().