24 #include <aspect/pointcloud/pointcloud_manager.h> 121 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
137 if (__clouds.find(
id) != __clouds.end()) {
152 return (__clouds.find(
id) != __clouds.end());
159 std::vector<std::string>
164 std::vector<std::string> rv;
167 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
168 rv.push_back(c->first);
200 if (__clouds.find(
id) == __clouds.end()) {
201 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.
const StorageAdapter * get_storage_adapter(const char *id)
Get a storage adapter.
Fawkes library namespace.
PointCloudManager()
Constructor.
const fawkes::LockMap< std::string, StorageAdapter * > & get_pointclouds() const
Get map of point clouds.
virtual ~StorageAdapter()
Virtual empty destructor.
virtual ~PointCloudManager()
Destructor.
Base class for exceptions in Fawkes.
bool exists_pointcloud(const char *id)
Check if point cloud exists.