Geant4  10.02.p02
G4GenericMessenger::Command Struct Reference

#include <G4GenericMessenger.hh>

+ Inheritance diagram for G4GenericMessenger::Command:
+ Collaboration diagram for G4GenericMessenger::Command:

Public Types

enum  UnitSpec { UnitCategory, UnitDefault }
 

Public Member Functions

 Command (G4UIcommand *cmd, const std::type_info &ti)
 
 Command ()
 
CommandSetStates (G4ApplicationState s0)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
CommandSetRange (const G4String &range)
 
CommandSetGuidance (const G4String &s0)
 
CommandSetUnit (const G4String &, UnitSpec=UnitDefault)
 
CommandSetUnitCategory (const G4String &u)
 
CommandSetDefaultUnit (const G4String &u)
 
CommandSetParameterName (const G4String &, G4bool, G4bool=false)
 
CommandSetDefaultValue (const G4String &)
 
CommandSetCandidates (const G4String &)
 
CommandSetToBeBroadcasted (G4bool s0)
 
CommandSetToBeFlushed (G4bool s0)
 
CommandSetWorkerThreadOnly (G4bool s0)
 

Public Attributes

G4UIcommandcommand
 
const std::type_info * type
 

Detailed Description

Definition at line 59 of file G4GenericMessenger.hh.

Member Enumeration Documentation

Enumerator
UnitCategory 
UnitDefault 

Definition at line 60 of file G4GenericMessenger.hh.

Constructor & Destructor Documentation

G4GenericMessenger::Command::Command ( G4UIcommand cmd,
const std::type_info &  ti 
)
inline

Definition at line 61 of file G4GenericMessenger.hh.

G4GenericMessenger::Command::Command ( )
inline

Definition at line 62 of file G4GenericMessenger.hh.

Member Function Documentation

G4GenericMessenger::Command & G4GenericMessenger::Command::SetCandidates ( const G4String candList)

Definition at line 247 of file G4GenericMessenger.cc.

References G4UIparameter::SetParameterCandidates().

Referenced by UIhelpers::buildCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Command& G4GenericMessenger::Command::SetDefaultUnit ( const G4String u)
inline

Definition at line 73 of file G4GenericMessenger.hh.

References SetUnit(), and UnitDefault.

+ Here is the call graph for this function:

G4GenericMessenger::Command & G4GenericMessenger::Command::SetDefaultValue ( const G4String defVal)

Definition at line 253 of file G4GenericMessenger.cc.

References G4UIparameter::SetDefaultValue().

Referenced by UIhelpers::buildCommands(), B5MagneticField::DefineCommands(), B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Command& G4GenericMessenger::Command::SetGuidance ( const G4String s0)
inline

Definition at line 70 of file G4GenericMessenger.hh.

References G4UIcommand::SetGuidance().

Referenced by B5PrimaryGeneratorAction::DefineCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GenericMessenger::Command & G4GenericMessenger::Command::SetParameterName ( const G4String name,
G4bool  omittable,
G4bool  currentAsDefault = false 
)

Definition at line 239 of file G4GenericMessenger.cc.

References G4UIparameter::SetCurrentAsDefault(), G4UIparameter::SetOmittable(), and G4UIparameter::SetParameterName().

Referenced by UIhelpers::buildCommands(), B5MagneticField::DefineCommands(), B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Command& G4GenericMessenger::Command::SetRange ( const G4String range)
inline

Definition at line 69 of file G4GenericMessenger.hh.

References G4UIcommand::SetRange().

Referenced by B5DetectorConstruction::DefineCommands(), and B5PrimaryGeneratorAction::DefineCommands().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Command& G4GenericMessenger::Command::SetStates ( G4ApplicationState  s0)
inline

Definition at line 64 of file G4GenericMessenger.hh.

References G4UIcommand::AvailableForStates().

Referenced by UIhelpers::buildCommands(), GB03BOptrGeometryBasedBiasing::GB03BOptrGeometryBasedBiasing(), and GB04BOptrBremSplitting::GB04BOptrBremSplitting().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Command& G4GenericMessenger::Command::SetStates ( G4ApplicationState  s0,
G4ApplicationState  s1 
)
inline

Definition at line 65 of file G4GenericMessenger.hh.

References G4UIcommand::AvailableForStates().

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetStates ( G4ApplicationState  s0,
G4ApplicationState  s1,
G4ApplicationState  s2 
)
inline

Definition at line 66 of file G4GenericMessenger.hh.

References G4UIcommand::AvailableForStates().

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetStates ( G4ApplicationState  s0,
G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3 
)
inline

Definition at line 67 of file G4GenericMessenger.hh.

References G4UIcommand::AvailableForStates().

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetStates ( G4ApplicationState  s0,
G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3,
G4ApplicationState  s4 
)
inline

Definition at line 68 of file G4GenericMessenger.hh.

References G4UIcommand::AvailableForStates().

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetToBeBroadcasted ( G4bool  s0)
inline

Definition at line 77 of file G4GenericMessenger.hh.

References G4UIcommand::SetToBeBroadcasted().

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetToBeFlushed ( G4bool  s0)
inline

Definition at line 78 of file G4GenericMessenger.hh.

References G4UIcommand::SetToBeFlushed().

+ Here is the call graph for this function:

G4GenericMessenger::Command & G4GenericMessenger::Command::SetUnit ( const G4String unit,
UnitSpec  spec = UnitDefault 
)
Command& G4GenericMessenger::Command::SetUnitCategory ( const G4String u)
inline

Definition at line 72 of file G4GenericMessenger.hh.

References SetUnit(), and UnitCategory.

+ Here is the call graph for this function:

Command& G4GenericMessenger::Command::SetWorkerThreadOnly ( G4bool  s0)
inline

Definition at line 79 of file G4GenericMessenger.hh.

References G4UIcommand::SetWorkerThreadOnly().

+ Here is the call graph for this function:

Member Data Documentation

G4UIcommand* G4GenericMessenger::Command::command

Definition at line 81 of file G4GenericMessenger.hh.

Referenced by SetUnit().

const std::type_info* G4GenericMessenger::Command::type

Definition at line 82 of file G4GenericMessenger.hh.

Referenced by SetUnit().


The documentation for this struct was generated from the following files: