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

#include <PhotonLibHypothesis.h>

Inheritance diagram for flashmatch::PhotonLibHypothesisFactory:
flashmatch::FlashHypothesisFactoryBase

Public Member Functions

 PhotonLibHypothesisFactory ()
 ctor More...
 
 ~PhotonLibHypothesisFactory ()
 dtor More...
 
BaseFlashHypothesiscreate (const std::string instance_name)
 creation method More...
 
- Public Member Functions inherited from flashmatch::FlashHypothesisFactoryBase
 FlashHypothesisFactoryBase ()
 Default ctor. More...
 
virtual ~FlashHypothesisFactoryBase ()
 Default dtor (virtual) More...
 

Detailed Description

Definition at line 79 of file PhotonLibHypothesis.h.

Constructor & Destructor Documentation

flashmatch::PhotonLibHypothesisFactory::PhotonLibHypothesisFactory ( )
inline

ctor

Definition at line 82 of file PhotonLibHypothesis.h.

82 { FlashHypothesisFactory::get().add_factory("PhotonLibHypothesis",this); }
void add_factory(const std::string name, flashmatch::FlashHypothesisFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
static FlashHypothesisFactory & get()
Static sharable instance getter.
flashmatch::PhotonLibHypothesisFactory::~PhotonLibHypothesisFactory ( )
inline

dtor

Definition at line 84 of file PhotonLibHypothesis.h.

84 {}

Member Function Documentation

BaseFlashHypothesis* flashmatch::PhotonLibHypothesisFactory::create ( const std::string  instance_name)
inlinevirtual

creation method

Implements flashmatch::FlashHypothesisFactoryBase.

Definition at line 86 of file PhotonLibHypothesis.h.

86 { return new PhotonLibHypothesis(instance_name); }

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