|
SLIC
6.1.1
Simulation for the Linear Collider (SLIC) - Geant4 simulation application
|
Messenger for event-related commands. More...
#include <EventMessenger.hh>
Public Member Functions | |
| EventMessenger () | |
| virtual | ~EventMessenger () |
| void | SetNewValue (G4UIcommand *command, G4String newValues) |
Private Member Functions | |
| void | defineCommands () |
Private Attributes | |
| G4UIcmdWithABool * | m_eventTimerCmd |
Messenger for event-related commands.
Definition at line 15 of file EventMessenger.hh.
| EventMessenger | ( | ) |
Class constructor.
Definition at line 10 of file EventMessenger.cc.
References EventMessenger::defineCommands().
|
virtual |
Class destructor.
Definition at line 14 of file EventMessenger.cc.
|
private |
Define the commands that this messenger with handle.
Definition at line 31 of file EventMessenger.cc.
References EventMessenger::m_eventTimerCmd.
Referenced by EventMessenger::EventMessenger().
| void SetNewValue | ( | G4UIcommand * | command, |
| G4String | newValues | ||
| ) |
Process the macro command.
| [in] | command | The macro command. |
| [in] | newValues | The argument values. |
Definition at line 17 of file EventMessenger.cc.
References EventAction::enableEventTimer(), EventAction::getEventAction(), and EventMessenger::m_eventTimerCmd.
|
private |
Definition at line 45 of file EventMessenger.hh.
Referenced by EventMessenger::defineCommands(), and EventMessenger::SetNewValue().