39 #ifndef WAREHOUSE_ROS_MONGO_DATABASE_CONNECTION_H 40 #define WAREHOUSE_ROS_MONGO_DATABASE_CONNECTION_H 62 std::string
messageType(
const std::string& db_name,
const std::string& collection_name);
65 std::shared_ptr<mongo::DBClientConnection>
conn_;
76 #endif // include guard std::string messageType(const std::string &db_name, const std::string &collection_name)
bool setTimeout(float timeout)
bool setParams(const std::string &host, unsigned port, float timeout)
MessageCollectionHelper::Ptr openCollectionHelper(const std::string &db_name, const std::string &collection_name)
MongoDatabaseConnection()
void dropDatabase(const std::string &db_name)
std::shared_ptr< mongo::DBClientConnection > conn_