#include <PointCloudAPI.h>
Friends | |
SyncResult | SynchronizeWith (Env, std::function< void(SyncToken const &)>) |
SyncResult SynchronizeWith | ( | Env | env, |
std::function< void(SyncToken const &)> | func | ||
) | [friend] |
Allows users to call functions that require synchronization. This is done through the func callback passed into this function. func is called with an ooc::delta::SyncToken reference that corresponds to the environment env passed into this function. Thus the OOC API functions that accept an ooc::delta::SyncToken do not accept an ooc::Env because it is implied by the synchronization token.
env | The point cloud environment to synchronize with. |
func | The callback to call when the point cloud is in a synchronized state |