Public Types | |
| typedef IServiceFactory2T< InterfaceType > | FactoryType |
Public Member Functions | |
| ServiceFinderBase2T (IApplication *app, const ServiceBuildInfoBase &sbi) | |
| virtual InterfaceType * | create (const String &name) |
| Creates an instance of the service name. | |
| virtual Ref< InterfaceType > | createReference (const String &name) |
| Creates a reference to the service name. | |
| virtual InterfaceType * | create (const String &name, IMesh *mesh) |
| Creates an instance of the service name for the mesh mesh. | |
| virtual Ref< InterfaceType > | createReference (const String &name, IMesh *mesh) |
| Creates a reference to the service name for the mesh mesh. | |
| virtual InterfaceType * | getSingleton () |
| Singleton instance of the service having the InterfaceType interface. | |
| virtual void | createAll (Array< InterfaceType * > &instances) |
| Creates an instance of every service that implements InterfaceType. | |
| virtual UniqueArray< Ref< InterfaceType > > | createAll () |
| Creates an instance of every service that implements InterfaceType. | |
| SharedArray< FactoryType * > | factories () |
| void | getServicesNames (Array< String > &names) const |
Protected Member Functions | |
| InterfaceType * | _create (const String &name, const ServiceBuildInfoBase &sbib) |
| Ref< InterfaceType > | _createReference (const String &name, const ServiceBuildInfoBase &sbib) |
| void | _createAll (Array< InterfaceType * > &instances, const ServiceBuildInfoBase &sbib) |
| UniqueArray< Ref< InterfaceType > > | _createAll (const ServiceBuildInfoBase &sbib) |
Protected Attributes | |
| IApplication * | m_application |
| ServiceBuildInfoBase | m_service_build_info_base |
Definition at line 47 of file ServiceFinder2.h.
| typedef IServiceFactory2T<InterfaceType> Arcane::Internal::ServiceFinderBase2T< InterfaceType >::FactoryType |
Definition at line 51 of file ServiceFinder2.h.
|
inline |
Definition at line 55 of file ServiceFinder2.h.
|
inlinevirtual |
Definition at line 61 of file ServiceFinder2.h.
|
inlineprotected |
Definition at line 201 of file ServiceFinder2.h.
|
inlineprotected |
Definition at line 224 of file ServiceFinder2.h.
|
inlineprotected |
Definition at line 231 of file ServiceFinder2.h.
|
inlineprotected |
Definition at line 206 of file ServiceFinder2.h.
|
inlinevirtual |
Creates an instance of the service name.
Returns null if no service with this name exists.
Definition at line 73 of file ServiceFinder2.h.
References create().
|
inlinevirtual |
Creates an instance of the service name for the mesh mesh.
This is only valid for subdomain services. For others, it has no effect. The caller must destroy these services. Returns null if no service with this name exists.
Definition at line 99 of file ServiceFinder2.h.
References create().
|
inlinevirtual |
Creates an instance of every service that implements InterfaceType.
Definition at line 166 of file ServiceFinder2.h.
|
inlinevirtual |
Creates an instance of every service that implements InterfaceType.
The caller must destroy these services via the call to 'operator delete'.
Definition at line 158 of file ServiceFinder2.h.
References createAll().
Referenced by createAll().
|
inlinevirtual |
Creates a reference to the service name.
Returns a null reference if no service with this name exists.
Definition at line 83 of file ServiceFinder2.h.
|
inlinevirtual |
Creates a reference to the service name for the mesh mesh.
This is only valid for subdomain services. For others, it has no effect. The caller must destroy these services. Returns null if no service with this name exists.
Definition at line 117 of file ServiceFinder2.h.
|
inline |
Definition at line 173 of file ServiceFinder2.h.
|
inline |
Definition at line 187 of file ServiceFinder2.h.
|
inlinevirtual |
Singleton instance of the service having the InterfaceType interface.
Returns null if no service is found
Definition at line 132 of file ServiceFinder2.h.
References Arcane::RefImpl< InstanceType, RefClassType, ImplTagId >::get(), Arcane::ISingletonServiceInstance::interfaceInstances(), and Arcane::IServiceMng::singletonServices().
|
protected |
Definition at line 249 of file ServiceFinder2.h.
|
protected |
Definition at line 250 of file ServiceFinder2.h.