37 #ifndef WAREHOUSE_ROS_DATABASE_LOADER_ 38 #define WAREHOUSE_ROS_DATABASE_LOADER_ 40 #include <boost/scoped_ptr.hpp> 49 bool setParams(
const std::string& ,
unsigned ,
float )
override 69 std::string
messageType(
const std::string& ,
const std::string& )
override 76 const std::string& collection_name)
override;
99 boost::scoped_ptr<pluginlib::ClassLoader<warehouse_ros::DatabaseConnection> >
db_plugin_loader_;
This class provides the mechanism to connect to a database and reads needed ROS parameters when appro...
ROSCONSOLE_DECL void initialize()
bool isConnected() override
Returns whether the database is connected.
Couldn't connect to database.
boost::scoped_ptr< pluginlib::ClassLoader< warehouse_ros::DatabaseConnection > > db_plugin_loader_
MessageCollectionHelper::Ptr openCollectionHelper(const std::string &db_name, const std::string &collection_name) override
std::string messageType(const std::string &, const std::string &) override
Return the ROS Message type of a given collection.
bool setParams(const std::string &, unsigned, float) override
Set database connection params.
bool setTimeout(float) override
Set database connection params.
void dropDatabase(const std::string &) override
Drop a db and all its collections. A DbClientConnection exception will be thrown if the database is n...