Public Member Functions | Protected Member Functions | List of all members
DummyExecutionBase Struct Reference
Inheritance diagram for DummyExecutionBase:
Inheritance graph
[legend]

Public Member Functions

bool cancel ()
 Cancel the plugin execution. More...
 
 DummyExecutionBase (const std::string &_name)
 
- Public Member Functions inherited from mbf_abstract_nav::AbstractExecutionBase
 AbstractExecutionBase (const std::string &name)
 
const std::string & getMessage () const
 Gets the current plugin execution message. More...
 
const std::string & getName () const
 Returns the name of the corresponding plugin. More...
 
uint32_t getOutcome () const
 Gets the current plugin execution outcome. More...
 
void join ()
 
virtual void postRun ()
 Optional implementation-specific cleanup function, called right after execution. More...
 
virtual void preRun ()
 Optional implementation-specific setup function, called right before execution. More...
 
virtual void reconfigure (MoveBaseFlexConfig &_cfg)
 Optional implementaiton-specific configuration function. More...
 
virtual bool start ()
 
virtual void stop ()
 
boost::cv_status waitForStateUpdate (boost::chrono::microseconds const &duration)
 
virtual ~AbstractExecutionBase ()
 

Protected Member Functions

void run ()
 

Additional Inherited Members

- Protected Attributes inherited from mbf_abstract_nav::AbstractExecutionBase
bool cancel_
 flag for canceling controlling More...
 
boost::condition_variable condition_
 condition variable to wake up control thread More...
 
std::string message_
 the last received plugin execution message More...
 
std::string name_
 the plugin name; not the plugin type! More...
 
uint32_t outcome_
 the last received plugin execution outcome More...
 
boost::thread thread_
 the controlling thread object More...
 

Detailed Description

Definition at line 10 of file test/abstract_execution_base.cpp.

Constructor & Destructor Documentation

◆ DummyExecutionBase()

DummyExecutionBase::DummyExecutionBase ( const std::string &  _name)
inline

Definition at line 12 of file test/abstract_execution_base.cpp.

Member Function Documentation

◆ cancel()

bool DummyExecutionBase::cancel ( )
inlinevirtual

Cancel the plugin execution.

Returns
true, if the plugin tries / tried to cancel the computation.

Reimplemented from mbf_abstract_nav::AbstractExecutionBase.

Definition at line 17 of file test/abstract_execution_base.cpp.

◆ run()

void DummyExecutionBase::run ( )
inlineprotectedvirtual

Reimplemented from mbf_abstract_nav::AbstractExecutionBase.

Definition at line 25 of file test/abstract_execution_base.cpp.


The documentation for this struct was generated from the following file:


mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Wed Mar 2 2022 00:33:47