Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UIsession Class Reference

#include <G4UIsession.hh>

+ Inheritance diagram for G4UIsession:

Public Member Functions

 G4UIsession ()
 
virtual ~G4UIsession ()
 
virtual G4UIsessionSessionStart ()
 
virtual void PauseSessionStart (const G4String &Prompt)
 
virtual G4int ReceiveG4cout (const G4String &coutString)
 
virtual G4int ReceiveG4cerr (const G4String &cerrString)
 
- Public Member Functions inherited from G4coutDestination
 G4coutDestination ()
 
virtual ~G4coutDestination ()
 
virtual G4int ReceiveG4cout (const G4String &)
 
virtual G4int ReceiveG4cerr (const G4String &)
 

Detailed Description

Definition at line 43 of file G4UIsession.hh.

Constructor & Destructor Documentation

◆ G4UIsession()

G4UIsession::G4UIsession ( )

Definition at line 34 of file G4UIsession.cc.

34{;}

◆ ~G4UIsession()

G4UIsession::~G4UIsession ( )
virtual

Definition at line 36 of file G4UIsession.cc.

36{;}

Member Function Documentation

◆ PauseSessionStart()

void G4UIsession::PauseSessionStart ( const G4String Prompt)
virtual

Reimplemented in G4UIGAG, G4UIterminal, G4UIGainServer, G4UIbatch, and G4VBasicShell.

Definition at line 40 of file G4UIsession.cc.

40{;}

Referenced by G4VisCommandReviewKeptEvents::SetNewValue().

◆ ReceiveG4cerr()

G4int G4UIsession::ReceiveG4cerr ( const G4String cerrString)
virtual

Reimplemented from G4coutDestination.

Reimplemented in G4UIGAG, G4UIterminal, and G4UIGainServer.

Definition at line 48 of file G4UIsession.cc.

49{
50 std::cerr << cerrString << std::flush;
51 return 0;
52}

◆ ReceiveG4cout()

G4int G4UIsession::ReceiveG4cout ( const G4String coutString)
virtual

Reimplemented from G4coutDestination.

Reimplemented in G4UIGAG, G4UIterminal, and G4UIGainServer.

Definition at line 42 of file G4UIsession.cc.

43{
44 std::cout << coutString << std::flush;
45 return 0;
46}

◆ SessionStart()

G4UIsession * G4UIsession::SessionStart ( )
virtual

Reimplemented in G4UIbatch, G4UIterminal, G4UIGAG, G4UIGainServer, and G4VBasicShell.

Definition at line 38 of file G4UIsession.cc.

38{ return NULL; }

Referenced by G4UImanager::ExecuteMacroFile().


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