#include <spatial_world_model_server.h>
Public Member Functions | |
bool | connected () |
spatial_world_model_server () | |
~spatial_world_model_server () | |
Private Member Functions | |
time_t | extract_time (const std::string &str) const |
bool | find_observations_cb (interactive_world_msgs::FindObservations::Request &req, interactive_world_msgs::FindObservations::Response &resp) |
MYSQL_RES * | query (std::string query) |
bool | set_observations_removed_cb (interactive_world_msgs::SetObservationsRemoved::Request &req, interactive_world_msgs::SetObservationsRemoved::Response &resp) |
bool | store_observation_cb (interactive_world_msgs::StoreObservation::Request &req, interactive_world_msgs::StoreObservation::Response &resp) |
Private Attributes | |
MYSQL * | conn_ |
bool | connected_ |
std::string | database_ |
ros::ServiceServer | find_observations_ |
std::string | host_ |
std::string | password_ |
int | port_ |
ros::NodeHandle | private_ |
ros::ServiceServer | set_observations_removed_ |
ros::ServiceServer | store_observation_ |
std::string | user_ |
Definition at line 38 of file spatial_world_model_server.h.
Definition at line 7 of file spatial_world_model_server.cpp.
Definition at line 46 of file spatial_world_model_server.cpp.
Definition at line 176 of file spatial_world_model_server.cpp.
time_t spatial_world_model_server::extract_time | ( | const std::string & | str | ) | const [private] |
Definition at line 196 of file spatial_world_model_server.cpp.
bool spatial_world_model_server::find_observations_cb | ( | interactive_world_msgs::FindObservations::Request & | req, |
interactive_world_msgs::FindObservations::Response & | resp | ||
) | [private] |
Definition at line 85 of file spatial_world_model_server.cpp.
MYSQL_RES * spatial_world_model_server::query | ( | std::string | query | ) | [private] |
Definition at line 181 of file spatial_world_model_server.cpp.
bool spatial_world_model_server::set_observations_removed_cb | ( | interactive_world_msgs::SetObservationsRemoved::Request & | req, |
interactive_world_msgs::SetObservationsRemoved::Response & | resp | ||
) | [private] |
Definition at line 55 of file spatial_world_model_server.cpp.
bool spatial_world_model_server::store_observation_cb | ( | interactive_world_msgs::StoreObservation::Request & | req, |
interactive_world_msgs::StoreObservation::Response & | resp | ||
) | [private] |
Definition at line 148 of file spatial_world_model_server.cpp.
MYSQL* spatial_world_model_server::conn_ [private] |
Main MySQL connection
Definition at line 59 of file spatial_world_model_server.h.
bool spatial_world_model_server::connected_ [private] |
Definition at line 64 of file spatial_world_model_server.h.
std::string spatial_world_model_server::database_ [private] |
Definition at line 62 of file spatial_world_model_server.h.
Definition at line 66 of file spatial_world_model_server.h.
std::string spatial_world_model_server::host_ [private] |
Definition at line 62 of file spatial_world_model_server.h.
std::string spatial_world_model_server::password_ [private] |
Definition at line 62 of file spatial_world_model_server.h.
int spatial_world_model_server::port_ [private] |
Definition at line 63 of file spatial_world_model_server.h.
Definition at line 61 of file spatial_world_model_server.h.
Definition at line 66 of file spatial_world_model_server.h.
Definition at line 66 of file spatial_world_model_server.h.
std::string spatial_world_model_server::user_ [private] |
Definition at line 62 of file spatial_world_model_server.h.