JANA2
|
Public Member Functions | |
JEventSourceGenerator (JApplication *app=nullptr) | |
virtual std::string | GetType (void) const =0 |
Return name of the source type this will generate. | |
virtual std::string | GetDescription (void) const =0 |
Return description of the source type this will generate. | |
virtual JEventSource * | MakeJEventSource (std::string source)=0 |
Create an instance of the source type this generates. | |
virtual double | CheckOpenable (std::string source)=0 |
See JEventSourceGeneratorT for description. | |
Public Attributes | |
friend | JComponentManager |
Protected Member Functions | |
void | SetJApplication (JApplication *app) |
This is called by JEventSourceManager::AddJEventSourceGenerator which itself is called by JApplication::Add(JEventSourceGenerator*). More... | |
void | SetPlugin (std::string plugin_name) |
SetPlugin is called by JANA itself and should not be exposed to the user. | |
std::string | GetPlugin () const |
GetPlugin is called by JANA itself and should not be exposed to the user. | |
Protected Attributes | |
JApplication * | mApplication {nullptr} |
std::string | mPluginName |
|
inlineprotected |
This is called by JEventSourceManager::AddJEventSourceGenerator which itself is called by JApplication::Add(JEventSourceGenerator*).
There should be no need to call it from anywhere else.