JANA2
C++ framework for multi-threaded data processing
JEventSourceGenerator Class Referenceabstract
Inheritance diagram for JEventSourceGenerator:
[legend]
Collaboration diagram for JEventSourceGenerator:
[legend]

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

JApplicationmApplication {nullptr}
 
std::string mPluginName
 
JEventLevel mLevel = JEventLevel::None
 

Member Function Documentation

◆ SetJApplication()

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: