Go to the documentation of this file.
39 #ifndef MBF_ABSTRACT_NAV__ABSTRACT_EXECUTION_BASE_H_
40 #define MBF_ABSTRACT_NAV__ABSTRACT_EXECUTION_BASE_H_
42 #include <boost/thread.hpp>
44 #include <mbf_abstract_nav/MoveBaseFlexConfig.h>
94 const std::string&
getName()
const;
bool cancel_
flag for canceling controlling
uint32_t outcome_
the last received plugin execution outcome
boost::thread thread_
the controlling thread object
uint32_t getOutcome() const
Gets the current plugin execution outcome.
virtual void preRun()
Optional implementation-specific setup function, called right before execution.
boost::condition_variable condition_
condition variable to wake up control thread
virtual bool cancel()
Cancel the plugin execution.
virtual ~AbstractExecutionBase()
virtual void reconfigure(MoveBaseFlexConfig &_cfg)
Optional implementaiton-specific configuration function.
const std::string & getMessage() const
Gets the current plugin execution message.
std::string message_
the last received plugin execution message
Base class for running concurrent navigation tasks.
boost::cv_status waitForStateUpdate(boost::chrono::microseconds const &duration)
virtual void postRun()
Optional implementation-specific cleanup function, called right after execution.
std::string name_
the plugin name; not the plugin type!
AbstractExecutionBase(const std::string &name)
const std::string & getName() const
Returns the name of the corresponding plugin.
mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Wed Mar 2 2022 00:33:47