22 #ifndef _PLUGINS_PERCEPTION_PCL_DB_MERGE_MONGODB_TF_TRANSFORMER_H_ 23 #define _PLUGINS_PERCEPTION_PCL_DB_MERGE_MONGODB_TF_TRANSFORMER_H_ 25 #include <mongo/client/dbclient.h> 26 #include <tf/transformer.h> 38 const std::string & database_name,
39 bool ensure_index =
true);
50 restore(start, end, no_new_start);
54 void restore(
long long start_msec,
long long end_msec,
long long new_start_msec = 0);
57 void restore_tf_doc(mongo::BSONObj &doc,
long long start_msec,
long long new_start_msec);
60 mongo::DBClientBase *mongodb_client_;
61 std::string database_;
Fawkes library namespace.
A class for handling time.