Class MongoDatabaseConnection
Defined in File database_connection.h
Inheritance Relationships
Base Type
public warehouse_ros::DatabaseConnection
Class Documentation
-
class MongoDatabaseConnection : public warehouse_ros::DatabaseConnection
Public Functions
-
MongoDatabaseConnection()
-
bool setParams(const std::string &host, unsigned port, float timeout)
-
bool setTimeout(float timeout)
-
bool connect()
-
bool isConnected()
-
void dropDatabase(const std::string &db_name)
-
std::string messageType(const std::string &db_name, const std::string &collection_name)
Protected Functions
-
MessageCollectionHelper::Ptr openCollectionHelper(const std::string &db_name, const std::string &collection_name)
-
MongoDatabaseConnection()