Providing a Callback for the Host Application
setHostApp(const services::HostAppIfacePtr& pHost)
Set pHost as the callback interface
Get current value of the callback interface set on the Algorithm
Enables computation cancelling. The method is called by the owning algorithm when computation is in progress. If the method returns true then computation stops and returns ErrorUserCancelled status. Since the method can be called from parallel threads when running with oneDAL threaded version, it is application responsibility to make its implementation thread-safe. It is not recommended for this method to throw exceptions.