#ifndef PCL_CLOUD_WITH_LOCK_H #define PCL_CLOUD_WITH_LOCK_H class Pcl_cloud_with_lock { public: Pcl_cloud_with_lock(); Pcl_cloud_with_lock(const Pcl_cloud_with_lock& other); ~Pcl_cloud_with_lock(); public://API functions public://get or set member variable protected://member variable // //三维点云的数据保护锁, // std::mutex* mp_task_cloud_lock; // //三维点云容器的智能指针,这里不直接分配内存, // pcl::PointCloud::Ptr mp_task_point_cloud; private: }; #endif //PCL_CLOUD_WITH_LOCK_H