An interface for all Factory instances, specifying a few pure virtual methods.
More...
#include <factory.h>
An interface for all Factory instances, specifying a few pure virtual methods.
Definition at line 428 of file factory.h.
virtual infact::FactoryBase::~FactoryBase |
( |
| ) |
|
|
inlinevirtual |
virtual const string infact::FactoryBase::BaseName |
( |
| ) |
const |
|
pure virtual |
Returns the name of the base type of objects constructed by this factory.
Implemented in infact::Factory< T >.
virtual void infact::FactoryBase::Clear |
( |
| ) |
|
|
pure virtual |
Clears the (possibly static) data of this factory.
Note
that invoking this method will prevent the factory from functioning! It should only be invoked when the factory is no longer needed by the current process.
Implemented in infact::Factory< T >.
virtual void infact::FactoryBase::CollectRegistered |
( |
unordered_set< string > & |
registered | ) |
const |
|
pure virtual |
Collects the names of types registered with this factory.
- Parameters
-
[out] | registered | registered a set to be modified by this method so that it contains the names of concrete types registered with this factory |
Implemented in infact::Factory< T >.
The documentation for this class was generated from the following file: