All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
lightana::SimpleFlashAlgoFactory Class Reference

A concrete factory class for lightana::SimpleFlashAlgo. More...

#include <SimpleFlashAlgo.h>

Inheritance diagram for lightana::SimpleFlashAlgoFactory:
lightana::FlashAlgoFactoryBase

Public Member Functions

 SimpleFlashAlgoFactory ()
 ctor More...
 
 ~SimpleFlashAlgoFactory ()
 dtor More...
 
FlashAlgoBasecreate (const std::string instance_name)
 creation method More...
 
- Public Member Functions inherited from lightana::FlashAlgoFactoryBase
 FlashAlgoFactoryBase ()
 Default ctor. More...
 
virtual ~FlashAlgoFactoryBase ()
 Default dtor (virtual) More...
 

Detailed Description

A concrete factory class for lightana::SimpleFlashAlgo.

Definition at line 58 of file sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/SimpleFlashAlgo.h.

Constructor & Destructor Documentation

lightana::SimpleFlashAlgoFactory::SimpleFlashAlgoFactory ( )
inline

ctor

Definition at line 62 of file sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/SimpleFlashAlgo.h.

62 { FlashAlgoFactory::get().add_factory("SimpleFlashAlgo",this); }
void add_factory(const std::string name, lightana::FlashAlgoFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
static FlashAlgoFactory & get()
Static sharable instance getter.
lightana::SimpleFlashAlgoFactory::~SimpleFlashAlgoFactory ( )
inline

Member Function Documentation

FlashAlgoBase* lightana::SimpleFlashAlgoFactory::create ( const std::string  instance_name)
inlinevirtual

creation method

Implements lightana::FlashAlgoFactoryBase.

Definition at line 66 of file sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/SimpleFlashAlgo.h.

66 { return new SimpleFlashAlgo(instance_name); }

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