Public Member Functions | Private Member Functions | Private Attributes
spatial_world_model_server Class Reference

#include <spatial_world_model_server.h>

List of all members.

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_

Detailed Description

Definition at line 38 of file spatial_world_model_server.h.


Constructor & Destructor Documentation

Definition at line 7 of file spatial_world_model_server.cpp.

Definition at line 46 of file spatial_world_model_server.cpp.


Member Function Documentation

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.


Member Data Documentation

Main MySQL connection

Definition at line 59 of file spatial_world_model_server.h.

Definition at line 64 of file spatial_world_model_server.h.

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.

Definition at line 62 of file spatial_world_model_server.h.

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.


The documentation for this class was generated from the following files:


spatial_world_model
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 21:34:31