Meta.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
8 
9 namespace mc_control
10 {
11 
12 namespace fsm
13 {
14 
29 {
30  void start(Controller &) override;
31 
32  bool run(Controller &) override;
33 
34  void stop(Controller &) override;
35 
36  void teardown(Controller &) override;
37 
38  bool read_msg(std::string & msg) override;
39 
40  std::vector<std::vector<std::string>> transitions() const;
41 
42  std::map<std::string, mc_rtc::Configuration> configs() const;
43 
44 protected:
46 };
47 
48 } // namespace fsm
49 
50 } // namespace mc_control
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition: api.h:50
Definition: CompletionCriteria.h:11
Definition: Controller.h:50
Definition: Executor.h:33
Definition: Meta.h:29
std::vector< std::vector< std::string > > transitions() const
void teardown(Controller &) override
void stop(Controller &) override
bool read_msg(std::string &msg) override
Executor executor_
Definition: Meta.h:45
bool run(Controller &) override
void start(Controller &) override
std::map< std::string, mc_rtc::Configuration > configs() const
Definition: State.h:59