Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 334 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 >
 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...
 

Member Typedef Documentation

typedef lib::Depend<IMP> SingleFact
private

Definition at line 337 of file multifact.hpp.

Constructor & Destructor Documentation

Singleton ( MultiFact factory,
ID  id 
)
inline

Definition at line 347 of file multifact.hpp.

References MultiFact< SIG, ID, Wrapper >::defineProduction().

+ Here is the call graph for this function:

Member Function Documentation

Creator createSingleton_accessFunction ( )
inlineprivate

Definition at line 340 of file multifact.hpp.

+ 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: