|
commore
1.0.6-SNAPSHOT
|
#include <Service.h>
Inheritance diagram for commore::DefaultServiceFactory< T >:Public Member Functions | |
| DefaultServiceFactory (bool noregister=false) | |
| PService | create (const AChar *class_name, const AChar *name, const AChar *args) |
Public Member Functions inherited from commore::ServiceFactory | |
| ServiceFactory (const AChar *class_name, bool noregister=false) | |
| ~ServiceFactory () | |
| const AString & | get_class_name () const |
Additional Inherited Members | |
Static Public Member Functions inherited from commore::ServiceFactory | |
| static int | get (const AChar *class_name, List< ServiceFactory * > &factoryList) |
Dummy service factory The T class must provide a constructor which takes one parameter : the argument. T::get_factory_class_name() must also be provided.
|
inlinevirtual |
Create an service instance
| class_name | : class of the service |
| name | : instance name |
| args | : specification for initialization |
Implements commore::ServiceFactory.