|
template<typename Dependency > |
void | validateAcyclic (bool validateProviding, InjectorPtr injector, TypeIds &ids, std::string const name) const |
|
template<typename Dependency > |
void | inject (typename Key< Dependency >::Ptr &injected, InjectorPtr injector, std::string const name) const |
|
template<typename Scope > |
void | eagerlyInject (InjectorPtr injector) const |
|
sauce::auto_ptr< Lock > | acquireLock () |
| Create an RAII synchronization lock. More...
|
|
◆ acquireLock()
Create an RAII synchronization lock.
90 {
91 sauce::auto_ptr<Lock> lock = lockFactory->createLock();
92 return lock;
93 }
◆ eagerlyInject()
template<typename Scope >
83 {
84 bindings.template eagerlyInject<Scope>(injector);
85 }
◆ inject()
template<typename Dependency >
74 {
76 typedef typename Key<Dependency>::Iface Iface;
77 bindings.template get<Normalized>(injected, injector, name);
78 SelfInjector<Iface> selfInjector;
79 selfInjector.setSelf(injected);
80 }
Named< Dependency, Unnamed > Normalized
Note Normalized is not Iface, but Named<Iface, Unnamed>.
Definition: key.h:27
◆ validateAcyclic()
template<typename Dependency >
67 {
69 CircularDependencyGuard<ImplicitBindings, Normalized> guard(ids, name);
70 bindings.template validateAcyclic<Normalized>(validateProviding, injector, ids, name);
71 }
The documentation for this class was generated from the following file: