ApplyModelFromFile

virtual void ISubController::ApplyModelFromFile(const std::string &filename) = 0

Replaces this sub-controller with a new instance based on the model contained in the XML controller description file.

Parameters

filename – String containing the path to a file containing the XML controller description to apply on this sub-controller.

Throws
Remarks

Equivalent to: std::dynamic_pointer_cast<ITopController>(subController->GetParent())->ApplyModelFromFile(filename,{ subController });