Class SmaccStateInfo

Inheritance Relationships

Base Type

  • public std::enable_shared_from_this< SmaccStateInfo >

Class Documentation

class SmaccStateInfo : public std::enable_shared_from_this<SmaccStateInfo>

Public Types

typedef std::shared_ptr<SmaccStateInfo> Ptr

Public Functions

SmaccStateInfo(const std::type_info *tid, std::shared_ptr<SmaccStateInfo> parentState, std::shared_ptr<SmaccStateMachineInfo> stateMachineInfo)
SmaccStateType getStateLevel()
inline int depth() const
void getAncestors(std::list<const SmaccStateInfo*> &ancestorsList) const
std::string getFullPath()
template<typename StateType>
std::shared_ptr<SmaccStateInfo> createChildState()
template<typename EvType>
void declareTransition(std::shared_ptr<SmaccStateInfo> &dstState, std::string transitionTag, std::string transitionType, bool history, TypeInfo::Ptr transitionTypeInfo)
const std::string &toShortName() const
std::string getDemangledFullName() const
rclcpp::Node::SharedPtr getNode()
inline rclcpp::Logger getLogger()

Public Members

int stateIndex_
std::string fullStateName
std::string demangledStateName
std::shared_ptr<SmaccStateMachineInfo> stateMachine_
std::shared_ptr<SmaccStateInfo> parentState_
std::vector<SmaccTransitionInfo> transitions_
std::vector<std::shared_ptr<SmaccStateInfo>> children_
int depth_
const std::type_info *tid_

Public Static Attributes

static std::map<const std::type_info*, std::vector<ClientBehaviorInfoEntry>> staticBehaviorInfo
static std::map<const std::type_info*, std::vector<std::shared_ptr<SmaccStateReactorInfo>>> stateReactorsInfo
static std::map<const std::type_info*, std::vector<std::shared_ptr<SmaccEventGeneratorInfo>>> eventGeneratorsInfo