22 #ifndef _PLUGINS_PERCEPTION_PCL_DB_STORE_PCL_DB_STORE_THREAD_H_
23 #define _PLUGINS_PERCEPTION_PCL_DB_STORE_PCL_DB_STORE_THREAD_H_
25 #include <aspect/blackboard.h>
26 #include <aspect/clock.h>
27 #include <aspect/configurable.h>
28 #include <aspect/logging.h>
29 #include <aspect/pointcloud.h>
30 #include <core/threading/thread.h>
31 #include <pcl/point_cloud.h>
32 #include <pcl/point_types.h>
33 #include <plugins/mongodb/aspect/mongodb.h>
36 class PclDatabaseStoreInterface;
37 class BlackBoardOnMessageWaker;
58 bool store_pointcloud(std::string pcl_id,
60 std::string collection,
72 fawkes::PclDatabaseStoreInterface *store_if_;
76 std::string cfg_input_id_;
77 std::string cfg_database_;
Point cloud adapter class.
Thread to store point clouds from database on request.
PointCloudDBStoreThread()
Constructor.
virtual void loop()
Code to execute in the thread.
virtual ~PointCloudDBStoreThread()
Destructor.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access to BlackBoard.
Wake threads on receiving a blackboard message.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to access configuration data.
Thread aspect to log output.
Thread aspect to access MongoDB.
Thread aspect to provide and access point clouds.
Thread class encapsulation of pthreads.
Fawkes library namespace.