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
ErrorUserCancelledstatus. Since the method can be called from parallel threads when running with DAAL threaded version, it is application responsibility to make its implementation thread-safe. It is not recommended for this method to throw exceptions.