SMACC
Loading...
Searching...
No Matches
smacc
include
smacc
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
29
#include <
smacc/smacc_fifo_scheduler.h
>
30
#include <
smacc/smacc_types.h
>
31
#include <
smacc/introspection/introspection.h
>
32
33
typedef
boost::statechart::processor_container<boost::statechart::fifo_scheduler<>, boost::function0<void>, std::allocator<void>>::processor_context
my_context
;
34
namespace
smacc
35
{
36
37
namespace
utils
38
{
39
// demangles the type name to be used as a node handle path
40
std::string
cleanShortTypeName
(
const
std::type_info &tinfo);
41
}
// namespace utils
42
43
enum class
SMRunMode
44
{
45
DEBUG
,
46
RELEASE
47
};
48
49
}
// namespace smacc
50
51
#include <
smacc/smacc_default_events.h
>
52
#include <
smacc/smacc_transition.h
>
my_context
boost::statechart::processor_container< boost::statechart::fifo_scheduler<>, boost::function0< void >, std::allocator< void > >::processor_context my_context
Definition:
common.h:33
introspection.h
smacc::utils::cleanShortTypeName
std::string cleanShortTypeName(const std::type_info &tinfo)
Definition:
common.cpp:14
smacc
Definition:
callback_counter_semaphore.h:17
smacc::SMRunMode
SMRunMode
Definition:
common.h:44
smacc::SMRunMode::RELEASE
@ RELEASE
smacc::SMRunMode::DEBUG
@ DEBUG
smacc_default_events.h
smacc_fifo_scheduler.h
smacc_transition.h
smacc_types.h
Generated by
1.9.5