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
7
#include <
mc_control/fsm/Executor.h
>
8
9
namespace
mc_control
10
{
11
12
namespace
fsm
13
{
14
28
struct
MC_CONTROL_FSM_STATE_DLLAPI
MetaState
:
State
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
:
45
Executor
executor_
;
46
};
47
48
}
// namespace fsm
49
50
}
// namespace mc_control
Executor.h
mc_control::fsm::MetaState::executor_
Executor executor_
Definition:
Meta.h:45
mc_control::fsm::State
Definition:
State.h:58
mc_control::fsm::Executor
Definition:
Executor.h:32
mc_control::fsm::MetaState
Definition:
Meta.h:28
mc_control
Definition:
CompletionCriteria.h:10
MC_CONTROL_FSM_STATE_DLLAPI
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition:
api.h:50
mc_control::fsm::Controller
Definition:
Controller.h:49
include
mc_control
fsm
states
Meta.h
Generated by
1.8.17