commore
1.0.6-SNAPSHOT
|
#include <Service.h>
Public Member Functions | |
DefaultServiceFactory (bool noregister=false) | |
PService | create (const AChar *class_name, const AChar *name, const AChar *args) |
![]() | |
ServiceFactory (const AChar *class_name, bool noregister=false) | |
~ServiceFactory () | |
const AString & | get_class_name () const |
Additional Inherited Members | |
![]() | |
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.