Classes | Namespaces | Macros | Typedefs
run_permitted_state_machine.h File Reference
#include <queue>
#include <string>
#include <ros/ros.h>
#include <boost/msm/back/state_machine.hpp>
#include <boost/msm/front/functor_row.hpp>
#include <boost/msm/front/state_machine_def.hpp>
#include <boost/core/demangle.hpp>
#include <ros/console.h>
#include <prbt_hardware_support/service_function_decl.h>
#include <prbt_hardware_support/utils.h>
Include dependency graph for run_permitted_state_machine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  prbt_hardware_support::AsyncRunPermittedTask
 An AsyncRunPermittedTask is represented by a task execution and a completion signalling. More...
 
struct  prbt_hardware_support::RunPermittedStateMachine_::EnableRequestedDuringStop
 
struct  prbt_hardware_support::RunPermittedStateMachine_::Enabling
 
struct  prbt_hardware_support::RunPermittedStateMachine_::halt_done
 
struct  prbt_hardware_support::RunPermittedStateMachine_::halt_start
 Pushes the halt-task on the task queue. More...
 
struct  prbt_hardware_support::RunPermittedStateMachine_::hold_done
 
struct  prbt_hardware_support::RunPermittedStateMachine_::hold_start
 Pushes the hold-task on the task queue. More...
 
struct  prbt_hardware_support::RunPermittedStateMachine_::recover_done
 
struct  prbt_hardware_support::RunPermittedStateMachine_::recover_start
 Pushes the recover-task on the task queue. More...
 
struct  prbt_hardware_support::RunPermittedStateMachine_::RobotActive
 
struct  prbt_hardware_support::RunPermittedStateMachine_::RobotInactive
 
struct  prbt_hardware_support::RunPermittedStateMachine_::run_permitted_false
 
struct  prbt_hardware_support::RunPermittedStateMachine_::run_permitted_true
 
struct  prbt_hardware_support::RunPermittedStateMachine_::run_permitted_updated
 Holds the updated run_permitted value. More...
 
class  prbt_hardware_support::RunPermittedStateMachine_
 Front-end state machine. More...
 
struct  prbt_hardware_support::RunPermittedStateMachine_::Stopping
 
struct  prbt_hardware_support::RunPermittedStateMachine_::StopRequestedDuringEnable
 
struct  prbt_hardware_support::RunPermittedStateMachine_::transition_table
 
struct  prbt_hardware_support::RunPermittedStateMachine_::unhold_done
 
struct  prbt_hardware_support::RunPermittedStateMachine_::unhold_start
 Pushes the unhold-task on the task queue. More...
 

Namespaces

 prbt_hardware_support
 

Macros

#define ACTION_OUTPUT
 
#define COLOR_GREEN   "\033[32m"
 
#define COLOR_GREEN_BOLD   "\033[1;32m"
 
#define STATE_ENTER_OUTPUT
 
#define STATE_EXIT_OUTPUT
 

Typedefs

typedef msm::back::state_machine< RunPermittedStateMachine_ > prbt_hardware_support::RunPermittedStateMachine
 The top-level (back-end) state machine. More...
 
using prbt_hardware_support::RunPermittedTaskQueue = std::queue< AsyncRunPermittedTask >
 Define the task queue type. More...
 

Macro Definition Documentation

◆ ACTION_OUTPUT

#define ACTION_OUTPUT
Value:
ROS_DEBUG_STREAM_NAMED("RunPermittedStateMachine", \
"Event: " << className(boost::core::demangle(typeid(ev).name())) \
<< " - Action: " << className(boost::core::demangle(typeid(*this).name())));
#define ROS_DEBUG_STREAM_NAMED(name, args)
std::string className(std::string full_name)
Definition: utils.h:24

Definition at line 49 of file run_permitted_state_machine.h.

◆ COLOR_GREEN

#define COLOR_GREEN   "\033[32m"

Definition at line 37 of file run_permitted_state_machine.h.

◆ COLOR_GREEN_BOLD

#define COLOR_GREEN_BOLD   "\033[1;32m"

Definition at line 38 of file run_permitted_state_machine.h.

◆ STATE_ENTER_OUTPUT

#define STATE_ENTER_OUTPUT
Value:
ROS_DEBUG_STREAM_NAMED("RunPermittedStateMachine", \
"Event: " << className(boost::core::demangle(typeid(ev).name())) \
<< " - Entering: " << COLOR_GREEN_BOLD \
<< className(boost::core::demangle(typeid(*this).name())) << COLOR_GREEN);
#define ROS_DEBUG_STREAM_NAMED(name, args)
#define COLOR_GREEN
std::string className(std::string full_name)
Definition: utils.h:24
#define COLOR_GREEN_BOLD

Definition at line 40 of file run_permitted_state_machine.h.

◆ STATE_EXIT_OUTPUT

#define STATE_EXIT_OUTPUT
Value:
ROS_DEBUG_STREAM_NAMED("RunPermittedStateMachine", \
"Event: " << className(boost::core::demangle(typeid(ev).name())) \
<< " - Leaving: " << className(boost::core::demangle(typeid(*this).name())));
#define ROS_DEBUG_STREAM_NAMED(name, args)
std::string className(std::string full_name)
Definition: utils.h:24

Definition at line 45 of file run_permitted_state_machine.h.



prbt_hardware_support
Author(s):
autogenerated on Wed Oct 28 2020 03:12:07