SMACC2
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
sm_dance_bot_warehouse_2::StNavigateToWaypointsX Struct Reference

#include <st_navigate_to_waypoints_x.hpp>

Inheritance diagram for sm_dance_bot_warehouse_2::StNavigateToWaypointsX:
Inheritance graph
Collaboration diagram for sm_dance_bot_warehouse_2::StNavigateToWaypointsX:
Collaboration graph

Classes

struct  TRANSITION_1
 
struct  TRANSITION_10
 
struct  TRANSITION_11
 
struct  TRANSITION_12
 
struct  TRANSITION_13
 
struct  TRANSITION_14
 
struct  TRANSITION_2
 
struct  TRANSITION_3
 
struct  TRANSITION_4
 
struct  TRANSITION_5
 
struct  TRANSITION_6
 
struct  TRANSITION_7
 
struct  TRANSITION_8
 
struct  TRANSITION_9
 

Public Types

typedef mpl::list< Transition< EvWaypoint1< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_1 >, Transition< EvWaypoint3< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_2 >, Transition< EvWaypoint5< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_3 >, Transition< EvWaypoint7< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_5 >, Transition< EvWaypoint9< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_6 >, Transition< EvWaypoint11< ClNav2Z, OrNavigation >, StNavigateToWaypointsX, TRANSITION_9 >, Transition< EvWaypoint12< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_9 >, Transition< EvWaypoint13< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_10 >, Transition< EvWaypoint14< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_11 >, Transition< EvWaypoint15< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_12 >, Transition< EvWaypoint16< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_13 >, Transition< EvWaypoint17< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_13 >, Transition< EvWaypoint18< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_13 >, Transition< EvWaypoint19< ClNav2Z, OrNavigation >, StForwardAisle, TRANSITION_14 >, Transition< EvCbFailure< CbNavigateNextWaypoint, OrNavigation >, StNavigateToWaypointsX, ABORT > > reactions
 
- Public Types inherited from smacc2::SmaccState< StNavigateToWaypointsX, MsDanceBotRunMode >
typedef MsDanceBotRunMode TContext
 
typedef Context::inner_context_type context_type
 
typedef context_type::state_iterator state_iterator
 
typedef mpl::list<> LastDeepState
 
typedef base_type::outermost_context_base_type outermost_context_base_type
 
typedef base_type::inner_context_ptr_type inner_context_ptr_type
 
typedef base_type::context_ptr_type context_ptr_type
 
typedef base_type::inner_initial_list inner_initial_list
 

Public Member Functions

void runtimeConfigure ()
 
void onExit (ABORT)
 
- Public Member Functions inherited from smacc2::SmaccState< StNavigateToWaypointsX, MsDanceBotRunMode >
 SmaccState ()=delete
 
 SmaccState (my_context ctx)
 
virtual ~SmaccState ()
 
const smacc2::introspection::SmaccStateInfogetStateInfo ()
 
std::string getName () override
 
std::string getFullName ()
 
std::string getShortName ()
 
virtual ISmaccStategetParentState ()
 
void exit ()
 
void runtimeConfigure ()
 
void onEntry ()
 
void onExit ()
 
bool getGlobalSMData (std::string name, T &ret)
 
void setGlobalSMData (std::string name, T value)
 
void requiresComponent (SmaccComponentType *&storage)
 
virtual ISmaccStateMachinegetStateMachine ()
 
void checkWhileLoopConditionAndThrowEvent (bool(MostDerived::*conditionFn)())
 
void throwSequenceFinishedEvent ()
 
- Public Member Functions inherited from smacc2::ISmaccState
virtual ISmaccStateMachinegetStateMachine ()=0
 
virtual std::string getName ()=0
 
ISmaccStategetParentState ()
 
rclcpp::Node::SharedPtr & getNode ()
 
rclcpp::Logger getLogger ()
 
virtual std::string getClassName ()
 
template<typename TOrthogonal , typename TBehavior , typename... Args>
std::shared_ptr< TBehavior > configure (Args &&... args)
 
template<typename SmaccComponentType >
void requiresComponent (SmaccComponentType *&storage)
 
template<typename SmaccClientType >
void requiresClient (SmaccClientType *&storage)
 
template<typename T >
bool getGlobalSMData (std::string name, T &ret)
 
template<typename T >
void setGlobalSMData (std::string name, T value)
 
template<typename TStateReactor , typename TTriggerEvent , typename TEventList , typename... TEvArgs>
std::shared_ptr< TStateReactor > createStateReactor (TEvArgs... args)
 
template<typename TStateReactor , typename... TEvArgs>
std::shared_ptr< TStateReactor > createStateReactor (TEvArgs... args)
 
template<typename TEventGenerator , typename... TEvArgs>
std::shared_ptr< TEventGenerator > createEventGenerator (TEvArgs... args)
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
template<typename TransitionType >
void notifyTransition ()
 
void notifyTransitionFromTransitionTypeInfo (std::shared_ptr< smacc2::introspection::TypeInfo > &transitionTypeInfo)
 
std::vector< std::shared_ptr< StateReactor > > & getStateReactors ()
 
std::vector< std::shared_ptr< SmaccEventGenerator > > & getEventGenerators ()
 
template<typename TOrthogonal >
TOrthogonal * getOrthogonal ()
 
template<typename TEventGenerator >
TEventGenerator * getEventGenerator ()
 
template<typename TStateReactor >
TStateReactor * getStateReactor ()
 

Static Public Member Functions

static void staticConfigure ()
 
- Static Public Member Functions inherited from smacc2::SmaccState< StNavigateToWaypointsX, MsDanceBotRunMode >
static void configure_orthogonal_runtime (std::function< void(TBehavior &bh, StNavigateToWaypointsX &)> initializationFunction)
 
static void configure_orthogonal_runtime (std::function< void(TBehavior &bh)> initializationFunction)
 
static void configure_orthogonal (Args &&... args)
 
static std::shared_ptr< smacc2::introspection::StateReactorHandlerstatic_createStateReactor (TArgs... args)
 
static std::shared_ptr< smacc2::introspection::EventGeneratorHandlerstatic_createEventGenerator (TUArgs... args)
 
static std::shared_ptr< smacc2::introspection::StateReactorHandlerstatic_createStateReactor_aux (TUArgs... args)
 
static void initial_deep_construct (outermost_context_base_type &outermostContextBase)
 
static void deep_construct (const context_ptr_type &pContext, outermost_context_base_type &outermostContextBase)
 
static inner_context_ptr_type shallow_construct (const context_ptr_type &pContext, outermost_context_base_type &outermostContextBase)
 

Additional Inherited Members

- Public Attributes inherited from smacc2::SmaccState< StNavigateToWaypointsX, MsDanceBotRunMode >
bool finishStateThrown
 
mpl::list<> * smacc_inner_type
 
- Protected Attributes inherited from smacc2::ISmaccState
rclcpp::Node::SharedPtr node_
 
std::shared_ptr< rclcpp::Logger > logger_
 
std::vector< std::shared_ptr< StateReactor > > stateReactors_
 
std::vector< std::shared_ptr< smacc2::SmaccEventGenerator > > eventGenerators_
 
ISmaccStateparentState_
 
const smacc2::introspection::SmaccStateInfostateInfo_
 

Detailed Description

Definition at line 28 of file st_navigate_to_waypoints_x.hpp.

Member Typedef Documentation

◆ reactions

typedef mpl::list< Transition<EvWaypoint1<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_1>, Transition<EvWaypoint3<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_2>, Transition<EvWaypoint5<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_3>, Transition<EvWaypoint7<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_5>, Transition<EvWaypoint9<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_6>, Transition<EvWaypoint11<ClNav2Z, OrNavigation>, StNavigateToWaypointsX, TRANSITION_9>, Transition<EvWaypoint12<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_9>, Transition<EvWaypoint13<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_10>, Transition<EvWaypoint14<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_11>, Transition<EvWaypoint15<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_12>, Transition<EvWaypoint16<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_13>, Transition<EvWaypoint17<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_13>, Transition<EvWaypoint18<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_13>, Transition<EvWaypoint19<ClNav2Z, OrNavigation>, StForwardAisle, TRANSITION_14>, Transition<EvCbFailure<CbNavigateNextWaypoint, OrNavigation>, StNavigateToWaypointsX, ABORT> > sm_dance_bot_warehouse_2::StNavigateToWaypointsX::reactions

Definition at line 74 of file st_navigate_to_waypoints_x.hpp.

Member Function Documentation

◆ onExit()

void sm_dance_bot_warehouse_2::StNavigateToWaypointsX::onExit ( ABORT  )
inline

Definition at line 86 of file st_navigate_to_waypoints_x.hpp.

87 {
88
89 }

◆ runtimeConfigure()

void sm_dance_bot_warehouse_2::StNavigateToWaypointsX::runtimeConfigure ( )
inline

Definition at line 84 of file st_navigate_to_waypoints_x.hpp.

84{}

◆ staticConfigure()

static void sm_dance_bot_warehouse_2::StNavigateToWaypointsX::staticConfigure ( )
inlinestatic

Definition at line 77 of file st_navigate_to_waypoints_x.hpp.

78 {
79 configure_orthogonal<OrLED, CbLEDOn>();
80 configure_orthogonal<OrNavigation, CbNavigateNextWaypoint>();
81 configure_orthogonal<OrNavigation, CbResumeSlam>();
82 }

The documentation for this struct was generated from the following file: