ooc::delta::InternalSynchronizer Class Reference

#include <PointCloudAPI.h>

Friends

SyncResult SynchronizeWith (Env, std::function< void(SyncToken const &)>)
 

Friends And Related Function Documentation

◆ SynchronizeWith

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.

Parameters
envThe point cloud environment to synchronize with.
funcThe callback to call when the point cloud is in a synchronized state
Returns
an ooc::delta::SyncResult return code.
See also
ooc::delta::DeleteNode
ooc::delta::DeleteSpecificPoints
ooc::delta::OptimizeDeltas

The documentation for this class was generated from the following file: