Registration Class for the object type: Also templated:
More...
#include <factory.h>
|
| Registrar (const std::string &name, BaseClass *(*creator)(), const std::string &base_type) |
| Public Constructor which is only used to register the new task type. More...
|
|
template<typename BaseClass>
class exotica::Registrar< BaseClass >
Registration Class for the object type: Also templated:
- Parameters
-
I | The Identifier type (typically string) |
BaseClass | The Base object type (required for the sake of the singleton factory) |
◆ Registrar()
template<typename BaseClass >
Public Constructor which is only used to register the new task type.
- Parameters
-
name | The name for the new class type |
creator | The creator function for the DERIVED class type but which returns a pointer to the base-class type! |
The documentation for this class was generated from the following file:
- /tmp/exotica/exotica_core/include/exotica_core/factory.h