JANA2
JEventSourceGenerator Class Referenceabstract
Inheritance diagram for JEventSourceGenerator:
Collaboration diagram for JEventSourceGenerator:

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 JEventSourceMakeJEventSource (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

JApplicationmApplication {nullptr}
 
std::string mPluginName
 

Member Function Documentation

void JEventSourceGenerator::SetJApplication ( JApplication app)
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.


The documentation for this class was generated from the following file: