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

#include <LightPath.h>

Inheritance diagram for flashmatch::LightPathFactory:
flashmatch::CustomAlgoFactoryBase

Public Member Functions

 LightPathFactory ()
 ctor More...
 
 ~LightPathFactory ()
 dtor More...
 
BaseAlgorithmcreate (const std::string instance_name)
 creation method More...
 
- Public Member Functions inherited from flashmatch::CustomAlgoFactoryBase
 CustomAlgoFactoryBase ()
 Default ctor. More...
 
virtual ~CustomAlgoFactoryBase ()
 Default dtor (virtual) More...
 

Detailed Description

Definition at line 81 of file LightPath.h.

Constructor & Destructor Documentation

flashmatch::LightPathFactory::LightPathFactory ( )
inline

ctor

Definition at line 84 of file LightPath.h.

84 { CustomAlgoFactory::get().add_factory("LightPath",this); }
void add_factory(const std::string name, flashmatch::CustomAlgoFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
static CustomAlgoFactory & get()
Static sharable instance getter.
flashmatch::LightPathFactory::~LightPathFactory ( )
inline

dtor

Definition at line 86 of file LightPath.h.

86 {}

Member Function Documentation

BaseAlgorithm* flashmatch::LightPathFactory::create ( const std::string  instance_name)
inlinevirtual

creation method

Implements flashmatch::CustomAlgoFactoryBase.

Definition at line 88 of file LightPath.h.

88 { return new LightPath(instance_name); }

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