|
SMACC
|
Classes | |
| struct | add_type_wrapper |
| struct | AddSubState |
| struct | AddTransition |
| struct | CheckType |
| struct | ClientBehaviorInfoEntry |
| struct | EventGeneratorCallbackFunctor |
| class | EventGeneratorHandler |
| class | HasAutomaticTransitionTag |
| class | HasAutomaticTransitionType |
| class | HasEventLabel |
| class | HasOnDefinition |
| struct | SmaccEventGeneratorInfo |
| struct | SmaccEventInfo |
| class | SmaccStateInfo |
| class | SmaccStateMachineInfo |
| struct | SmaccStateReactorInfo |
| struct | SmaccTransitionInfo |
| struct | StateReactorCallbackFunctor |
| class | StateReactorHandler |
| struct | type_ |
| class | TypeInfo |
| struct | typelist |
| struct | WalkStatesExecutor |
Typedefs | |
| typedef std::allocator< boost::statechart::none > | SmaccAllocator |
| typedef boost::mpl::list< SUCCESS, ABORT, PREEMPT, CONTINUELOOP, ENDLOOP > | DEFAULT_TRANSITION_TYPES |
Enumerations | |
| enum class | SmaccStateType { SUPERSTATE = 2 , STATE = 1 , SUPERSTATE_ROUTINE = 1 } |
Functions | |
| void | transitionInfoToMsg (const SmaccTransitionInfo &transition, smacc_msgs::SmaccTransition &transitionMsg) |
| template<class T > | |
| auto | optionalNodeHandle (boost::intrusive_ptr< T > &obj) -> ros::NodeHandle |
| template<class T > | |
| auto | optionalNodeHandle (T *) -> ros::NodeHandle |
| std::string | demangleSymbol (const std::string &name) |
| std::string | demangleSymbol (const char *name) |
| template<typename T > | |
| std::string | demangleSymbol () |
| template<class T > | |
| std::string | demangledTypeName () |
| std::string | demangleType (const std::type_info *tinfo) |
| std::string | demangleType (const std::type_info &tinfo) |
| template<typename T > | |
| std::enable_if< HasEventLabel< T >::value, void >::type | EventLabel (std::string &label) |
| template<typename T > | |
| std::enable_if<!HasEventLabel< T >::value, void >::type | EventLabel (std::string &label) |
| template<typename T > | |
| std::enable_if< HasAutomaticTransitionTag< T >::value, void >::type | automaticTransitionTag (std::string &transition_name) |
| template<typename T > | |
| std::enable_if<!HasAutomaticTransitionTag< T >::value, void >::type | automaticTransitionTag (std::string &transition_name) |
| template<typename T > | |
| std::enable_if< HasAutomaticTransitionType< T >::value, void >::type | automaticTransitionType (std::string &transition_type) |
| template<typename T > | |
| std::enable_if<!HasAutomaticTransitionType< T >::value, void >::type | automaticTransitionType (std::string &transition_type) |
| template<typename TTransition > | |
| static std::string | getTransitionType () |
| template<typename T > | |
| disable_if< boost::mpl::is_sequence< T > >::type | processSubState (std::shared_ptr< SmaccStateInfo > &parentState) |
| template<typename T > | |
| enable_if< boost::mpl::is_sequence< T > >::type | processSubState (std::shared_ptr< SmaccStateInfo > &parentState) |
| template<typename T > | |
| enable_if< boost::mpl::is_sequence< T > >::type | processTransitions (std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename Ev , typename Dst , typename Tag > | |
| void | processTransition (smacc::Transition< Ev, boost::statechart::deep_history< Dst >, Tag > *, std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename Ev , typename Dst , typename Tag > | |
| void | processTransition (smacc::Transition< Ev, Dst, Tag > *t, std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename Ev , typename Dst , typename Tag > | |
| void | processTransitionAux (smacc::Transition< Ev, Dst, Tag > *, std::shared_ptr< SmaccStateInfo > &sourceState, bool history, TypeInfo::Ptr &transitionTypeInfo) |
| template<typename Ev , typename Dst > | |
| void | processTransition (statechart::transition< Ev, Dst > *, std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename Ev > | |
| void | processTransition (statechart::custom_reaction< Ev > *, std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename T > | |
| disable_if< boost::mpl::is_sequence< T > >::type | processTransitions (std::shared_ptr< SmaccStateInfo > &sourceState) |
| template<typename T > | |
| std::enable_if< HasOnDefinition< T >::value, void >::type | CallOnDefinition () |
| template<typename T > | |
| std::enable_if<!HasOnDefinition< T >::value, void >::type | CallOnDefinition () |
| bool | replace (std::string &str, const std::string &from, const std::string &to) |
| std::string | replace_back (std::string roottype, std::vector< std::pair< std::string, std::string > > &orderedtypesdict) |
| typedef boost::mpl::list<SUCCESS, ABORT, PREEMPT, CONTINUELOOP, ENDLOOP> smacc::introspection::DEFAULT_TRANSITION_TYPES |
Definition at line 204 of file introspection.h.
| typedef std::allocator<boost::statechart::none> smacc::introspection::SmaccAllocator |
Definition at line 36 of file introspection.h.
|
strong |
| Enumerator | |
|---|---|
| SUPERSTATE | |
| STATE | |
| SUPERSTATE_ROUTINE | |
Definition at line 129 of file smacc_state_info.h.
| std::enable_if< HasAutomaticTransitionTag< T >::value, void >::type smacc::introspection::automaticTransitionTag | ( | std::string & | transition_name | ) |
Definition at line 157 of file introspection.h.
| std::enable_if<!HasAutomaticTransitionTag< T >::value, void >::type smacc::introspection::automaticTransitionTag | ( | std::string & | transition_name | ) |
Definition at line 164 of file introspection.h.
| std::enable_if< HasAutomaticTransitionType< T >::value, void >::type smacc::introspection::automaticTransitionType | ( | std::string & | transition_type | ) |
Definition at line 191 of file introspection.h.
| std::enable_if<!HasAutomaticTransitionType< T >::value, void >::type smacc::introspection::automaticTransitionType | ( | std::string & | transition_type | ) |
Definition at line 198 of file introspection.h.
| std::enable_if< HasOnDefinition< T >::value, void >::type smacc::introspection::CallOnDefinition | ( | ) |
Definition at line 344 of file smacc_state_machine_info.h.
References demangleSymbol().

| std::enable_if<!HasOnDefinition< T >::value, void >::type smacc::introspection::CallOnDefinition | ( | ) |
Definition at line 353 of file smacc_state_machine_info.h.
References demangleSymbol().

|
inline |
Definition at line 81 of file introspection.h.
References demangleSymbol().

|
inline |
Definition at line 75 of file introspection.h.
References demangleSymbol().
Referenced by smacc::introspection::SmaccStateMachineInfo::assembleSMStructureMessage(), CallOnDefinition(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::configure_orthogonal_internal(), demangledTypeName(), demangleSymbol(), demangleType(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::entryStateInternal(), smacc::ISmaccState::getClassName(), smacc::introspection::SmaccStateInfo::getDemangledFullName(), cl_multirole_sensor::CbDefaultMultiRoleSensorBehavior< ClientType >::getEventLabel(), smacc::introspection::SmaccEventInfo::getEventSourceName(), smacc::introspection::SmaccEventInfo::getEventTypeName(), smacc::introspection::TypeInfo::getFromStdTypeInfo(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::getFullName(), smacc::ISmaccComponent::getName(), smacc::ISmaccClient::getName(), smacc::ISmaccClientBehavior::getName(), smacc::ISmaccOrthogonal::getName(), smacc::introspection::SmaccEventInfo::getOrthogonalName(), smacc::ISmaccStateMachine::getStateMachineName(), smacc::ISmaccStateMachine::mapBehavior(), smacc::ISmaccStateMachine::notifyOnStateEntryEnd(), smacc::ISmaccStateMachine::notifyOnStateEntryStart(), smacc::ISmaccStateMachine::notifyOnStateExited(), smacc::ISmaccStateMachine::notifyOnStateExitting(), cl_move_group_interface::CbMoveEndEffectorTrajectory::onEntry(), smacc::state_reactors::SrAllEventsGo::onEventNotified(), smacc::state_reactors::SrEventCountdown::onEventNotified(), cl_keyboard::ClKeyboard::postKeyEvent(), cl_keyboard::CbDefaultKeyboardBehavior::postKeyEvent(), smacc::client_bases::SmaccActionClientBase< ActionType >::postResultEvent(), processTransitionAux(), smacc::ISmaccState::requiresClient(), and smacc::ISmaccStateMachine::requiresComponent().


|
inline |
Definition at line 56 of file introspection.h.
|
inline |
Definition at line 51 of file introspection.h.
References demangleSymbol().

|
inline |
Definition at line 91 of file introspection.h.
References demangleSymbol().

|
inline |
Definition at line 86 of file introspection.h.
References demangleSymbol().
Referenced by smacc::introspection::StateReactorHandler::addInputEvent(), smacc::Orthogonal< TOrthogonal >::createClient(), smacc::SignalDetector::findUpdatableClients(), smacc::SignalDetector::findUpdatableStateElements(), smacc::client_bases::SmaccActionClientBase< ActionType >::onOrthogonalAllocation(), smacc::SignalDetector::pollOnce(), and smacc::introspection::StateReactorHandler::setOutputEvent().


| std::enable_if< HasEventLabel< T >::value, void >::type smacc::introspection::EventLabel | ( | std::string & | label | ) |
Definition at line 123 of file introspection.h.
| std::enable_if<!HasEventLabel< T >::value, void >::type smacc::introspection::EventLabel | ( | std::string & | label | ) |
Definition at line 130 of file introspection.h.
|
static |
Definition at line 243 of file introspection.h.
| auto smacc::introspection::optionalNodeHandle | ( | boost::intrusive_ptr< T > & | obj | ) | -> ros::NodeHandle |
Definition at line 39 of file introspection.h.
Referenced by smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::SmaccState().

| auto smacc::introspection::optionalNodeHandle | ( | T * | ) | -> ros::NodeHandle |
Definition at line 46 of file introspection.h.
| disable_if< boost::mpl::is_sequence< T > >::type smacc::introspection::processSubState | ( | std::shared_ptr< SmaccStateInfo > & | parentState | ) |
Definition at line 111 of file smacc_state_machine_info.h.
References smacc::introspection::WalkStatesExecutor< InitialStateType >::walkStates().

| enable_if< boost::mpl::is_sequence< T > >::type smacc::introspection::processSubState | ( | std::shared_ptr< SmaccStateInfo > & | parentState | ) |
Definition at line 119 of file smacc_state_machine_info.h.
| void smacc::introspection::processTransition | ( | smacc::Transition< Ev, boost::statechart::deep_history< Dst >, Tag > * | , |
| std::shared_ptr< SmaccStateInfo > & | sourceState | ||
| ) |
Definition at line 140 of file smacc_state_machine_info.h.
References processTransitionAux().
Referenced by processTransitions().


| void smacc::introspection::processTransition | ( | smacc::Transition< Ev, Dst, Tag > * | t, |
| std::shared_ptr< SmaccStateInfo > & | sourceState | ||
| ) |
Definition at line 148 of file smacc_state_machine_info.h.
References processTransitionAux().

| void smacc::introspection::processTransition | ( | statechart::custom_reaction< Ev > * | , |
| std::shared_ptr< SmaccStateInfo > & | sourceState | ||
| ) |
Definition at line 257 of file smacc_state_machine_info.h.
| void smacc::introspection::processTransition | ( | statechart::transition< Ev, Dst > * | , |
| std::shared_ptr< SmaccStateInfo > & | sourceState | ||
| ) |
Definition at line 251 of file smacc_state_machine_info.h.
| void smacc::introspection::processTransitionAux | ( | smacc::Transition< Ev, Dst, Tag > * | , |
| std::shared_ptr< SmaccStateInfo > & | sourceState, | ||
| bool | history, | ||
| TypeInfo::Ptr & | transitionTypeInfo | ||
| ) |
Definition at line 155 of file smacc_state_machine_info.h.
References demangleSymbol(), and smacc::introspection::WalkStatesExecutor< InitialStateType >::walkStates().
Referenced by processTransition().


| enable_if< boost::mpl::is_sequence< T > >::type smacc::introspection::processTransitions | ( | std::shared_ptr< SmaccStateInfo > & | sourceState | ) |
Definition at line 130 of file smacc_state_machine_info.h.
| disable_if< boost::mpl::is_sequence< T > >::type smacc::introspection::processTransitions | ( | std::shared_ptr< SmaccStateInfo > & | sourceState | ) |
Definition at line 267 of file smacc_state_machine_info.h.
References processTransition().

| bool smacc::introspection::replace | ( | std::string & | str, |
| const std::string & | from, | ||
| const std::string & | to | ||
| ) |
Definition at line 27 of file string_type_walker.cpp.
Referenced by smacc::introspection::TypeInfo::getTypeInfoFromString(), and replace_back().

| std::string smacc::introspection::replace_back | ( | std::string | roottype, |
| std::vector< std::pair< std::string, std::string > > & | orderedtypesdict | ||
| ) |
Definition at line 36 of file string_type_walker.cpp.
References replace().
Referenced by smacc::introspection::TypeInfo::getTypeInfoFromString().


| void smacc::introspection::transitionInfoToMsg | ( | const SmaccTransitionInfo & | transition, |
| smacc_msgs::SmaccTransition & | transitionMsg | ||
| ) |
Definition at line 9 of file reflection.cpp.
References smacc::introspection::SmaccTransitionInfo::destinyState, smacc::introspection::SmaccTransitionInfo::eventInfo, smacc::introspection::SmaccTransitionInfo::historyNode, smacc::introspection::SmaccTransitionInfo::index, smacc::introspection::SmaccTransitionInfo::sourceState, smacc::introspection::SmaccTransitionInfo::transitionTag, and smacc::introspection::SmaccTransitionInfo::transitionType.
Referenced by smacc::introspection::SmaccStateMachineInfo::assembleSMStructureMessage(), and smacc::ISmaccStateMachine::publishTransition().
