#include <constraints_storage.h>
|
| ConstraintsStorage (warehouse_ros::DatabaseConnection::Ptr conn) |
|
void | addConstraints (const moveit_msgs::msg::Constraints &msg, const std::string &robot="", const std::string &group="") |
|
bool | hasConstraints (const std::string &name, const std::string &robot="", const std::string &group="") const |
|
void | getKnownConstraints (std::vector< std::string > &names, const std::string &robot="", const std::string &group="") const |
|
void | getKnownConstraints (const std::string ®ex, std::vector< std::string > &names, const std::string &robot="", const std::string &group="") const |
|
bool | getConstraints (ConstraintsWithMetadata &msg_m, const std::string &name, const std::string &robot="", const std::string &group="") const |
| Get the constraints named name. Return false on failure. More...
|
|
void | renameConstraints (const std::string &old_name, const std::string &new_name, const std::string &robot="", const std::string &group="") |
|
void | removeConstraints (const std::string &name, const std::string &robot="", const std::string &group="") |
|
void | reset () |
|
| MoveItMessageStorage (warehouse_ros::DatabaseConnection::Ptr conn) |
| Takes a warehouse_ros DatabaseConnection. The DatabaseConnection is expected to have already been initialized. More...
|
|
virtual | ~MoveItMessageStorage () |
|
|
void | filterNames (const std::string ®ex, std::vector< std::string > &names) const |
| Keep only the names that match regex. More...
|
|
warehouse_ros::DatabaseConnection::Ptr | conn_ |
|
Definition at line 52 of file constraints_storage.h.
◆ ConstraintsStorage()
moveit_warehouse::ConstraintsStorage::ConstraintsStorage |
( |
warehouse_ros::DatabaseConnection::Ptr |
conn | ) |
|
◆ addConstraints()
void moveit_warehouse::ConstraintsStorage::addConstraints |
( |
const moveit_msgs::msg::Constraints & |
msg, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| |
◆ getConstraints()
bool moveit_warehouse::ConstraintsStorage::getConstraints |
( |
ConstraintsWithMetadata & |
msg_m, |
|
|
const std::string & |
name, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| const |
◆ getKnownConstraints() [1/2]
void moveit_warehouse::ConstraintsStorage::getKnownConstraints |
( |
const std::string & |
regex, |
|
|
std::vector< std::string > & |
names, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| const |
◆ getKnownConstraints() [2/2]
void moveit_warehouse::ConstraintsStorage::getKnownConstraints |
( |
std::vector< std::string > & |
names, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| const |
◆ hasConstraints()
bool moveit_warehouse::ConstraintsStorage::hasConstraints |
( |
const std::string & |
name, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| const |
◆ removeConstraints()
void moveit_warehouse::ConstraintsStorage::removeConstraints |
( |
const std::string & |
name, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| |
◆ renameConstraints()
void moveit_warehouse::ConstraintsStorage::renameConstraints |
( |
const std::string & |
old_name, |
|
|
const std::string & |
new_name, |
|
|
const std::string & |
robot = "" , |
|
|
const std::string & |
group = "" |
|
) |
| |
◆ reset()
void moveit_warehouse::ConstraintsStorage::reset |
( |
| ) |
|
◆ CONSTRAINTS_GROUP_NAME
const std::string moveit_warehouse::ConstraintsStorage::CONSTRAINTS_GROUP_NAME = "group_id" |
|
static |
◆ CONSTRAINTS_ID_NAME
const std::string moveit_warehouse::ConstraintsStorage::CONSTRAINTS_ID_NAME = "constraints_id" |
|
static |
◆ DATABASE_NAME
const std::string moveit_warehouse::ConstraintsStorage::DATABASE_NAME = "moveit_constraints" |
|
static |
◆ ROBOT_NAME
const std::string moveit_warehouse::ConstraintsStorage::ROBOT_NAME = "robot_id" |
|
static |
The documentation for this class was generated from the following files: