How to import a model

From CTRNet Wiki
Jump to: navigation, search

You are anywhere in the code and you need to import a model. Unless you want to manually support custom models, you should use the function AppModel::getInstance. This function will import the model (and the custom one if it exists) and return an instance of it.

Personal tools