23 #include <pcl_utils/pointcloud_manager.h>
55 for (c = clouds_.begin(); c != clouds_.end(); ++c) {
70 if (clouds_.find(
id) != clouds_.end()) {
85 return (clouds_.find(
id) != clouds_.end());
91 std::vector<std::string>
96 std::vector<std::string> rv;
99 for (c = clouds_.begin(); c != clouds_.end(); ++c) {
100 rv.push_back(c->first);
130 if (clouds_.find(
id) == clouds_.end()) {
131 throw Exception(
"PointCloud '%s' unknown",
id);
Base class for exceptions in Fawkes.
virtual ~PointCloudManager()
Destructor.
void remove_pointcloud(const char *id)
Remove the point cloud.
std::vector< std::string > get_pointcloud_list() const
Get list of point cloud IDs.
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.
PointCloudManager()
Constructor.
const fawkes::LockMap< std::string, pcl_utils::StorageAdapter * > & get_pointclouds() const
Get map of point clouds.
Fawkes library namespace.