Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/multifact.hpp"
Convenience shortcut for automatically setting up a production line, to fabricate a singleton instance of the given implementation target type (IMP)
Definition at line 323 of file multifact.hpp.
Public Member Functions | |
Singleton (MultiFact &factory, ID id) | |
Private Types | |
typedef lib::Depend< IMP > | SingleFact |
Private Member Functions | |
Creator | createSingleton_accessFunction () |
Private Member Functions inherited from Depend< IMP > | |
Depend () | |
operator bool () const | |
allow to "peek" if a dependency is already available and exposed. More... | |
IMP & | operator() () |
Interface to be used by clients for retrieving the service instance. More... | |