22 #ifndef __PLUGINS_PERCEPTION_PCL_DB_RETRIEVE_PCL_DB_RETRIEVE_THREAD_H_ 23 #define __PLUGINS_PERCEPTION_PCL_DB_RETRIEVE_PCL_DB_RETRIEVE_THREAD_H_ 25 #include "pcl_db_retrieve_pipeline.h" 27 #include <core/threading/thread.h> 28 #include <aspect/clock.h> 29 #include <aspect/configurable.h> 30 #include <aspect/logging.h> 31 #include <aspect/blackboard.h> 32 #include <aspect/pointcloud.h> 33 #include <aspect/tf.h> 34 #include <plugins/mongodb/aspect/mongodb.h> 36 #include <pcl/point_types.h> 37 #include <pcl/point_cloud.h> 40 class PclDatabaseRetrieveInterface;
41 class BlackBoardOnMessageWaker;
65 protected:
virtual void run() { Thread::run(); }
77 std::string cfg_database_;
78 std::string cfg_output_id_;
79 std::string cfg_original_id_;
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to access to BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
virtual void loop()
Code to execute in the thread.
PclDatabaseRetrieveInterface Fawkes BlackBoard Interface.
Fawkes library namespace.
Thread aspect to provide and access point clouds.
Wake threads on receiving a blackboard message.
Thread class encapsulation of pthreads.
Thread to retrieve point clouds from database on request.
virtual ~PointCloudDBRetrieveThread()
Destructor.
Thread aspect to access MongoDB.
Thread aspect to log output.
virtual void finalize()
Finalize the thread.
PointCloudDBRetrieveThread()
Constructor.
Thread aspect to access configuration data.
RefPtr<> is a reference-counting shared smartpointer.
virtual void init()
Initialize the thread.