Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/multifact.hpp"
Table of registered production functions for MultiFact.
Each stored function can be accessed by ID and is able to fabricate a specific object, which is assignable to the nominal target type in the MultiFact definition.
Definition at line 166 of file multifact.hpp.
Public Types | |
typedef std::function< SIG > | FactoryFunc |
Public Member Functions | |
bool | contains (ID id) const |
void | defineProduction (ID const &id, FactoryFunc fun) |
bool | empty () const |
FactoryFunc & | select (ID const &id) |
Private Attributes | |
std::map< ID, FactoryFunc > | producerTable_ |