Location information. More...
#include <location.hpp>
Public Member Functions | |
| int | get_id () |
| std::string & | get_name () |
| geometry_msgs::Pose & | get_pose () |
| location (int id, std::string name, geometry_msgs::Pose pose) | |
| Creates a location. | |
Private Attributes | |
| int | id_ |
| std::string | name_ |
| geometry_msgs::Pose | pose_ |
Location information.
A location has a pose, name, and ID.
Definition at line 22 of file location.hpp.
| location::location | ( | int | id, |
| std::string | name, | ||
| geometry_msgs::Pose | pose | ||
| ) |
Creates a location.
Creates a location with the given information.
| id | The location ID. |
| name | The location name. |
| pose | The location position. |
Definition at line 13 of file location.cpp.
| int location::get_id | ( | ) |
| std::string & location::get_name | ( | ) |
int location::id_ [private] |
Definition at line 58 of file location.hpp.
std::string location::name_ [private] |
The location ID
Definition at line 59 of file location.hpp.
geometry_msgs::Pose location::pose_ [private] |
The location name
Definition at line 60 of file location.hpp.