cpp_rgb_depth_sync_example/app/src/main/jni/rgb_depth_sync_application.cc
void OnPointCloudAvailableRouter(void* context,
                                 const TangoPointCloud* point_cloud) {
  SynchronizationApplication* app =
      static_cast<SynchronizationApplication*>(context);
  app->OnPointCloudAvailable(point_cloud);
}
// This function will route callbacks to our application object via the context
// parameter.
// @param context Will be a pointer to a SynchronizationApplication instance  on
// which to call callbacks.
// @param point_cloud The point cloud to pass on.
This function will route callbacks to our application object via the context
parameter.
This function will route callbacks to our application object via the context parameter .
void OnPointCloudAvailableRouter(void* context,
                                 const TangoPointCloud* point_cloud) {
  SynchronizationApplication* app =
      static_cast<SynchronizationApplication*>(context);
  app->OnPointCloudAvailable(point_cloud);
}
void OnPointCloudAvailableRouter ( void * context , const TangoPointCloud * point_cloud ) { SynchronizationApplication * app = static_cast < SynchronizationApplication * > ( context ) ; app -> OnPointCloudAvailable ( point_cloud ) ; }
This function will route callbacks to our application object via the context
parameter.
This function will route callbacks to our application object via the context parameter .