|
SMACC2
|
#include <smacc_state_machine_info.hpp>


Public Member Functions | |
| SmaccStateMachineInfo (rclcpp::Node::SharedPtr nh) | |
| template<typename InitialStateType > | |
| void | buildStateMachineInfo () |
| template<typename StateType > | |
| std::shared_ptr< SmaccStateInfo > | createState (std::shared_ptr< SmaccStateInfo > parent) |
| template<typename StateType > | |
| bool | containsState () |
| template<typename StateType > | |
| std::shared_ptr< SmaccStateInfo > | getState () |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () |
| template<typename StateType > | |
| void | addState (std::shared_ptr< StateType > &state) |
| void | assembleSMStructureMessage (ISmaccStateMachine *sm) |
Public Attributes | |
| std::map< std::string, std::shared_ptr< SmaccStateInfo > > | states |
| std::vector< smacc2_msgs::msg::SmaccState > | stateMsgs |
Private Attributes | |
| rclcpp::Node::SharedPtr | nh_ |
Definition at line 44 of file smacc_state_machine_info.hpp.
|
inlineexplicit |
Definition at line 47 of file smacc_state_machine_info.hpp.
| void smacc2::introspection::SmaccStateMachineInfo::addState | ( | std::shared_ptr< StateType > & | state | ) |
Definition at line 468 of file smacc_state_machine_info.hpp.
References states.
Referenced by createState().

| void smacc2::SmaccStateMachineInfo::assembleSMStructureMessage | ( | ISmaccStateMachine * | sm | ) |
Definition at line 26 of file smacc_state_machine_info.cpp.
References smacc2::introspection::demangleSymbol(), smacc2::introspection::SmaccStateInfo::eventGeneratorsInfo, getLogger(), smacc2::ISmaccStateMachine::getOrthogonals(), stateMsgs, smacc2::introspection::SmaccStateInfo::stateReactorsInfo, states, smacc2::introspection::SmaccStateInfo::staticBehaviorInfo, and smacc2::introspection::transitionInfoToMsg().

| void smacc2::introspection::SmaccStateMachineInfo::buildStateMachineInfo | ( | ) |
Definition at line 436 of file smacc_state_machine_info.hpp.
References createState(), and smacc2::introspection::WalkStatesExecutor< InitialStateType >::walkStates().

|
inline |
Definition at line 60 of file smacc_state_machine_info.hpp.
References states.
Referenced by getState().

| std::shared_ptr< SmaccStateInfo > smacc2::introspection::SmaccStateMachineInfo::createState | ( | std::shared_ptr< SmaccStateInfo > | parent | ) |
Definition at line 443 of file smacc_state_machine_info.hpp.
References addState(), smacc2::introspection::demangledTypeName(), getLogger(), and states.
Referenced by buildStateMachineInfo().


|
inline |
Definition at line 79 of file smacc_state_machine_info.hpp.
References nh_.
Referenced by assembleSMStructureMessage(), and createState().

|
inline |
|
inline |
Definition at line 68 of file smacc_state_machine_info.hpp.
References containsState().

|
private |
Definition at line 86 of file smacc_state_machine_info.hpp.
Referenced by getLogger(), and getNode().
| std::vector<smacc2_msgs::msg::SmaccState> smacc2::introspection::SmaccStateMachineInfo::stateMsgs |
Definition at line 51 of file smacc_state_machine_info.hpp.
Referenced by assembleSMStructureMessage().
| std::map<std::string, std::shared_ptr<SmaccStateInfo> > smacc2::introspection::SmaccStateMachineInfo::states |
Definition at line 49 of file smacc_state_machine_info.hpp.
Referenced by addState(), assembleSMStructureMessage(), containsState(), createState(), and smacc2::SmaccState< MostDerived, Context, InnerInitial, historyMode >::getStateInfo().