12 #include "nutools/G4Base/UserActionFactory.h" 62 <<
"UserAction " << name <<
" is not known";
77 const std::vector<std::string>&
bool IsKnownUserAction(const std::string &)
std::vector< std::string > listnames
static UserActionFactory & Instance()
std::map< std::string, UserActionCtorFuncPtr_t > fFunctionMap
void SetName(std::string const &name)
const std::vector< std::string > & AvailableUserActions() const
std::map< std::string, bool * > fBoolPtrMap
g4b::UserAction *(* UserActionCtorFuncPtr_t)()
static UserActionFactory * fgTheInstance
basic interface to Geant4 for ART-based software
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
virtual ~UserActionFactory()
bool RegisterCreator(std::string name, UserActionCtorFuncPtr_t ctorptr, bool *ptr)
g4b::UserAction * GetUserAction(const std::string &)