#include <planning_scene_world_storage.h>

| Public Member Functions | |
| void | addPlanningSceneWorld (const moveit_msgs::PlanningSceneWorld &msg, const std::string &name) | 
| void | getKnownPlanningSceneWorlds (std::vector< std::string > &names) const | 
| void | getKnownPlanningSceneWorlds (const std::string ®ex, std::vector< std::string > &names) const | 
| bool | getPlanningSceneWorld (PlanningSceneWorldWithMetadata &msg_m, const std::string &name) const | 
| Get the constraints named name. Return false on failure. | |
| bool | hasPlanningSceneWorld (const std::string &name) const | 
| PlanningSceneWorldStorage (const std::string &host="", const unsigned int port=0, double wait_seconds=5.0) | |
| Initialize the planning scene world storage to connect to a specified host and port for the MongoDB. If defaults are used for the parameters (empty host name, 0 port), the constructor looks for ROS params specifying which host/port to use. NodeHandle::searchParam() is used starting from ~ to look for warehouse_port and warehouse_host. If no values are found, the defaults are left to be the ones MongoDB uses. If wait_seconds is above 0, then a maximum number of seconds can elapse until connection is successful, or a runtime exception is thrown. | |
| void | removePlanningSceneWorld (const std::string &name) | 
| void | renamePlanningSceneWorld (const std::string &old_name, const std::string &new_name) | 
| void | reset () | 
| Static Public Attributes | |
| static const std::string | DATABASE_NAME = "moveit_planning_scene_worlds" | 
| static const std::string | PLANNING_SCENE_WORLD_ID_NAME = "world_id" | 
| Private Member Functions | |
| void | createCollections () | 
| Private Attributes | |
| PlanningSceneWorldCollection | planning_scene_world_collection_ | 
Definition at line 50 of file planning_scene_world_storage.h.
| moveit_warehouse::PlanningSceneWorldStorage::PlanningSceneWorldStorage | ( | const std::string & | host = "", | 
| const unsigned int | port = 0, | ||
| double | wait_seconds = 5.0 | ||
| ) | 
Initialize the planning scene world storage to connect to a specified host and port for the MongoDB. If defaults are used for the parameters (empty host name, 0 port), the constructor looks for ROS params specifying which host/port to use. NodeHandle::searchParam() is used starting from ~ to look for warehouse_port and warehouse_host. If no values are found, the defaults are left to be the ones MongoDB uses. If wait_seconds is above 0, then a maximum number of seconds can elapse until connection is successful, or a runtime exception is thrown.
Definition at line 42 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::addPlanningSceneWorld | ( | const moveit_msgs::PlanningSceneWorld & | msg, | 
| const std::string & | name | ||
| ) | 
Definition at line 61 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::createCollections | ( | ) |  [private] | 
Definition at line 49 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::getKnownPlanningSceneWorlds | ( | std::vector< std::string > & | names | ) | const | 
Definition at line 87 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::getKnownPlanningSceneWorlds | ( | const std::string & | regex, | 
| std::vector< std::string > & | names | ||
| ) | const | 
Definition at line 81 of file planning_scene_world_storage.cpp.
| bool moveit_warehouse::PlanningSceneWorldStorage::getPlanningSceneWorld | ( | PlanningSceneWorldWithMetadata & | msg_m, | 
| const std::string & | name | ||
| ) | const | 
Get the constraints named name. Return false on failure.
Definition at line 97 of file planning_scene_world_storage.cpp.
| bool moveit_warehouse::PlanningSceneWorldStorage::hasPlanningSceneWorld | ( | const std::string & | name | ) | const | 
Definition at line 74 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::removePlanningSceneWorld | ( | const std::string & | name | ) | 
Definition at line 118 of file planning_scene_world_storage.cpp.
| void moveit_warehouse::PlanningSceneWorldStorage::renamePlanningSceneWorld | ( | const std::string & | old_name, | 
| const std::string & | new_name | ||
| ) | 
Definition at line 110 of file planning_scene_world_storage.cpp.
Definition at line 54 of file planning_scene_world_storage.cpp.
| const std::string moveit_warehouse::PlanningSceneWorldStorage::DATABASE_NAME = "moveit_planning_scene_worlds"  [static] | 
Definition at line 54 of file planning_scene_world_storage.h.
| PlanningSceneWorldCollection moveit_warehouse::PlanningSceneWorldStorage::planning_scene_world_collection_  [private] | 
Definition at line 83 of file planning_scene_world_storage.h.
| const std::string moveit_warehouse::PlanningSceneWorldStorage::PLANNING_SCENE_WORLD_ID_NAME = "world_id"  [static] | 
Definition at line 55 of file planning_scene_world_storage.h.