Message.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2020 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
7 #include <mc_control/fsm/State.h>
8 
9 namespace mc_control
10 {
11 
12 namespace fsm
13 {
14 
23 {
24  void configure(const mc_rtc::Configuration & config) override;
25 
26  void start(Controller &) override;
27 
28  bool run(Controller &) override;
29 
30  void teardown(Controller &) override;
31 
32 protected:
33  std::string prefix_;
34  std::string message_;
35  std::string logType_ = "info";
36  bool gui_ = false;
37  std::vector<std::string> guiCategory_;
38  std::string labelName_;
39 };
40 
41 } // namespace fsm
42 
43 } // namespace mc_control
mc_rtc::Configuration
Simplify access to values hold within a JSON file.
Definition: Configuration.h:165
mc_control::fsm::MessageState::prefix_
std::string prefix_
Definition: Message.h:33
mc_control::fsm::MessageState::guiCategory_
std::vector< std::string > guiCategory_
Definition: Message.h:37
mc_control::fsm::State
Definition: State.h:58
mc_control::fsm::MessageState
Definition: Message.h:22
mc_control::fsm::MessageState::labelName_
std::string labelName_
Definition: Message.h:38
mc_control
Definition: CompletionCriteria.h:10
mc_control::fsm::MessageState::message_
std::string message_
Definition: Message.h:34
State.h
MC_CONTROL_FSM_STATE_DLLAPI
#define MC_CONTROL_FSM_STATE_DLLAPI
Definition: api.h:50
mc_control::fsm::Controller
Definition: Controller.h:49