XPSEDAPI
|
GeneratedDataMonitor is a 'callback' interface implemented by the application to receive updates as more generated data becomes available. More...
Public Member Functions | |
void | progress (in GeneratedDataSet aData) |
Called when new data points are available in the GeneratedData. | |
void | failure (in string aErrMsg) |
Called in the event of a failure generating the results. | |
void | done () |
Called after the computation has successfully completed. | |
![]() | |
void | add_ref () |
Called to indicate that some code is keeping an owning reference to the object. | |
oneway void | release_ref () |
Removes a reference to an object which was created by some other means (e.g. | |
IObject | query_interface (in utf8string id) |
Returns an IObject of the same implementation, which supports a specific interface. |
Additional Inherited Members | |
![]() | |
readonly attribute string | objid |
Fetches the ID of the object. |
GeneratedDataMonitor is a 'callback' interface implemented by the application to receive updates as more generated data becomes available.
void SRuS::GeneratedDataMonitor::done | ( | ) |
Called after the computation has successfully completed.
void SRuS::GeneratedDataMonitor::failure | ( | in string | aErrMsg | ) |
Called in the event of a failure generating the results.
aErrMsg | describes the error that occurred. |
void SRuS::GeneratedDataMonitor::progress | ( | in GeneratedDataSet | aData | ) |
Called when new data points are available in the GeneratedData.
Only new data points will be present in the generated data. An application wanting to keep all results needs to copy data from the GeneratedDataSet / GeneratedData structure before returning from progress(); after returning from progress(), it is not safe to make further references to the GeneratedDataSet even if a reference has been held.