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

#include <CommonAmps.h>

Inheritance diagram for flashmatch::CommonAmpsFactory:
flashmatch::FlashMatchFactoryBase

Public Member Functions

 CommonAmpsFactory ()
 ctor More...
 
 ~CommonAmpsFactory ()
 dtor More...
 
BaseFlashMatchcreate (const std::string instance_name)
 creation method More...
 
- Public Member Functions inherited from flashmatch::FlashMatchFactoryBase
 FlashMatchFactoryBase ()
 Default ctor. More...
 
virtual ~FlashMatchFactoryBase ()
 Default dtor (virtual) More...
 

Detailed Description

Definition at line 61 of file CommonAmps.h.

Constructor & Destructor Documentation

flashmatch::CommonAmpsFactory::CommonAmpsFactory ( )
inline

ctor

Definition at line 64 of file CommonAmps.h.

64 { FlashMatchFactory::get().add_factory("CommonAmps",this); }
static FlashMatchFactory & get()
Static sharable instance getter.
void add_factory(const std::string name, flashmatch::FlashMatchFactoryBase *factory)
Factory registration method (should be called by global factory instance in algorithm header) ...
flashmatch::CommonAmpsFactory::~CommonAmpsFactory ( )
inline

dtor

Definition at line 66 of file CommonAmps.h.

66 {}

Member Function Documentation

BaseFlashMatch* flashmatch::CommonAmpsFactory::create ( const std::string  instance_name)
inlinevirtual

creation method

Implements flashmatch::FlashMatchFactoryBase.

Definition at line 68 of file CommonAmps.h.

68 { return new CommonAmps(instance_name); }

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