Go to the documentation of this file.
40 #include <boost/thread.hpp>
41 #include <boost/function.hpp>
48 class ManipulationPipeline
54 const std::string&
getName()
const
80 void push(
const ManipulationPlanPtr& grasp);
101 std::vector<ManipulationStagePtr>
stages_;
103 std::deque<ManipulationPlanPtr>
queue_;
104 std::vector<ManipulationPlanPtr>
success_;
105 std::vector<ManipulationPlanPtr>
failed_;
boost::function< void()> empty_queue_callback_
void processingThread(unsigned int index)
boost::condition_variable queue_access_cond_
std::vector< ManipulationPlanPtr > failed_
const std::vector< ManipulationPlanPtr > & getSuccessfulManipulationPlans() const
boost::mutex queue_access_lock_
std::vector< ManipulationStagePtr > stages_
boost::mutex result_lock_
std::deque< ManipulationPlanPtr > queue_
void push(const ManipulationPlanPtr &grasp)
void setEmptyQueueCallback(const boost::function< void()> &callback)
std::vector< ManipulationPlanPtr > success_
virtual ~ManipulationPipeline()
void setVerbose(bool flag)
const ManipulationStagePtr & getLastStage() const
std::vector< boost::thread * > processing_threads_
const std::string & getName() const
unsigned int empty_queue_threads_
ManipulationPipeline(const std::string &name, unsigned int nthreads)
void setSolutionCallback(const boost::function< void()> &callback)
boost::function< void()> solution_callback_
void reprocessLastFailure()
const ManipulationStagePtr & getFirstStage() const
const std::vector< ManipulationPlanPtr > & getFailedManipulationPlans() const
ManipulationPipeline & addStage(const ManipulationStagePtr &next)
manipulation
Author(s): Ioan Sucan
, Sachin Chitta
autogenerated on Thu Nov 21 2024 03:24:46