22 #ifndef __PLUGINS_MONGODB_LOG_MONGODB_LOG_TF_THREAD_H_ 23 #define __PLUGINS_MONGODB_LOG_MONGODB_LOG_TF_THREAD_H_ 25 #include <core/threading/thread.h> 26 #include <utils/time/time.h> 27 #include <aspect/logging.h> 28 #include <aspect/configurable.h> 29 #include <aspect/clock.h> 30 #include <aspect/blackboard.h> 31 #include <aspect/tf.h> 32 #include <plugins/mongodb/aspect/mongodb.h> 55 virtual bool prepare_finalize_user();
57 virtual void finalize();
63 void store(std::vector<fawkes::tf::TimeCacheInterfacePtr> &caches,
64 std::vector<fawkes::Time> &from, std::vector<fawkes::Time> &to);
69 std::string database_;
70 std::string collection_;
71 float cfg_storage_interval_;
72 std::vector<fawkes::Time> last_tf_range_end_;
Thread aspect to access to BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
Fawkes library namespace.
virtual void run()
Code to execute in the thread.
Thread class encapsulation of pthreads.
Thread aspect to access MongoDB.
Thread aspect to log output.
Thread aspect to access configuration data.
Mutex mutual exclusion lock.