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

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

#include <SimpleFlashAlgo.h>

Inheritance diagram for pmtana::SimpleFlashAlgoFactory:
pmtana::FlashAlgoFactoryBase

Public Member Functions

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

Detailed Description

A concrete factory class for pmtana::SimpleFlashAlgo.

Definition at line 78 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/SimpleFlashAlgo.h.

Constructor & Destructor Documentation

pmtana::SimpleFlashAlgoFactory::SimpleFlashAlgoFactory ( )
inline

ctor

Definition at line 81 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/SimpleFlashAlgo.h.

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

dtor

Definition at line 83 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/SimpleFlashAlgo.h.

83 {}

Member Function Documentation

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

creation method

Implements pmtana::FlashAlgoFactoryBase.

Definition at line 85 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/SimpleFlashAlgo.h.

85 { return new SimpleFlashAlgo(instance_name); }

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