#include <mc_control/fsm/states/Meta.h>
Public Member Functions | |
void | start (Controller &) override |
bool | run (Controller &) override |
void | stop (Controller &) override |
void | teardown (Controller &) override |
bool | read_msg (std::string &msg) override |
std::vector< std::vector< std::string > > | transitions () const |
std::map< std::string, mc_rtc::Configuration > | configs () const |
Public Member Functions inherited from mc_control::fsm::State | |
virtual | ~State () |
void | configure_ (const mc_rtc::Configuration &config) |
void | start_ (Controller &ctl) |
void | teardown_ (Controller &ctl) |
virtual bool | read_write_msg (std::string &, std::string &) |
const std::string & | output () const noexcept |
const std::string & | name () |
void | name (const std::string &n) |
Additional Inherited Members | |
Protected Member Functions inherited from mc_control::fsm::State | |
void | output (const std::string &o) |
virtual void | configure (const mc_rtc::Configuration &config) |
Implements a "meta" state
This states plays its own FSM.
Configuration entries:
std::map<std::string, mc_rtc::Configuration> mc_control::fsm::MetaState::configs | ( | ) | const |
|
overridevirtual |
Handle read service call
Reimplemented from mc_control::fsm::State.
|
overridevirtual |
Called every iteration until it returns true
Implements mc_control::fsm::State.
|
overridevirtual |
Called before the state starts being run
This will be called only once with the state fully configured.
Implements mc_control::fsm::State.
|
overridevirtual |
Called if the state is interrupted
Reimplemented from mc_control::fsm::State.
|
overridevirtual |
Called right before destruction
Implements mc_control::fsm::State.
std::vector<std::vector<std::string> > mc_control::fsm::MetaState::transitions | ( | ) | const |
|
protected |