#include <Service.h>
commore::ServiceFactory::ServiceFactory |
( |
const AChar * |
class_name, |
|
|
bool |
noregister = false |
|
) |
| |
Constructor that auto register
commore::ServiceFactory::~ServiceFactory |
( |
| ) |
|
Destructor : auto unregister
virtual PService commore::ServiceFactory::create |
( |
const AChar * |
class_name, |
|
|
const AChar * |
name, |
|
|
const AChar * |
args |
|
) |
| |
|
pure virtual |
Create an service instance
- Parameters
-
class_name | : class of the service |
name | : instance name |
args | : specification for initialization |
Implemented in commore::DefaultServiceFactory< T >.
static int commore::ServiceFactory::get |
( |
const AChar * |
class_name, |
|
|
List< ServiceFactory * > & |
factoryList |
|
) |
| |
|
static |
Get factory list for class_name
The documentation for this class was generated from the following file: