Lumiera  0.pre.03
»edit your freedom«
MultiFact< SIG, ID, Wrapper >::Singleton< IMP > Class Template Reference

#include "lib/multifact.hpp"

Description

template<typename SIG, typename ID, template< class > class Wrapper = PassAsIs>
template<class IMP>
class lib::factory::MultiFact< SIG, ID, Wrapper >::Singleton< IMP >

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...
 
+ Inheritance diagram for MultiFact< SIG, ID, Wrapper >::Singleton< IMP >:
+ Collaboration diagram for MultiFact< SIG, ID, Wrapper >::Singleton< IMP >:

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