24 #include <aspect/pointcloud/pointcloud_manager.h>
101 PointCloudManager::StorageAdapter::~StorageAdapter()
113 PointCloudManager::PointCloudManager()
118 PointCloudManager::~PointCloudManager()
121 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
133 PointCloudManager::remove_pointcloud(
const char *
id)
137 if (__clouds.find(
id) != __clouds.end()) {
148 PointCloudManager::exists_pointcloud(
const char *
id)
152 return (__clouds.find(
id) != __clouds.end());
159 std::vector<std::string>
160 PointCloudManager::get_pointcloud_list()
const
164 std::vector<std::string> rv;
167 for (c = __clouds.begin(); c != __clouds.end(); ++c) {
168 rv.push_back(c->first);
181 PointCloudManager::get_pointclouds()
const
196 PointCloudManager::get_storage_adapter(
const char *
id)
200 if (__clouds.find(
id) == __clouds.end()) {
201 throw Exception(
"PointCloud '%s' unknown",
id);
Base class for exceptions in Fawkes.