23 #include <pcl_utils/pointcloud_manager.h> 59 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
75 if (__clouds.find(
id) != __clouds.end()) {
90 return (__clouds.find(
id) != __clouds.end());
97 std::vector<std::string>
102 std::vector<std::string> rv;
105 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
106 rv.push_back(c->first);
138 if (__clouds.find(
id) == __clouds.end()) {
139 throw Exception(
"PointCloud '%s' unknown",
id);
std::vector< std::string > get_pointcloud_list() const
Get list of point cloud IDs.
void remove_pointcloud(const char *id)
Remove the point cloud.
Fawkes library namespace.
PointCloudManager()
Constructor.
virtual ~PointCloudManager()
Destructor.
const fawkes::LockMap< std::string, pcl_utils::StorageAdapter * > & get_pointclouds() const
Get map of point clouds.
Base class for exceptions in Fawkes.
const pcl_utils::StorageAdapter * get_storage_adapter(const char *id)
Get a storage adapter.
bool exists_pointcloud(const char *id)
Check if point cloud exists.