FrontPanel API 5.3.6
|
Result handler for asynchronous operations. More...
Public Member Functions | |
virtual void | OnResult (const std::string &error, ScriptValues retvals)=0 |
Callback called in another thread context. | |
The lifetime of this object must be long enough to ensure that it is still available when the asynchronous operation terminates.
|
pure virtual |
If error is not empty, the asynchronous operation has failed and the contents of retvals doesn't matter, otherwise it contains the results of the operation.