Public Member Functions | Private Attributes
warehouse_ros::DatabaseLoader Class Reference

This class provides the mechanism to connect to a database and reads needed ROS parameters when appropriate. More...

#include <database_loader.h>

List of all members.

Public Member Functions

 DatabaseLoader ()
 Takes a warehouse_ros DatabaseConnection. The DatabaseConnection is expected to have already been initialized.
void initialize ()
 Initialize the DatabaseLoader.
DatabaseConnection::Ptr loadDatabase ()
 Load a database connection using pluginlib Looks for ROS params specifying which plugin/host/port to use. NodeHandle::searchParam() is used starting from ~ to look for warehouse_plugin, warehouse_host and warehouse_port.
 ~DatabaseLoader ()

Private Attributes

boost::scoped_ptr
< pluginlib::ClassLoader
< warehouse_ros::DatabaseConnection > > 
db_plugin_loader_
ros::NodeHandle nh_

Detailed Description

This class provides the mechanism to connect to a database and reads needed ROS parameters when appropriate.

Definition at line 83 of file database_loader.h.


Constructor & Destructor Documentation

Takes a warehouse_ros DatabaseConnection. The DatabaseConnection is expected to have already been initialized.

Definition at line 44 of file database_loader.cpp.

Definition at line 50 of file database_loader.cpp.


Member Function Documentation

Initialize the DatabaseLoader.

Definition at line 54 of file database_loader.cpp.

Load a database connection using pluginlib Looks for ROS params specifying which plugin/host/port to use. NodeHandle::searchParam() is used starting from ~ to look for warehouse_plugin, warehouse_host and warehouse_port.

Definition at line 68 of file database_loader.cpp.


Member Data Documentation

Definition at line 101 of file database_loader.h.

Definition at line 100 of file database_loader.h.


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


warehouse_ros
Author(s): Bhaskara Marthi , Connor Brew
autogenerated on Thu Jun 23 2016 05:36:41