register
Description:
Register subtype
as the instantiation class for basetype
.
Each time an object of type basetype
is going to be created, an instance of subtype
is created instead.
basetype
must be subclassed from ObjectFactoryBase.
Parameters:
this | |
basetype |
a Type. |
subtype |
a Type. |