JANA2
C++ framework for multi-threaded data processing
|
Public Member Functions | |
JEventSourceGenerator (JApplication *app=nullptr) | |
virtual std::string | GetType (void) const |
Return name of the source type this will generate. | |
virtual std::string | GetDescription (void) const |
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 | SetPluginName (std::string plugin_name) |
SetPluginName is called by JANA itself and should not be exposed to the user. | |
std::string | GetPluginName () const |
GetPluginName is called by JANA itself and should not be exposed to the user. | |
JEventLevel | GetLevel () |
void | SetLevel (JEventLevel level) |
Protected Attributes | |
JApplication * | mApplication {nullptr} |
std::string | mPluginName |
JEventLevel | mLevel = JEventLevel::None |
|
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.