Geant4_10
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4UIcommand Class Reference

#include <G4UIcommand.hh>

Inheritance diagram for G4UIcommand:
Inheritance graph
[legend]

Public Member Functions

 G4UIcommand ()
 
 G4UIcommand (const char *theCommandPath, G4UImessenger *theMessenger, G4bool tBB=true)
 
virtual ~G4UIcommand ()
 
G4int operator== (const G4UIcommand &right) const
 
G4int operator!= (const G4UIcommand &right) const
 
virtual G4int DoIt (G4String parameterList)
 
G4String GetCurrentValue ()
 
void AvailableForStates (G4ApplicationState s1)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4, G4ApplicationState s5)
 
G4bool IsAvailable ()
 
virtual void List ()
 
void SetRange (const char *rs)
 
const G4StringGetRange () const
 
G4int GetGuidanceEntries () const
 
const G4StringGetGuidanceLine (G4int i) const
 
const G4StringGetCommandPath () const
 
const G4StringGetCommandName () const
 
G4int GetParameterEntries () const
 
G4UIparameterGetParameter (G4int i) const
 
std::vector< G4ApplicationState > * GetStateList ()
 
G4UImessengerGetMessenger () const
 
void SetParameter (G4UIparameter *const newParameter)
 
void SetGuidance (const char *aGuidance)
 
const G4String GetTitle () const
 
void SetToBeBroadcasted (G4bool val)
 
G4bool ToBeBroadcasted () const
 
void SetToBeFlushed (G4bool val)
 
G4bool ToBeFlushed () const
 
void SetWorkerThreadOnly (G4bool val=true)
 
G4bool IsWorkerThreadOnly () const
 

Static Public Member Functions

static G4String ConvertToString (G4bool boolVal)
 
static G4String ConvertToString (G4int intValue)
 
static G4String ConvertToString (G4double doubleValue)
 
static G4String ConvertToString (G4double doubleValue, const char *unitName)
 
static G4String ConvertToString (G4ThreeVector vec)
 
static G4String ConvertToString (G4ThreeVector vec, const char *unitName)
 
static G4bool ConvertToBool (const char *st)
 
static G4int ConvertToInt (const char *st)
 
static G4double ConvertToDouble (const char *st)
 
static G4double ConvertToDimensionedDouble (const char *st)
 
static G4ThreeVector ConvertTo3Vector (const char *st)
 
static G4ThreeVector ConvertToDimensioned3Vector (const char *st)
 
static G4double ValueOf (const char *unitName)
 
static G4String CategoryOf (const char *unitName)
 
static G4String UnitsList (const char *unitCategory)
 

Protected Member Functions

G4int CheckNewValue (const char *newValue)
 

Protected Attributes

G4bool toBeBroadcasted
 
G4bool toBeFlushed
 
G4bool workerThreadOnly
 

Detailed Description

Definition at line 51 of file G4UIcommand.hh.

Constructor & Destructor Documentation

G4UIcommand::G4UIcommand ( )

Definition at line 41 of file G4UIcommand.cc.

G4UIcommand::G4UIcommand ( const char *  theCommandPath,
G4UImessenger theMessenger,
G4bool  tBB = true 
)

Definition at line 47 of file G4UIcommand.cc.

G4UIcommand::~G4UIcommand ( )
virtual

Definition at line 85 of file G4UIcommand.cc.

Here is the call graph for this function:

Member Function Documentation

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1)

Definition at line 225 of file G4UIcommand.cc.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2 
)

Definition at line 231 of file G4UIcommand.cc.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3 
)

Definition at line 239 of file G4UIcommand.cc.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3,
G4ApplicationState  s4 
)

Definition at line 249 of file G4UIcommand.cc.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3,
G4ApplicationState  s4,
G4ApplicationState  s5 
)

Definition at line 261 of file G4UIcommand.cc.

G4String G4UIcommand::CategoryOf ( const char *  unitName)
static

Definition at line 301 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4UIcommand::CheckNewValue ( const char *  newValue)
protected

Definition at line 482 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4ThreeVector G4UIcommand::ConvertTo3Vector ( const char *  st)
static

Definition at line 449 of file G4UIcommand.cc.

Here is the caller graph for this function:

G4bool G4UIcommand::ConvertToBool ( const char *  st)
static

Definition at line 411 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4ThreeVector G4UIcommand::ConvertToDimensioned3Vector ( const char *  st)
static

Definition at line 459 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4UIcommand::ConvertToDimensionedDouble ( const char *  st)
static

Definition at line 437 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4UIcommand::ConvertToDouble ( const char *  st)
static

Definition at line 429 of file G4UIcommand.cc.

Here is the caller graph for this function:

G4int G4UIcommand::ConvertToInt ( const char *  st)
static

Definition at line 421 of file G4UIcommand.cc.

Here is the caller graph for this function:

G4String G4UIcommand::ConvertToString ( G4bool  boolVal)
static

Definition at line 357 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4int  intValue)
static

Definition at line 364 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4double  doubleValue)
static

Definition at line 372 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4double  doubleValue,
const char *  unitName 
)
static

Definition at line 380 of file G4UIcommand.cc.

Here is the call graph for this function:

G4String G4UIcommand::ConvertToString ( G4ThreeVector  vec)
static

Definition at line 391 of file G4UIcommand.cc.

Here is the call graph for this function:

G4String G4UIcommand::ConvertToString ( G4ThreeVector  vec,
const char *  unitName 
)
static

Definition at line 399 of file G4UIcommand.cc.

Here is the call graph for this function:

G4int G4UIcommand::DoIt ( G4String  parameterList)
virtual

Reimplemented in G4UIcmdWith3VectorAndUnit, and G4UIcmdWithADoubleAndUnit.

Definition at line 108 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

const G4String& G4UIcommand::GetCommandName ( ) const
inline

Definition at line 141 of file G4UIcommand.hh.

Here is the caller graph for this function:

const G4String& G4UIcommand::GetCommandPath ( ) const
inline

Definition at line 139 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4String G4UIcommand::GetCurrentValue ( )

Definition at line 220 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4UIcommand::GetGuidanceEntries ( ) const
inline

Definition at line 135 of file G4UIcommand.hh.

Here is the caller graph for this function:

const G4String& G4UIcommand::GetGuidanceLine ( G4int  i) const
inline

Definition at line 137 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4UImessenger* G4UIcommand::GetMessenger ( ) const
inline

Definition at line 149 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4UIparameter* G4UIcommand::GetParameter ( G4int  i) const
inline

Definition at line 145 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4int G4UIcommand::GetParameterEntries ( ) const
inline

Definition at line 143 of file G4UIcommand.hh.

Here is the caller graph for this function:

const G4String& G4UIcommand::GetRange ( ) const
inline

Definition at line 133 of file G4UIcommand.hh.

Here is the caller graph for this function:

std::vector<G4ApplicationState>* G4UIcommand::GetStateList ( )
inline

Definition at line 147 of file G4UIcommand.hh.

Here is the caller graph for this function:

const G4String G4UIcommand::GetTitle ( ) const
inline

Definition at line 170 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4bool G4UIcommand::IsAvailable ( )

Definition at line 275 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4UIcommand::IsWorkerThreadOnly ( ) const
inline

Definition at line 194 of file G4UIcommand.hh.

Here is the caller graph for this function:

void G4UIcommand::List ( )
virtual

Definition at line 334 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4int G4UIcommand::operator!= ( const G4UIcommand right) const

Definition at line 101 of file G4UIcommand.cc.

Here is the call graph for this function:

G4int G4UIcommand::operator== ( const G4UIcommand right) const

Definition at line 96 of file G4UIcommand.cc.

Here is the call graph for this function:

void G4UIcommand::SetGuidance ( const char *  aGuidance)
inline

Definition at line 161 of file G4UIcommand.hh.

void G4UIcommand::SetParameter ( G4UIparameter *const  newParameter)
inline

Definition at line 152 of file G4UIcommand.hh.

void G4UIcommand::SetRange ( const char *  rs)
inline

Definition at line 125 of file G4UIcommand.hh.

void G4UIcommand::SetToBeBroadcasted ( G4bool  val)
inline

Definition at line 184 of file G4UIcommand.hh.

Here is the caller graph for this function:

void G4UIcommand::SetToBeFlushed ( G4bool  val)
inline

Definition at line 188 of file G4UIcommand.hh.

void G4UIcommand::SetWorkerThreadOnly ( G4bool  val = true)
inline

Definition at line 192 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4bool G4UIcommand::ToBeBroadcasted ( ) const
inline

Definition at line 186 of file G4UIcommand.hh.

Here is the caller graph for this function:

G4bool G4UIcommand::ToBeFlushed ( ) const
inline

Definition at line 190 of file G4UIcommand.hh.

G4String G4UIcommand::UnitsList ( const char *  unitCategory)
static

Definition at line 306 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4double G4UIcommand::ValueOf ( const char *  unitName)
static

Definition at line 294 of file G4UIcommand.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

G4bool G4UIcommand::toBeBroadcasted
protected

Definition at line 179 of file G4UIcommand.hh.

G4bool G4UIcommand::toBeFlushed
protected

Definition at line 180 of file G4UIcommand.hh.

G4bool G4UIcommand::workerThreadOnly
protected

Definition at line 181 of file G4UIcommand.hh.


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