SMACC
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
introspection.h File Reference
#include <boost/statechart/state.hpp>
#include <boost/statechart/simple_state.hpp>
#include <boost/statechart/event.hpp>
#include <ros/ros.h>
#include <typeinfo>
#include <boost/mpl/list.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/transform.hpp>
#include <smacc/smacc_types.h>
#include <smacc/introspection/string_type_walker.h>
#include <smacc/introspection/smacc_state_info.h>
#include <smacc_msgs/SmaccTransition.h>
#include <smacc/introspection/smacc_state_machine_info.h>
Include dependency graph for introspection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  smacc::introspection::typelist<... >
 
class  smacc::introspection::HasEventLabel< T >
 
class  smacc::introspection::HasAutomaticTransitionTag< T >
 
class  smacc::introspection::HasAutomaticTransitionType< T >
 
struct  smacc::introspection::type_< T >
 
struct  smacc::introspection::add_type_wrapper< T >
 
struct  smacc::introspection::CheckType< TTransition >
 

Namespaces

namespace  smacc
 
namespace  smacc::introspection
 

Typedefs

typedef std::allocator< boost::statechart::none > smacc::introspection::SmaccAllocator
 
typedef boost::mpl::list< SUCCESS, ABORT, PREEMPT, CONTINUELOOP, ENDLOOP > smacc::introspection::DEFAULT_TRANSITION_TYPES
 

Functions

void smacc::introspection::transitionInfoToMsg (const SmaccTransitionInfo &transition, smacc_msgs::SmaccTransition &transitionMsg)
 
template<class T >
auto smacc::introspection::optionalNodeHandle (boost::intrusive_ptr< T > &obj) -> ros::NodeHandle
 
template<class T >
auto smacc::introspection::optionalNodeHandle (T *) -> ros::NodeHandle
 
std::string smacc::introspection::demangleSymbol (const std::string &name)
 
std::string smacc::introspection::demangleSymbol (const char *name)
 
template<typename T >
std::string smacc::introspection::demangleSymbol ()
 
template<class T >
std::string smacc::introspection::demangledTypeName ()
 
std::string smacc::introspection::demangleType (const std::type_info *tinfo)
 
std::string smacc::introspection::demangleType (const std::type_info &tinfo)
 
template<typename T >
std::enable_if< HasEventLabel< T >::value, void >::type smacc::introspection::EventLabel (std::string &label)
 
template<typename T >
std::enable_if<!HasEventLabel< T >::value, void >::type smacc::introspection::EventLabel (std::string &label)
 
template<typename T >
std::enable_if< HasAutomaticTransitionTag< T >::value, void >::type smacc::introspection::automaticTransitionTag (std::string &transition_name)
 
template<typename T >
std::enable_if<!HasAutomaticTransitionTag< T >::value, void >::type smacc::introspection::automaticTransitionTag (std::string &transition_name)
 
template<typename T >
std::enable_if< HasAutomaticTransitionType< T >::value, void >::type smacc::introspection::automaticTransitionType (std::string &transition_type)
 
template<typename T >
std::enable_if<!HasAutomaticTransitionType< T >::value, void >::type smacc::introspection::automaticTransitionType (std::string &transition_type)
 
template<typename TTransition >
static std::string smacc::introspection::getTransitionType ()