6 userPlugin_(userPlugin) {
8 pluginDir_ =
new G4UIdirectory(std::string(
"/slic/plugins/" + userPlugin->
getName() +
"/").c_str());
9 pluginDir_->SetGuidance(std::string(
"Commands for the sim plugin " + userPlugin->
getName()).c_str());
12 G4UIparameter*
verbose =
new G4UIparameter(
"verboseLevel",
'i',
false);
14 verboseCmd_->SetGuidance(
"Set the verbosity level of the sim plugin (1-4).");
15 verboseCmd_->AvailableForStates(G4ApplicationState::G4State_PreInit, G4ApplicationState::G4State_Idle);
void SetNewValue(G4UIcommand *command, G4String newValue)
UserActionPlugin * userPlugin_
G4UIdirectory * pluginDir_
const std::string & getPath()
UserActionPluginMessenger(UserActionPlugin *userPlugin)
G4UIcommand * verboseCmd_
void setVerboseLevel(int verbose)
virtual std::string getName()=0