Function cwipc_source_available
Defined in File api.h
Function Documentation
-
bool cwipc_source_available(cwipc_source *src, bool wait)
Return true if a pointcloud is currently available (C interface).
If this cwipc_source is not multi-threading capable the wait parameter is ignored. If it is multi-threaded aware and no pointcloud is currently available it may wait a reasonable amount of time (think: about a second) to see whether one becomes available.
- Parameters:
src – The cwipc_source object.
wait – Set to true if the caller is willing to wait until a pointcloud is available.