Factory class for instantiating flash algorithm instance. More...
#include <FlashProhibitFactory.h>
Public Member Functions | |
~FlashProhibitFactory () | |
Default dtor. More... | |
void | add_factory (const std::string name, flashmatch::FlashProhibitFactoryBase *factory) |
Factory registration method (should be called by global factory instance in algorithm header) More... | |
BaseProhibitAlgo * | create (const std::string name, const std::string instance_name) |
Factory creation method (should be called by clients, possibly you!) More... | |
Static Public Member Functions | |
static FlashProhibitFactory & | get () |
Static sharable instance getter. More... | |
Private Member Functions | |
FlashProhibitFactory () | |
Default ctor, shouldn't be used. More... | |
Private Attributes | |
std::map< std::string, flashmatch::FlashProhibitFactoryBase * > | _factory_map |
Static factory container. More... | |
Static Private Attributes | |
static FlashProhibitFactory * | _me = nullptr |
Static self. More... | |
Factory class for instantiating flash algorithm instance.
Definition at line 40 of file FlashProhibitFactory.h.
|
inlineprivate |
|
inline |
Default dtor.
Definition at line 46 of file FlashProhibitFactory.h.
|
inline |
Factory registration method (should be called by global factory instance in algorithm header)
Definition at line 51 of file FlashProhibitFactory.h.
|
inline |
Factory creation method (should be called by clients, possibly you!)
Definition at line 54 of file FlashProhibitFactory.h.
|
inlinestatic |
Static sharable instance getter.
Definition at line 48 of file FlashProhibitFactory.h.
|
private |
Static factory container.
Definition at line 66 of file FlashProhibitFactory.h.
|
staticprivate |
Static self.
Definition at line 68 of file FlashProhibitFactory.h.