#include <utl/ObjectRegistrar.h>
#include <utl/ObjectFactory.h>
#include <utl/ErrorLogger.h>
Go to the source code of this file.
#define REGISTER_MODEL |
( |
|
_baseClass_, |
|
|
|
_modelName_, |
|
|
|
_ModelType_ |
|
) |
| |
Value:public: \
static std::string GetRegistrationId() { return _modelName_; } \
static _baseClass_* Create() { static _ModelType_ model; return &model; } \
private: \
utl::ObjectRegistrar< \
_ModelType_, \
utl::ObjectFactory< \
_baseClass_*, \
std::string \
> \
> fAutoModelReg
Definition at line 9 of file VModel.h.