Class ISmaccState
Defined in File smacc_state.hpp
Inheritance Relationships
Derived Type
public smacc2::SmaccState< MostDerived, Context, InnerInitial, historyMode >
(Template Class SmaccState)
Class Documentation
-
class ISmaccState
Subclassed by smacc2::SmaccState< MostDerived, Context, InnerInitial, historyMode >
Public Functions
-
virtual ISmaccStateMachine &getStateMachine() = 0
-
virtual std::string getName() = 0
-
inline ISmaccState *getParentState()
-
inline rclcpp::Node::SharedPtr &getNode()
-
inline rclcpp::Logger getLogger()
-
virtual std::string getClassName()
-
template<typename SmaccComponentType>
void requiresComponent(SmaccComponentType *&storage)
-
template<typename SmaccClientType>
void requiresClient(SmaccClientType *&storage)
-
template<typename EventType>
void postEvent()
-
template<typename TransitionType>
void notifyTransition()
-
inline std::vector<std::shared_ptr<StateReactor>> &getStateReactors()
-
inline std::vector<std::shared_ptr<SmaccEventGenerator>> &getEventGenerators()
-
template<typename TOrthogonal>
TOrthogonal *getOrthogonal()
-
template<typename TOrthogonal, typename TClientBehavior>
TClientBehavior *getClientBehavior(int index = 0)
-
template<typename TEventGenerator>
TEventGenerator *getEventGenerator()
-
template<typename TStateReactor>
TStateReactor *getStateReactor()
Protected Attributes
-
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_
-
ISmaccState *parentState_
-
const smacc2::introspection::SmaccStateInfo *stateInfo_
-
virtual ISmaccStateMachine &getStateMachine() = 0