anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceCamera::GetNextImage (Image *, M32 *)

Getting next camera image.

C++
bool GetNextImage(Image * pImage, M32 * pDeviceResponse = NULL);
Parameters 
Description 
Image * pImage 
[in/out] Pointer on Image which will receive the new image. 
M32 * pDeviceResponse = NULL 
(see Message

True if Image parameter is filled with a new valid image, false otherwise.

GetNextImage gets the next camera image according to the latest internal image number. If the image is not yet available, the call is blocked awaiting the new image. The parameter pImage is filled with the new image.

This overload of GetNextImage is faster than the other overload because Image parameter can be re-used for the next image without re-new image buffer if it is possible. i.e. if the properties (size of the image, format...) did not change until the last call.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!