|
GoWebScan API
|
| kStatus GoWebScanProcess_Receive | ( | GoWebScanProcess | process, |
| GoWebScanPipeMsg * | msg, | ||
| k64s | timeout | ||
| ) |
Returns outbound processed results if any are available.
The function will return an error if the outbound queue is empty (no new result available), and so the function can be run in a loop until it fails to receive all results in the queue. Ownership of the result is passed to the calling function. The result will be of type GoWebScanSystemMsg and will contain tiles for all data types (profile, tracheid, or vision) and planes (top or bottom) in the system. GoWebScanSystemMsg_TileAt() can be used to retrieve the system tiles for a specific data type and plane.
| process | GoWebScanProcess object. |
| msg | Receives the outbound processed result. Should be cast into a GoWebScanSystemMsg. |
| timeout | Timeout for receiving result (in microseconds). kINFINITE to wait indefinitely. |