SMACC
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1/*****************************************************************************************************************
2 * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
3 * Authors: Pablo Inigo Blasco, Brett Aldrich
4 *
5 ******************************************************************************************************************/
6#pragma once
7
8#include <boost/statechart/state.hpp>
9#include <boost/statechart/simple_state.hpp>
10#include <boost/statechart/event.hpp>
11#include <boost/statechart/asynchronous_state_machine.hpp>
12#include <boost/statechart/custom_reaction.hpp>
13#include <boost/statechart/deep_history.hpp>
14
15#include <boost/config.hpp>
16#include <boost/intrusive_ptr.hpp>
17#include <boost/function.hpp>
18#include <boost/signals2.hpp>
19#include <boost/mpl/list.hpp>
20#include <boost/statechart/deep_history.hpp>
21#include <boost/any.hpp>
22#include <boost/algorithm/string.hpp>
23
24#include <mutex>
25
26#include <ros/ros.h>
27//#include <actionlib/client/simple_action_client.h>
28
30#include <smacc/smacc_types.h>
32
33typedef boost::statechart::processor_container<boost::statechart::fifo_scheduler<>, boost::function0<void>, std::allocator<void>>::processor_context my_context;
34namespace smacc
35{
36
37namespace utils
38{
39// demangles the type name to be used as a node handle path
40std::string cleanShortTypeName(const std::type_info &tinfo);
41} // namespace utils
42
43enum class SMRunMode
44{
45 DEBUG,
47};
48
49} // namespace smacc
50
boost::statechart::processor_container< boost::statechart::fifo_scheduler<>, boost::function0< void >, std::allocator< void > >::processor_context my_context
Definition: common.h:33
std::string cleanShortTypeName(const std::type_info &tinfo)
Definition: common.cpp:14
SMRunMode
Definition: common.h:44