LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "UserActionFactory.h"
Classes | |
struct | Cleaner |
Public Member Functions | |
g4b::UserAction * | GetUserAction (const std::string &) |
bool | IsKnownUserAction (const std::string &) |
const std::vector< std::string > & | AvailableUserActions () const |
bool | RegisterCreator (std::string name, UserActionCtorFuncPtr_t ctorptr, bool *ptr) |
Static Public Member Functions | |
static UserActionFactory & | Instance () |
Private Member Functions | |
UserActionFactory () | |
virtual | ~UserActionFactory () |
UserActionFactory (const UserActionFactory &) | |
void | operator= (const UserActionFactory &) |
Private Attributes | |
std::map< std::string, UserActionCtorFuncPtr_t > | fFunctionMap |
std::map< std::string, bool * > | fBoolPtrMap |
std::vector< std::string > | listnames |
Static Private Attributes | |
static UserActionFactory * | fgTheInstance |
Friends | |
struct | Cleaner |
Definition at line 34 of file UserActionFactory.h.
|
private |
Definition at line 21 of file UserActionFactory.cxx.
References fgTheInstance.
Referenced by Instance().
|
privatevirtual |
Definition at line 26 of file UserActionFactory.cxx.
References fgTheInstance.
|
private |
const std::vector< std::string > & g4b::UserActionFactory::AvailableUserActions | ( | ) | const |
Definition at line 78 of file UserActionFactory.cxx.
References fFunctionMap, and listnames.
UserAction * g4b::UserActionFactory::GetUserAction | ( | const std::string & | name | ) |
Definition at line 46 of file UserActionFactory.cxx.
References fFunctionMap, and g4b::UserAction::SetName().
|
static |
Definition at line 31 of file UserActionFactory.cxx.
References fgTheInstance, g4b::UserActionFactory::Cleaner::UseMe(), and UserActionFactory().
bool g4b::UserActionFactory::IsKnownUserAction | ( | const std::string & | name | ) |
Definition at line 67 of file UserActionFactory.cxx.
References fFunctionMap.
|
private |
bool g4b::UserActionFactory::RegisterCreator | ( | std::string | name, |
UserActionCtorFuncPtr_t | ctorptr, | ||
bool * | ptr | ||
) |
Definition at line 92 of file UserActionFactory.cxx.
References fBoolPtrMap, and fFunctionMap.
|
friend |
Definition at line 88 of file UserActionFactory.h.
|
private |
Definition at line 60 of file UserActionFactory.h.
Referenced by RegisterCreator().
|
private |
Definition at line 57 of file UserActionFactory.h.
Referenced by AvailableUserActions(), GetUserAction(), IsKnownUserAction(), and RegisterCreator().
|
staticprivate |
Definition at line 54 of file UserActionFactory.h.
Referenced by Instance(), UserActionFactory(), g4b::UserActionFactory::Cleaner::~Cleaner(), and ~UserActionFactory().
|
mutableprivate |
Definition at line 62 of file UserActionFactory.h.
Referenced by AvailableUserActions().